Lines Matching refs:s_cur
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()
239 qp->s_cur = 0; in hfi1_make_uc_req()
264 if (++qp->s_cur >= qp->s_size) in hfi1_make_uc_req()
265 qp->s_cur = 0; in hfi1_make_uc_req()