Lines Matching refs:s_last
441 while (qp->s_last != qp->s_head) { in rvt_clear_mr_refs()
442 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, qp->s_last); in rvt_clear_mr_refs()
451 if (++qp->s_last >= qp->s_size) in rvt_clear_mr_refs()
452 qp->s_last = 0; in rvt_clear_mr_refs()
498 u32 s_last = qp->s_last; in rvt_qp_sends_has_lkey() local
500 while (s_last != qp->s_head) { in rvt_qp_sends_has_lkey()
501 struct rvt_swqe *wqe = rvt_get_swqe_ptr(qp, s_last); in rvt_qp_sends_has_lkey()
506 if (++s_last >= qp->s_size) in rvt_qp_sends_has_lkey()
507 s_last = 0; in rvt_qp_sends_has_lkey()
670 qp->s_last = 0; in rvt_init_qp()
1074 if (READ_ONCE(qp->s_last) != qp->s_head) in rvt_error_qp()
1297 qp->s_draining = qp->s_last != qp->s_cur; in rvt_modify_qp()
1689 slast = READ_ONCE(qp->s_last); in rvt_qp_is_avail()
1710 qp->s_acked, qp->s_last); in rvt_qp_is_avail()
1920 call_send = qp->s_head == READ_ONCE(qp->s_last) && !wr->next; in rvt_post_send()