Home
last modified time | relevance | path

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

/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_rw.c437 unsigned int sge_no, sge_bytes, page_off, page_no; in svc_rdma_pagelist_to_sg() local
450 sge_bytes = min_t(unsigned int, remaining, in svc_rdma_pagelist_to_sg()
452 sg_set_page(sg, *page, sge_bytes, page_off); in svc_rdma_pagelist_to_sg()
454 remaining -= sge_bytes; in svc_rdma_pagelist_to_sg()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_rx.c472 u32 sge_bytes; /* data bytes avail for SGE */ in siw_proc_send() local
483 sge_bytes = min(data_bytes, sge->length - frx->sge_off); in siw_proc_send()
492 frx->sge_off, sge_bytes); in siw_proc_send()
503 sge->laddr + frx->sge_off, sge_bytes); in siw_proc_send()
504 if (unlikely(rv != sge_bytes)) { in siw_proc_send()
H A Dsiw_qp_tx.c380 int sge_bytes = min(sge->length - offset, size); in siw_0copy_tx() local
385 rv = siw_tcp_sendpages(s, &page[i], offset, sge_bytes); in siw_0copy_tx()
388 if (size == sent || sge_bytes > rv) in siw_0copy_tx()
391 i += PAGE_ALIGN(sge_bytes + offset) >> PAGE_SHIFT; in siw_0copy_tx()
393 sge_bytes = min(sge->length, size - sent); in siw_0copy_tx()