Searched refs:s_cur (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | uc.c | 113 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in hfi1_make_uc_req() 121 if (qp->s_cur == READ_ONCE(qp->s_head)) { in hfi1_make_uc_req() 134 if (qp->s_last != qp->s_cur) in hfi1_make_uc_req() 136 if (++qp->s_cur == qp->s_size) in hfi1_make_uc_req() 137 qp->s_cur = 0; in hfi1_make_uc_req() 179 if (++qp->s_cur >= qp->s_size) in hfi1_make_uc_req() 180 qp->s_cur = 0; in hfi1_make_uc_req() 208 if (++qp->s_cur >= qp->s_size) in hfi1_make_uc_req() 209 qp->s_cur = 0; in hfi1_make_uc_req() 238 if (++qp->s_cur >= qp->s_size) in hfi1_make_uc_req() [all …]
|
D | rc.c | 510 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in hfi1_make_rc_req() 524 if (qp->s_cur == qp->s_tail) { in hfi1_make_rc_req() 552 if (qp->s_last != qp->s_cur) in hfi1_make_rc_req() 554 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req() 555 qp->s_cur = 0; in hfi1_make_rc_req() 622 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req() 623 qp->s_cur = 0; in hfi1_make_rc_req() 659 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req() 660 qp->s_cur = 0; in hfi1_make_rc_req() 681 priv->s_tid_cur = qp->s_cur; in hfi1_make_rc_req() [all …]
|
D | ud.c | 507 if (qp->s_cur == READ_ONCE(qp->s_head)) in hfi1_make_ud_req() 510 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in hfi1_make_ud_req() 511 next_cur = qp->s_cur + 1; in hfi1_make_ud_req() 539 qp->s_cur = next_cur; in hfi1_make_ud_req() 549 qp->s_cur = next_cur; in hfi1_make_ud_req()
|
D | qp.c | 629 qp->s_acked == qp->s_cur && in qp_idle() 630 qp->s_cur == qp->s_tail && in qp_idle() 675 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 | 2415 end = qp->s_cur + 1; in find_tid_request() 3208 s_prev = (qp->s_cur == 0 ? qp->s_size : qp->s_cur) - 1; in hfi1_tid_rdma_wqe_interlock() 3235 if (qp->s_acked != qp->s_cur) in hfi1_tid_rdma_wqe_interlock()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
D | qib_uc.c | 84 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in qib_make_uc_req() 92 if (qp->s_cur == READ_ONCE(qp->s_head)) in qib_make_uc_req() 124 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req() 125 qp->s_cur = 0; in qib_make_uc_req() 153 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req() 154 qp->s_cur = 0; in qib_make_uc_req() 182 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req() 183 qp->s_cur = 0; in qib_make_uc_req() 207 if (++qp->s_cur >= qp->s_size) in qib_make_uc_req() 208 qp->s_cur = 0; in qib_make_uc_req()
|
D | qib_rc.c | 275 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in qib_make_rc_req() 288 if (qp->s_cur == qp->s_tail) { in qib_make_rc_req() 334 if (++qp->s_cur == qp->s_size) in qib_make_rc_req() 335 qp->s_cur = 0; in qib_make_rc_req() 370 if (++qp->s_cur == qp->s_size) in qib_make_rc_req() 371 qp->s_cur = 0; in qib_make_rc_req() 400 if (++qp->s_cur == qp->s_size) in qib_make_rc_req() 401 qp->s_cur = 0; in qib_make_rc_req() 440 if (++qp->s_cur == qp->s_size) in qib_make_rc_req() 441 qp->s_cur = 0; in qib_make_rc_req() [all …]
|
D | qib_ud.c | 263 if (qp->s_cur == READ_ONCE(qp->s_head)) in qib_make_ud_req() 266 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in qib_make_ud_req() 267 next_cur = qp->s_cur + 1; in qib_make_ud_req() 297 qp->s_cur = next_cur; in qib_make_ud_req() 307 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 894 qp->s_cur = 0; in rvt_init_qp() 1597 qp->s_draining = qp->s_last != qp->s_cur; in rvt_modify_qp() 2003 qp->s_head, qp->s_tail, qp->s_cur, in rvt_qp_is_avail() 2847 if (qp->s_cur == old_last) in rvt_send_complete() 2848 qp->s_cur = last; in rvt_send_complete() 2851 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in rvt_send_complete() 3011 if (sqp->s_last == sqp->s_cur) { in rvt_ruc_loopback() 3012 if (++sqp->s_cur >= sqp->s_size) in rvt_ruc_loopback() 3013 sqp->s_cur = 0; in rvt_ruc_loopback()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | rdmavt_qp.h | 419 u32 s_cur; /* current work queue entry */ member
|