Home
last modified time | relevance | path

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

/openbmc/linux/include/rdma/
H A Drdmavt_mr.h70 u32 sge_length; /* length of the SGE */ member
108 if (len > sge->sge_length) in rvt_get_sge_length()
109 len = sge->sge_length; in rvt_get_sge_length()
121 sge->sge_length -= length; in rvt_update_sge()
122 if (sge->sge_length == 0) { in rvt_update_sge()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dtrace_mr.h92 __field(u32, sge_length)
107 __entry->sge_length = sge->sge_length;
123 __entry->sge_length,
H A Dmr.c693 last_sge->sge_length += sge->length; in rvt_sge_adjacent()
745 isge->sge_length = sge->length; in rvt_lkey_ok()
799 isge->sge_length = sge->length; in rvt_lkey_ok()
855 sge->sge_length = len; in rvt_rkey_ok()
906 sge->sge_length = len; in rvt_rkey_ok()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_ud.c181 sge->sge_length -= len; in qib_ud_loopback()
182 if (sge->sge_length == 0) { in qib_ud_loopback()
H A 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()
1601 if (unlikely(offset + len != e->rdma_sge.sge_length)) in qib_rc_rcv_error()
1619 e->rdma_sge.sge_length = 0; in qib_rc_rcv_error()
1921 qp->r_sge.sge.sge_length = 0; in qib_rc_rcv()
1982 e->rdma_sge.sge_length = 0; in qib_rc_rcv()
H A Dqib_verbs.c156 sge.sge_length -= len; in qib_count_sge()
157 if (sge.sge_length == 0) { in qib_count_sge()
189 sge->sge_length -= len; in qib_copy_from_sge()
190 if (sge->sge_length == 0) { in qib_copy_from_sge()
H A Dqib_uc.c436 qp->r_sge.sge.sge_length = 0; in qib_uc_rcv()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Drc.c145 len = e->rdma_sge.sge_length; in make_rc_ack()
194 len = e->rdma_sge.sge_length; in make_rc_ack()
234 len = qp->s_ack_rdma_sge.sge.sge_length; in make_rc_ack()
2590 if (unlikely(offset + len != e->rdma_sge.sge_length)) in rc_rcv_error()
2605 e->rdma_sge.sge_length = 0; in rc_rcv_error()
2997 qp->r_sge.sge.sge_length = 0; in hfi1_rc_rcv()
3055 e->rdma_sge.sge_length = 0; in hfi1_rc_rcv()
H A Dtrace_tid.h1331 __field(u32, sge_length)
1338 __entry->sge_length = sge->sge_length;
1346 __entry->sge_length
H A Dtid_rdma.c1102 sge->sge_length -= len; in kern_find_pages()
1103 if (!sge->sge_length) { in kern_find_pages()
1728 wpriv->ss.sge.sge_length = req_len; in hfi1_build_tid_rdma_read_packet()
1729 wpriv->ss.sge.length = wpriv->ss.sge.sge_length; in hfi1_build_tid_rdma_read_packet()
1739 wpriv->ss.total_len = wpriv->ss.sge.sge_length; in hfi1_build_tid_rdma_read_packet()
3276 sge->sge_length & ~PAGE_MASK) in hfi1_check_sge_align()
3895 epriv->ss.sge.sge_length = resp_len; in hfi1_build_tid_rdma_write_resp()
3896 epriv->ss.sge.length = epriv->ss.sge.sge_length; in hfi1_build_tid_rdma_write_resp()
3906 epriv->ss.total_len = epriv->ss.sge.sge_length; in hfi1_build_tid_rdma_write_resp()
H A Duc.c464 qp->r_sge.sge.sge_length = 0; in hfi1_uc_rcv()