Lines Matching refs:s_tail
524 if (qp->s_cur == qp->s_tail) { in hfi1_make_rc_req()
526 if (qp->s_tail == READ_ONCE(qp->s_head)) { in hfi1_make_rc_req()
556 if (++qp->s_tail == qp->s_size) in hfi1_make_rc_req()
557 qp->s_tail = 0; in hfi1_make_rc_req()
924 qp->s_tail++; in hfi1_make_rc_req()
925 if (qp->s_tail >= qp->s_size) in hfi1_make_rc_req()
926 qp->s_tail = 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()
1529 if (n == qp->s_tail) in reset_psn()
1697 if (n == qp->s_tail) in reset_sending_psn()
1791 head = qp->s_tail; in hfi1_rc_send_complete()
1929 if (qp->s_acked != qp->s_tail) { in do_rc_completion()
2107 if (qp->s_acked == qp->s_tail) in do_rc_ack()
2122 } else if (qp->s_acked != qp->s_tail) { in do_rc_ack()
2154 if (qp->s_cur != qp->s_tail && in do_rc_ack()
2206 if (qp->s_acked == qp->s_tail) in do_rc_ack()
2241 if (qp->s_acked == qp->s_tail) in do_rc_ack()
2394 if (unlikely(qp->s_acked == qp->s_tail)) in rc_rcv_resp()