Home
last modified time | relevance | path

Searched refs:sge_length (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/include/rdma/
Drdmavt_mr.h112 u32 sge_length; /* length of the SGE */ member
150 if (len > sge->sge_length) in rvt_get_sge_length()
151 len = sge->sge_length; in rvt_get_sge_length()
163 sge->sge_length -= length; in rvt_update_sge()
164 if (sge->sge_length == 0) { in rvt_update_sge()
/Linux-v4.19/drivers/infiniband/sw/rdmavt/
Dtrace_mr.h118 __field(u32, sge_length)
133 __entry->sge_length = sge->sge_length;
149 __entry->sge_length,
Dmr.c890 last_sge->sge_length += sge->length; in rvt_sge_adjacent()
942 isge->sge_length = sge->length; in rvt_lkey_ok()
996 isge->sge_length = sge->length; in rvt_lkey_ok()
1052 sge->sge_length = len; in rvt_rkey_ok()
1103 sge->sge_length = len; in rvt_rkey_ok()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ud.c179 if (len > sge->sge_length) in qib_ud_loopback()
180 len = sge->sge_length; in qib_ud_loopback()
185 sge->sge_length -= len; in qib_ud_loopback()
186 if (sge->sge_length == 0) { in qib_ud_loopback()
Dqib_verbs.c172 if (len > sge.sge_length) in qib_count_sge()
173 len = sge.sge_length; in qib_count_sge()
183 sge.sge_length -= len; in qib_count_sge()
184 if (sge.sge_length == 0) { in qib_count_sge()
215 if (len > sge->sge_length) in qib_copy_from_sge()
216 len = sge->sge_length; in qib_copy_from_sge()
221 sge->sge_length -= len; in qib_copy_from_sge()
222 if (sge->sge_length == 0) { in qib_copy_from_sge()
471 if (len > ss->sge.sge_length) in copy_io()
472 len = ss->sge.sge_length; in copy_io()
Dqib_ruc.c354 if (len > sge->sge_length) in qib_ruc_loopback()
355 len = sge->sge_length; in qib_ruc_loopback()
360 sge->sge_length -= len; in qib_ruc_loopback()
361 if (sge->sge_length == 0) { in qib_ruc_loopback()
Dqib_sdma.c573 if (len > sge->sge_length) in qib_sdma_verbs_send()
574 len = sge->sge_length; in qib_sdma_verbs_send()
598 sge->sge_length -= len; in qib_sdma_verbs_send()
599 if (sge->sge_length == 0) { in qib_sdma_verbs_send()
Dqib_rc.c118 len = e->rdma_sge.sge_length; in qib_make_rc_ack()
163 len = qp->s_ack_rdma_sge.sge.sge_length; in qib_make_rc_ack()
1625 if (unlikely(offset + len != e->rdma_sge.sge_length)) in qib_rc_rcv_error()
1643 e->rdma_sge.sge_length = 0; in qib_rc_rcv_error()
1946 qp->r_sge.sge.sge_length = 0; in qib_rc_rcv()
2007 e->rdma_sge.sge_length = 0; in qib_rc_rcv()
Dqib_uc.c436 qp->r_sge.sge.sge_length = 0; in qib_uc_rcv()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Druc.c361 if (len > sge->sge_length) in ruc_loopback()
362 len = sge->sge_length; in ruc_loopback()
367 sge->sge_length -= len; in ruc_loopback()
368 if (sge->sge_length == 0) { in ruc_loopback()
Dud.c228 if (len > sge->sge_length) in ud_loopback()
229 len = sge->sge_length; in ud_loopback()
234 sge->sge_length -= len; in ud_loopback()
235 if (sge->sge_length == 0) { in ud_loopback()
Drc.c145 len = e->rdma_sge.sge_length; in make_rc_ack()
190 len = qp->s_ack_rdma_sge.sge.sge_length; in make_rc_ack()
1851 if (unlikely(offset + len != e->rdma_sge.sge_length)) in rc_rcv_error()
1869 e->rdma_sge.sge_length = 0; in rc_rcv_error()
2268 qp->r_sge.sge.sge_length = 0; in hfi1_rc_rcv()
2329 e->rdma_sge.sge_length = 0; in hfi1_rc_rcv()
Duc.c510 qp->r_sge.sge.sge_length = 0; in hfi1_uc_rcv()
Dverbs.c780 if (len > ss->sge.sge_length) in build_verbs_ulp_payload()
781 len = ss->sge.sge_length; in build_verbs_ulp_payload()