• Home
  • Raw
  • Download

Lines Matching refs:s_cur

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()
683 priv->s_tid_tail = qp->s_cur; in hfi1_make_rc_req()
723 priv->s_tid_tail = qp->s_cur; in hfi1_make_rc_req()
727 priv->s_tid_cur = qp->s_cur; in hfi1_make_rc_req()
739 if (priv->s_tid_tail == qp->s_cur && in hfi1_make_rc_req()
745 priv->s_tid_head = qp->s_cur; in hfi1_make_rc_req()
766 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
767 qp->s_cur = 0; in hfi1_make_rc_req()
794 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
795 qp->s_cur = 0; in hfi1_make_rc_req()
868 ++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
869 qp->s_cur = 0; in hfi1_make_rc_req()
909 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
910 qp->s_cur = 0; in hfi1_make_rc_req()
977 qp->s_cur++; in hfi1_make_rc_req()
978 if (qp->s_cur >= qp->s_size) in hfi1_make_rc_req()
979 qp->s_cur = 0; in hfi1_make_rc_req()
1017 qp->s_cur++; in hfi1_make_rc_req()
1018 if (qp->s_cur >= qp->s_size) in hfi1_make_rc_req()
1019 qp->s_cur = 0; in hfi1_make_rc_req()
1045 qp->s_cur++; in hfi1_make_rc_req()
1046 if (qp->s_cur == qp->s_size) in hfi1_make_rc_req()
1047 qp->s_cur = 0; in hfi1_make_rc_req()
1071 priv->s_tid_cur = qp->s_cur; in hfi1_make_rc_req()
1072 if (++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
1073 qp->s_cur = 0; in hfi1_make_rc_req()
1126 ++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
1127 qp->s_cur = 0; in hfi1_make_rc_req()
1141 qp->s_cur == qp->s_tail) { in hfi1_make_rc_req()
1143 if (delta == 0 || qp->s_cur == qp->s_tail) in hfi1_make_rc_req()
1169 ++qp->s_cur == qp->s_size) in hfi1_make_rc_req()
1170 qp->s_cur = 0; in hfi1_make_rc_req()
1508 qp->s_cur = n; in reset_psn()
1535 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in reset_psn()
1538 qp->s_cur = n; in reset_psn()
1924 if (qp->s_acked == qp->s_cur) { in do_rc_completion()
1925 if (++qp->s_cur >= qp->s_size) in do_rc_completion()
1926 qp->s_cur = 0; in do_rc_completion()
1927 qp->s_acked = qp->s_cur; in do_rc_completion()
1928 wqe = rvt_get_swqe_ptr(qp, qp->s_cur); in do_rc_completion()
1936 if (qp->state == IB_QPS_SQD && qp->s_acked == qp->s_cur) in do_rc_completion()
1985 qp->s_cur = qpriv->s_tid_cur + 1; in update_qp_retry_state()
1986 if (qp->s_cur >= qp->s_size) in update_qp_retry_state()
1987 qp->s_cur = 0; in update_qp_retry_state()
1990 qp->s_cur = qpriv->s_tid_cur; in update_qp_retry_state()
2154 if (qp->s_cur != qp->s_tail && in do_rc_ack()