Lines Matching refs:prod
636 (RING_SIZE(_r) - (loop - prod))) ? \
638 (RING_SIZE(_r) - (loop - prod)))
650 RING_IDX loop, prod, end; in xnb_to_peer() local
683 prod = xnbp->xnb_rx_ring.rsp_prod_pvt; in xnb_to_peer()
742 rxresp = RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod); in xnb_to_peer()
751 rxresp->id = RING_GET_REQUEST(&xnbp->xnb_rx_ring, prod)->id; in xnb_to_peer()
755 prod++; in xnb_to_peer()
783 prod = xnbp->xnb_rx_ring.rsp_prod_pvt; in xnb_to_peer()
819 RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod)->status = in xnb_to_peer()
827 prod++; in xnb_to_peer()
832 xnbp->xnb_rx_ring.rsp_prod_pvt = prod; in xnb_to_peer()
966 RING_IDX loop, prod; in xnb_copy_to_peer() local
1005 prod = xnbp->xnb_rx_ring.rsp_prod_pvt; in xnb_copy_to_peer()
1133 rxresp = RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod); in xnb_copy_to_peer()
1147 rxresp->id = RING_GET_REQUEST(&xnbp->xnb_rx_ring, prod)->id; in xnb_copy_to_peer()
1165 RING_GET_RESPONSE(&xnbp->xnb_rx_ring, prod)->status = in xnb_copy_to_peer()
1174 prod++; in xnb_copy_to_peer()
1194 xnbp->xnb_rx_ring.rsp_prod_pvt = prod; in xnb_copy_to_peer()