Lines Matching refs:s_tail
483 if (qp->s_cur == qp->s_tail) { in hfi1_make_rc_req()
485 if (qp->s_tail == READ_ONCE(qp->s_head)) { in hfi1_make_rc_req()
515 if (++qp->s_tail == qp->s_size) in hfi1_make_rc_req()
516 qp->s_tail = 0; in hfi1_make_rc_req()
883 qp->s_tail++; in hfi1_make_rc_req()
884 if (qp->s_tail >= qp->s_size) in hfi1_make_rc_req()
885 qp->s_tail = 0; in hfi1_make_rc_req()
1100 qp->s_cur == qp->s_tail) { in hfi1_make_rc_req()
1102 if (delta == 0 || qp->s_cur == qp->s_tail) in hfi1_make_rc_req()
1487 if (n == qp->s_tail) in reset_psn()
1655 if (n == qp->s_tail) in reset_sending_psn()
1749 head = qp->s_tail; in hfi1_rc_send_complete()
1887 if (qp->s_acked != qp->s_tail) { in do_rc_completion()
2065 if (qp->s_acked == qp->s_tail) in do_rc_ack()
2080 } else if (qp->s_acked != qp->s_tail) { in do_rc_ack()
2112 if (qp->s_cur != qp->s_tail && in do_rc_ack()
2164 if (qp->s_acked == qp->s_tail) in do_rc_ack()
2199 if (qp->s_acked == qp->s_tail) in do_rc_ack()
2352 if (unlikely(qp->s_acked == qp->s_tail)) in rc_rcv_resp()