Lines Matching refs:s_cur
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()
503 qp->s_cur = 0; in hfi1_make_rc_req()
542 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
543 qp->s_cur = 0; in hfi1_make_rc_req()
605 qp->s_cur++; in hfi1_make_rc_req()
606 if (qp->s_cur >= qp->s_size) in hfi1_make_rc_req()
607 qp->s_cur = 0; in hfi1_make_rc_req()
645 qp->s_cur++; in hfi1_make_rc_req()
646 if (qp->s_cur >= qp->s_size) in hfi1_make_rc_req()
647 qp->s_cur = 0; in hfi1_make_rc_req()
673 qp->s_cur++; in hfi1_make_rc_req()
674 if (qp->s_cur == qp->s_size) in hfi1_make_rc_req()
675 qp->s_cur = 0; in hfi1_make_rc_req()
954 qp->s_cur = n; in reset_psn()
978 qp->s_cur = n; in reset_psn()
1251 if (qp->s_acked == qp->s_cur) { in do_rc_completion()
1252 if (++qp->s_cur >= qp->s_size) in do_rc_completion()
1253 qp->s_cur = 0; in do_rc_completion()
1254 qp->s_acked = qp->s_cur; in do_rc_completion()
1255 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in do_rc_completion()
1263 if (qp->state == IB_QPS_SQD && qp->s_acked == qp->s_cur) in do_rc_completion()