Lines Matching refs:prod
637 (RING_SIZE(_r) - (loop - prod))) ? \
639 (RING_SIZE(_r) - (loop - prod)))
651 RING_IDX loop, prod, end; in xnb_to_peer() local
685 prod = xnbp->xnb_rx_ring.rsp_prod_pvt; in xnb_to_peer()
744 rxresp = RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod); in xnb_to_peer()
753 rxresp->id = RING_GET_REQUEST(&xnbp->xnb_rx_ring, prod)->id; in xnb_to_peer()
757 prod++; in xnb_to_peer()
785 prod = xnbp->xnb_rx_ring.rsp_prod_pvt; in xnb_to_peer()
821 RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod)->status = in xnb_to_peer()
829 prod++; in xnb_to_peer()
834 xnbp->xnb_rx_ring.rsp_prod_pvt = prod; in xnb_to_peer()
968 RING_IDX loop, prod; in xnb_copy_to_peer() local
1007 prod = xnbp->xnb_rx_ring.rsp_prod_pvt; in xnb_copy_to_peer()
1135 rxresp = RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod); in xnb_copy_to_peer()
1149 rxresp->id = RING_GET_REQUEST(&xnbp->xnb_rx_ring, prod)->id; in xnb_copy_to_peer()
1167 RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod)->status = in xnb_copy_to_peer()
1176 prod++; in xnb_copy_to_peer()
1196 xnbp->xnb_rx_ring.rsp_prod_pvt = prod; in xnb_copy_to_peer()