/kernel/linux/linux-5.10/include/rdma/ |
H A D | rdmavt_mr.h | 70 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()
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | rdmavt_mr.h | 70 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
H A D | trace_mr.h | 134 __field(u32, sge_length) 149 __entry->sge_length = sge->sge_length; 157 "[%s] mr %p sge %p isge %p vaddr %p ivaddr %llx lkey %x sge_length %u length %u ilength %u m %u n %u user %u", 165 __entry->sge_length,
|
H A D | mr.c | 734 last_sge->sge_length += sge->length; in rvt_sge_adjacent() 786 isge->sge_length = sge->length; in rvt_lkey_ok() 840 isge->sge_length = sge->length; in rvt_lkey_ok() 896 sge->sge_length = len; in rvt_rkey_ok() 947 sge->sge_length = len; in rvt_rkey_ok()
|
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/ |
H A D | trace_mr.h | 92 __field(u32, sge_length) 107 __entry->sge_length = sge->sge_length; 115 "[%s] mr %p sge %p isge %p vaddr %p ivaddr %llx lkey %x sge_length %u length %u ilength %u m %u n %u user %u", 123 __entry->sge_length,
|
H A D | mr.c | 693 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_rc.c | 113 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()
|
H A D | qib_ud.c | 181 sge->sge_length -= len; in qib_ud_loopback() 182 if (sge->sge_length == 0) { in qib_ud_loopback()
|
H A D | qib_verbs.c | 156 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 D | qib_uc.c | 435 qp->r_sge.sge.sge_length = 0; in qib_uc_rcv()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_rc.c | 113 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 D | qib_ud.c | 181 sge->sge_length -= len; in qib_ud_loopback() 182 if (sge->sge_length == 0) { in qib_ud_loopback()
|
H A D | qib_verbs.c | 156 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 D | qib_uc.c | 436 qp->r_sge.sge.sge_length = 0; in qib_uc_rcv()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | rc.c | 187 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() 2631 if (unlikely(offset + len != e->rdma_sge.sge_length)) in rc_rcv_error() 2646 e->rdma_sge.sge_length = 0; in rc_rcv_error() 3038 qp->r_sge.sge.sge_length = 0; in hfi1_rc_rcv() 3096 e->rdma_sge.sge_length = 0; in hfi1_rc_rcv()
|
H A D | trace_tid.h | 1331 __field(u32, sge_length) 1338 __entry->sge_length = sge->sge_length; 1341 "[%s] qpn 0x%x sge %d: vaddr 0x%llx sge_length %u", 1346 __entry->sge_length
|
H A D | tid_rdma.c | 1095 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() 3264 sge->sge_length & ~PAGE_MASK) in hfi1_check_sge_align() 3883 epriv->ss.sge.sge_length = resp_len; in hfi1_build_tid_rdma_write_resp() 3884 epriv->ss.sge.length = epriv->ss.sge.sge_length; in hfi1_build_tid_rdma_write_resp() 3894 epriv->ss.total_len = epriv->ss.sge.sge_length; in hfi1_build_tid_rdma_write_resp()
|
H A D | uc.c | 510 qp->r_sge.sge.sge_length = 0; in hfi1_uc_rcv()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | rc.c | 145 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 D | trace_tid.h | 1331 __field(u32, sge_length) 1338 __entry->sge_length = sge->sge_length; 1341 "[%s] qpn 0x%x sge %d: vaddr 0x%llx sge_length %u", 1346 __entry->sge_length
|
H A D | tid_rdma.c | 1102 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 D | uc.c | 464 qp->r_sge.sge.sge_length = 0; in hfi1_uc_rcv()
|