Searched refs:req_prod (Results 1 – 7 of 7) sorted by relevance
119 RING_IDX req_prod, req_event; \172 (_s)->req_prod = (_s)->rsp_prod = 0; \216 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \224 ((((_r)->sring->req_prod - (_r)->req_cons) < \226 ((_r)->sring->req_prod - (_r)->req_cons) : \268 (_r)->sring->req_prod = (_r)->req_prod_pvt; \307 RING_IDX __old = (_r)->sring->req_prod; \310 (_r)->sring->req_prod = __new; \
123 XENSTORE_RING_IDX req_cons, req_prod; member
609 xnb_unit_pvt.txs->req_prod = rsize - 2; in xnb_ring2pkt_wraps()691 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_1req()730 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_extra()789 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_long()851 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_invalid()889 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_error()912 xnb_unit_pvt.txs->req_prod = rsize - 2; in xnb_txpkt2rsp_wraps()947 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_wraps()1792 xnb_unit_pvt.rxs->req_prod = start + 1; in xnb_rxpkt2rsp_short()1851 xnb_unit_pvt.rxs->req_prod = start + 2; in xnb_rxpkt2rsp_extra()[all …]
123 unsigned int req = (_r)->sring->req_prod - cons; \568 "sring->req_prod", txb->sring->req_prod, rxb->sring->req_prod, in xnb_dump_rings()1437 req_prod_local = txb->sring->req_prod; in xnb_intr()1459 } while (txb->sring->req_prod != req_prod_local) ; in xnb_intr()2326 req_prod_local = rxb->sring->req_prod; in xnb_start_locked()2373 } while (rxb->sring->req_prod != req_prod_local) ; in xnb_start_locked()2397 space = ring->sring->req_prod - ring->req_cons; in xnb_send()
1162 RING_IDX req_prod; in xn_alloc_rx_buffers() local1170 for (req_prod = rxq->ring.req_prod_pvt; in xn_alloc_rx_buffers()1171 req_prod - rxq->ring.rsp_cons < NET_RX_RING_SIZE; in xn_alloc_rx_buffers()1172 req_prod++) { in xn_alloc_rx_buffers()1183 id = xn_rxidx(req_prod); in xn_alloc_rx_buffers()1194 req = RING_GET_REQUEST(&rxq->ring, req_prod); in xn_alloc_rx_buffers()1202 rxq->ring.req_prod_pvt = req_prod; in xn_alloc_rx_buffers()1205 if (req_prod - rxq->ring.rsp_cons < NET_RX_SLOTS_MIN) { in xn_alloc_rx_buffers()1428 prod + ((txq->ring.sring->req_prod - prod) >> 1) + 1; in xn_txeof()1434 ((txq->ring.sring->req_prod - prod) < NET_TX_RING_SIZE)) { in xn_txeof()
466 prod = xen_store->req_prod; in xs_write_store()492 xen_store->req_cons = xen_store->req_prod = 0; in xs_write_store()511 xen_store->req_prod += avail; in xs_write_store()
1771 rp = rings->common.sring->req_prod; in xbb_run_queue()