Home
last modified time | relevance | path

Searched refs:sge_bytes (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/net/sunrpc/xprtrdma/
Dsvc_rdma_rw.c371 unsigned int sge_no, sge_bytes, page_off, page_no; in svc_rdma_pagelist_to_sg() local
384 sge_bytes = min_t(unsigned int, remaining, in svc_rdma_pagelist_to_sg()
386 sg_set_page(sg, *page, sge_bytes, page_off); in svc_rdma_pagelist_to_sg()
388 remaining -= sge_bytes; in svc_rdma_pagelist_to_sg()
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_qp_rx.c457 u32 sge_bytes; /* data bytes avail for SGE */ in siw_proc_send() local
468 sge_bytes = min(data_bytes, sge->length - frx->sge_off); in siw_proc_send()
477 frx->sge_off, sge_bytes); in siw_proc_send()
490 sge_bytes); in siw_proc_send()
493 sge->laddr + frx->sge_off, sge_bytes); in siw_proc_send()
496 sge->laddr + frx->sge_off, sge_bytes); in siw_proc_send()
498 if (unlikely(rv != sge_bytes)) { in siw_proc_send()
Dsiw_qp_tx.c374 int sge_bytes = min(sge->length - offset, size); in siw_0copy_tx() local
379 rv = siw_tcp_sendpages(s, &page[i], offset, sge_bytes); in siw_0copy_tx()
382 if (size == sent || sge_bytes > rv) in siw_0copy_tx()
385 i += PAGE_ALIGN(sge_bytes + offset) >> PAGE_SHIFT; in siw_0copy_tx()
387 sge_bytes = min(sge->length, size - sent); in siw_0copy_tx()
/Linux-v5.4/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1325 int sge_bytes; in megasas_get_frame_count() local
1359 sge_bytes = sge_sz * num_cnt; in megasas_get_frame_count()
1361 frame_count = (sge_bytes / MEGAMFI_FRAME_SIZE) + in megasas_get_frame_count()
1362 ((sge_bytes % MEGAMFI_FRAME_SIZE) ? 1 : 0) ; in megasas_get_frame_count()