Searched refs:s_cur (Results 1 – 12 of 12) sorted by relevance
/linux-5.19.10/drivers/infiniband/hw/hfi1/ |
D | uc.c | 72 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 …]
|
D | rc.c | 469 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 …]
|
D | ud.c | 466 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()
|
D | qp.c | 588 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()
|
D | trace_tid.h | 874 __field(u32, s_cur) 892 __entry->s_cur = qp->s_cur; 912 __entry->s_cur,
|
D | tid_rdma.c | 2422 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/ |
D | qib_uc.c | 85 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()
|
D | qib_rc.c | 276 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 …]
|
D | qib_ud.c | 264 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()
|
D | qib_qp.c | 448 qp->s_last, qp->s_acked, qp->s_cur, in qib_qp_iter_print()
|
/linux-5.19.10/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 855 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/ |
D | rdmavt_qp.h | 419 u32 s_cur; /* current work queue entry */ member
|