Home
last modified time | relevance | path

Searched refs:s_cur (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/hfi1/
Duc.c72 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in hfi1_make_uc_req()
80 if (qp->s_cur == READ_ONCE(qp->s_head)) { in hfi1_make_uc_req()
93 if (qp->s_last != qp->s_cur) in hfi1_make_uc_req()
95 if (++qp->s_cur == qp->s_size) in hfi1_make_uc_req()
96 qp->s_cur = 0; in hfi1_make_uc_req()
138 if (++qp->s_cur >= qp->s_size) in hfi1_make_uc_req()
139 qp->s_cur = 0; in hfi1_make_uc_req()
167 if (++qp->s_cur >= qp->s_size) in hfi1_make_uc_req()
168 qp->s_cur = 0; in hfi1_make_uc_req()
197 if (++qp->s_cur >= qp->s_size) in hfi1_make_uc_req()
[all …]
Drc.c469 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in hfi1_make_rc_req()
483 if (qp->s_cur == qp->s_tail) { in hfi1_make_rc_req()
511 if (qp->s_last != qp->s_cur) in hfi1_make_rc_req()
513 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
514 qp->s_cur = 0; in hfi1_make_rc_req()
581 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
582 qp->s_cur = 0; in hfi1_make_rc_req()
618 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
619 qp->s_cur = 0; in hfi1_make_rc_req()
640 priv->s_tid_cur = qp->s_cur; in hfi1_make_rc_req()
[all …]
Dud.c466 if (qp->s_cur == READ_ONCE(qp->s_head)) in hfi1_make_ud_req()
469 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in hfi1_make_ud_req()
470 next_cur = qp->s_cur + 1; in hfi1_make_ud_req()
498 qp->s_cur = next_cur; in hfi1_make_ud_req()
508 qp->s_cur = next_cur; in hfi1_make_ud_req()
Dqp.c588 qp->s_acked == qp->s_cur && in qp_idle()
589 qp->s_cur == qp->s_tail && in qp_idle()
634 qp->s_last, qp->s_acked, qp->s_cur, in qp_iter_print()
Dtrace_tid.h874 __field(u32, s_cur)
892 __entry->s_cur = qp->s_cur;
912 __entry->s_cur,
Dtid_rdma.c2422 end = qp->s_cur + 1; in find_tid_request()
3217 s_prev = (qp->s_cur == 0 ? qp->s_size : qp->s_cur) - 1; in hfi1_tid_rdma_wqe_interlock()
3245 if (qp->s_acked != qp->s_cur) in hfi1_tid_rdma_wqe_interlock()
/linux-5.19.10/drivers/infiniband/hw/qib/
Dqib_uc.c85 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in qib_make_uc_req()
93 if (qp->s_cur == READ_ONCE(qp->s_head)) in qib_make_uc_req()
125 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req()
126 qp->s_cur = 0; in qib_make_uc_req()
154 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req()
155 qp->s_cur = 0; in qib_make_uc_req()
183 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req()
184 qp->s_cur = 0; in qib_make_uc_req()
208 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req()
209 qp->s_cur = 0; in qib_make_uc_req()
Dqib_rc.c276 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in qib_make_rc_req()
289 if (qp->s_cur == qp->s_tail) { in qib_make_rc_req()
335 if (++qp->s_cur == qp->s_size) in qib_make_rc_req()
336 qp->s_cur = 0; in qib_make_rc_req()
371 if (++qp->s_cur == qp->s_size) in qib_make_rc_req()
372 qp->s_cur = 0; in qib_make_rc_req()
401 if (++qp->s_cur == qp->s_size) in qib_make_rc_req()
402 qp->s_cur = 0; in qib_make_rc_req()
441 if (++qp->s_cur == qp->s_size) in qib_make_rc_req()
442 qp->s_cur = 0; in qib_make_rc_req()
[all …]
Dqib_ud.c264 if (qp->s_cur == READ_ONCE(qp->s_head)) in qib_make_ud_req()
267 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in qib_make_ud_req()
268 next_cur = qp->s_cur + 1; in qib_make_ud_req()
298 qp->s_cur = next_cur; in qib_make_ud_req()
308 qp->s_cur = next_cur; in qib_make_ud_req()
Dqib_qp.c448 qp->s_last, qp->s_acked, qp->s_cur, in qib_qp_iter_print()
/linux-5.19.10/drivers/infiniband/sw/rdmavt/
Dqp.c855 qp->s_cur = 0; in rvt_init_qp()
1544 qp->s_draining = qp->s_last != qp->s_cur; in rvt_modify_qp()
1951 qp->s_head, qp->s_tail, qp->s_cur, in rvt_qp_is_avail()
2796 if (qp->s_cur == old_last) in rvt_send_complete()
2797 qp->s_cur = last; in rvt_send_complete()
2800 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in rvt_send_complete()
2960 if (sqp->s_last == sqp->s_cur) { in rvt_ruc_loopback()
2961 if (++sqp->s_cur >= sqp->s_size) in rvt_ruc_loopback()
2962 sqp->s_cur = 0; in rvt_ruc_loopback()
/linux-5.19.10/include/rdma/
Drdmavt_qp.h419 u32 s_cur; /* current work queue entry */ member