Lines Matching refs:next
98 /* Check for no next entry in the queue. */
854 * Set qp->s_sending_psn to the next PSN after the given one.
1115 * continue with the next packet the receiver wants.
1692 unsigned next;
1694 next = n + 1;
1695 if (next > QIB_MAX_RDMA_ATOMIC)
1696 next = 0;
1697 qp->s_tail_ack_queue = next;
1942 u8 next;
1946 next = qp->r_head_ack_queue + 1;
1948 if (next > QIB_MAX_RDMA_ATOMIC)
1949 next = 0;
1951 if (unlikely(next == qp->s_tail_ack_queue)) {
1952 if (!qp->s_ack_queue[next].sent)
1954 qib_update_ack_queue(qp, next);
1974 * Update the next expected PSN. We add 1 later
1997 qp->r_head_ack_queue = next;
2014 u8 next;
2018 next = qp->r_head_ack_queue + 1;
2019 if (next > QIB_MAX_RDMA_ATOMIC)
2020 next = 0;
2022 if (unlikely(next == qp->s_tail_ack_queue)) {
2023 if (!qp->s_ack_queue[next].sent)
2025 qib_update_ack_queue(qp, next);
2060 qp->r_head_ack_queue = next;