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()151 int sge_bytes; in send_write() local184 sge_bytes = min_t(size_t, in send_write()186 sge[sge_no].length = sge_bytes; in send_write()189 sge_bytes, DMA_TO_DEVICE); in send_write()190 xdr_off += sge_bytes; in send_write()204 bc -= sge_bytes; in send_write()[all …]
1133 int sge_bytes; in megasas_get_frame_count() local1167 sge_bytes = sge_sz * num_cnt; in megasas_get_frame_count()1169 frame_count = (sge_bytes / MEGAMFI_FRAME_SIZE) + in megasas_get_frame_count()1170 ((sge_bytes % MEGAMFI_FRAME_SIZE) ? 1 : 0) ; in megasas_get_frame_count()