Searched refs:s_cur (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/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 | 331 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in hfi1_make_rc_req() 344 if (qp->s_cur == qp->s_tail) { in hfi1_make_rc_req() 368 if (qp->s_last != qp->s_cur) in hfi1_make_rc_req() 370 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req() 371 qp->s_cur = 0; in hfi1_make_rc_req() 432 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req() 433 qp->s_cur = 0; in hfi1_make_rc_req() 472 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req() 473 qp->s_cur = 0; in hfi1_make_rc_req() 502 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req() [all …]
|
D | ruc.c | 222 if (sqp->s_last == sqp->s_cur) { in ruc_loopback() 223 if (++sqp->s_cur >= sqp->s_size) in ruc_loopback() 224 sqp->s_cur = 0; in ruc_loopback() 954 if (qp->s_cur == old_last) in hfi1_send_complete() 955 qp->s_cur = last; in hfi1_send_complete() 958 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in hfi1_send_complete()
|
D | ud.c | 526 if (qp->s_cur == READ_ONCE(qp->s_head)) in hfi1_make_ud_req() 529 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in hfi1_make_ud_req() 530 next_cur = qp->s_cur + 1; in hfi1_make_ud_req() 558 qp->s_cur = next_cur; in hfi1_make_ud_req() 568 qp->s_cur = next_cur; in hfi1_make_ud_req()
|
D | qp.c | 540 qp->s_acked == qp->s_cur && in qp_idle() 541 qp->s_cur == qp->s_tail && in qp_idle() 586 qp->s_last, qp->s_acked, qp->s_cur, in qp_iter_print()
|
/Linux-v4.19/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 | 280 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in qib_make_rc_req() 293 if (qp->s_cur == qp->s_tail) { in qib_make_rc_req() 342 if (++qp->s_cur == qp->s_size) in qib_make_rc_req() 343 qp->s_cur = 0; in qib_make_rc_req() 381 if (++qp->s_cur == qp->s_size) in qib_make_rc_req() 382 qp->s_cur = 0; in qib_make_rc_req() 411 if (++qp->s_cur == qp->s_size) in qib_make_rc_req() 412 qp->s_cur = 0; in qib_make_rc_req() 451 if (++qp->s_cur == qp->s_size) in qib_make_rc_req() 452 qp->s_cur = 0; in qib_make_rc_req() [all …]
|
D | qib_ud.c | 268 if (qp->s_cur == READ_ONCE(qp->s_head)) in qib_make_ud_req() 271 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in qib_make_ud_req() 272 next_cur = qp->s_cur + 1; in qib_make_ud_req() 302 qp->s_cur = next_cur; in qib_make_ud_req() 312 qp->s_cur = next_cur; in qib_make_ud_req()
|
D | qib_ruc.c | 238 if (sqp->s_last == sqp->s_cur) { in qib_ruc_loopback() 239 if (++sqp->s_cur >= sqp->s_size) in qib_ruc_loopback() 240 sqp->s_cur = 0; in qib_ruc_loopback() 648 if (qp->s_cur == old_last) in qib_send_complete() 649 qp->s_cur = last; in qib_send_complete() 652 if (qp->state == IB_QPS_SQD && last == qp->s_cur) in qib_send_complete()
|
D | qib_qp.c | 451 qp->s_last, qp->s_acked, qp->s_cur, in qib_qp_iter_print()
|
/Linux-v4.19/include/rdma/ |
D | rdmavt_qp.h | 359 u32 s_cur; /* current work queue entry */ member
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 668 qp->s_cur = 0; in rvt_init_qp() 1297 qp->s_draining = qp->s_last != qp->s_cur; in rvt_modify_qp() 1709 qp->s_head, qp->s_tail, qp->s_cur, in rvt_qp_is_avail()
|