Lines Matching refs:next
98 /* Check for no next entry in the queue. */
853 * Set qp->s_sending_psn to the next PSN after the given one.
1114 * continue with the next packet the receiver wants.
1689 unsigned next;
1691 next = n + 1;
1692 if (next > QIB_MAX_RDMA_ATOMIC)
1693 next = 0;
1694 qp->s_tail_ack_queue = next;
1939 u8 next;
1943 next = qp->r_head_ack_queue + 1;
1945 if (next > QIB_MAX_RDMA_ATOMIC)
1946 next = 0;
1948 if (unlikely(next == qp->s_tail_ack_queue)) {
1949 if (!qp->s_ack_queue[next].sent)
1951 qib_update_ack_queue(qp, next);
1971 * Update the next expected PSN. We add 1 later
1994 qp->r_head_ack_queue = next;
2011 u8 next;
2015 next = qp->r_head_ack_queue + 1;
2016 if (next > QIB_MAX_RDMA_ATOMIC)
2017 next = 0;
2019 if (unlikely(next == qp->s_tail_ack_queue)) {
2020 if (!qp->s_ack_queue[next].sent)
2022 qib_update_ack_queue(qp, next);
2057 qp->r_head_ack_queue = next;