Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/infiniband/sw/rdmavt/
Dtrace_mr.h134 __field(u32, sge_length)
149 __entry->sge_length = sge->sge_length;
165 __entry->sge_length,
Dmr.c891 last_sge->sge_length += sge->length; in rvt_sge_adjacent()
943 isge->sge_length = sge->length; in rvt_lkey_ok()
997 isge->sge_length = sge->length; in rvt_lkey_ok()
1053 sge->sge_length = len; in rvt_rkey_ok()
1104 sge->sge_length = len; in rvt_rkey_ok()
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_ud.c181 sge->sge_length -= len; in qib_ud_loopback()
182 if (sge->sge_length == 0) { in qib_ud_loopback()
Dqib_rc.c113 len = e->rdma_sge.sge_length; in qib_make_rc_ack()
158 len = qp->s_ack_rdma_sge.sge.sge_length; in qib_make_rc_ack()
1598 if (unlikely(offset + len != e->rdma_sge.sge_length)) in qib_rc_rcv_error()
1616 e->rdma_sge.sge_length = 0; in qib_rc_rcv_error()
1918 qp->r_sge.sge.sge_length = 0; in qib_rc_rcv()
1979 e->rdma_sge.sge_length = 0; in qib_rc_rcv()
Dqib_verbs.c157 sge.sge_length -= len; in qib_count_sge()
158 if (sge.sge_length == 0) { in qib_count_sge()
190 sge->sge_length -= len; in qib_copy_from_sge()
191 if (sge->sge_length == 0) { in qib_copy_from_sge()
Dqib_uc.c435 qp->r_sge.sge.sge_length = 0; in qib_uc_rcv()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Drc.c187 len = e->rdma_sge.sge_length; in make_rc_ack()
236 len = e->rdma_sge.sge_length; in make_rc_ack()
276 len = qp->s_ack_rdma_sge.sge.sge_length; in make_rc_ack()
2632 if (unlikely(offset + len != e->rdma_sge.sge_length)) in rc_rcv_error()
2647 e->rdma_sge.sge_length = 0; in rc_rcv_error()
3039 qp->r_sge.sge.sge_length = 0; in hfi1_rc_rcv()
3097 e->rdma_sge.sge_length = 0; in hfi1_rc_rcv()
Dtrace_tid.h1331 __field(u32, sge_length)
1338 __entry->sge_length = sge->sge_length;
1346 __entry->sge_length
Dtid_rdma.c1095 sge->sge_length -= len; in kern_find_pages()
1096 if (!sge->sge_length) { in kern_find_pages()
1721 wpriv->ss.sge.sge_length = req_len; in hfi1_build_tid_rdma_read_packet()
1722 wpriv->ss.sge.length = wpriv->ss.sge.sge_length; in hfi1_build_tid_rdma_read_packet()
1732 wpriv->ss.total_len = wpriv->ss.sge.sge_length; in hfi1_build_tid_rdma_read_packet()
3263 sge->sge_length & ~PAGE_MASK) in hfi1_check_sge_align()
3882 epriv->ss.sge.sge_length = resp_len; in hfi1_build_tid_rdma_write_resp()
3883 epriv->ss.sge.length = epriv->ss.sge.sge_length; in hfi1_build_tid_rdma_write_resp()
3893 epriv->ss.total_len = epriv->ss.sge.sge_length; in hfi1_build_tid_rdma_write_resp()
Duc.c510 qp->r_sge.sge.sge_length = 0; in hfi1_uc_rcv()