Searched refs:next_head (Results 1 – 4 of 4) sorted by relevance
676 unsigned long next_head; in rpcrdma_sendctx_get_locked() local678 next_head = rpcrdma_sendctx_next(buf, buf->rb_sc_head); in rpcrdma_sendctx_get_locked()680 if (next_head == READ_ONCE(buf->rb_sc_tail)) in rpcrdma_sendctx_get_locked()684 sc = buf->rb_sc_ctxs[next_head]; in rpcrdma_sendctx_get_locked()689 buf->rb_sc_head = next_head; in rpcrdma_sendctx_get_locked()
121 unsigned int next_head = (ring->head + 1) % ring->size; in __aq_ptp_skb_put() local123 if (next_head == ring->tail) in __aq_ptp_skb_put()127 ring->head = next_head; in __aq_ptp_skb_put()
234 u32 next_head; in wil_rx_refill_edma() local238 for (; next_head = wil_ring_next_head(ring), in wil_rx_refill_edma()239 (next_head != ring->swtail); in wil_rx_refill_edma()240 ring->swhead = next_head) { in wil_rx_refill_edma()
652 u32 next_head; in __wmi_send() local701 next_head = r->base + ((r->head - r->base + sizeof(d_head)) % r->size); in __wmi_send()702 wil_dbg_wmi(wil, "Head 0x%08x -> 0x%08x\n", r->head, next_head); in __wmi_send()712 if (next_head != r->tail) in __wmi_send()716 if (next_head == r->tail) { in __wmi_send()742 r->head = next_head); in __wmi_send()