Searched refs:sge_bytes (Results 1 – 2 of 2) sorted by relevance
58 u32 sge_bytes; in map_xdr() local84 sge_bytes = min_t(u32, page_bytes, (PAGE_SIZE - page_off)); in map_xdr()85 page_bytes -= sge_bytes; in map_xdr()86 vec->sge[sge_no].iov_len = sge_bytes; in map_xdr()224 int sge_bytes; in send_write() local257 sge_bytes = min_t(size_t, in send_write()259 sge[sge_no].length = sge_bytes; in send_write()262 sge_bytes, DMA_TO_DEVICE); in send_write()263 xdr_off += sge_bytes; in send_write()277 bc -= sge_bytes; in send_write()[all …]
1201 int sge_bytes; in megasas_get_frame_count() local1235 sge_bytes = sge_sz * num_cnt; in megasas_get_frame_count()1237 frame_count = (sge_bytes / MEGAMFI_FRAME_SIZE) + in megasas_get_frame_count()1238 ((sge_bytes % MEGAMFI_FRAME_SIZE) ? 1 : 0) ; in megasas_get_frame_count()