Home
last modified time | relevance | path

Searched refs:req_prod (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/xen/interface/io/
H A Dring.h104 RING_IDX req_prod, req_event; \
157 (_s)->req_prod = (_s)->rsp_prod = 0; \
197 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
205 ((((_r)->sring->req_prod - (_r)->req_cons) < \
207 ((_r)->sring->req_prod - (_r)->req_cons) : \
228 (_r)->sring->req_prod = (_r)->req_prod_pvt; \
267 RING_IDX __old = (_r)->sring->req_prod; \
270 (_r)->sring->req_prod = __new; \
H A Dxs_wire.h119 XENSTORE_RING_IDX req_cons, req_prod; member
/freebsd-12.1/sys/dev/xen/netfront/
H A Dnetfront.c1064 RING_IDX req_prod; in xn_alloc_rx_buffers() local
1072 for (req_prod = rxq->ring.req_prod_pvt; in xn_alloc_rx_buffers()
1073 req_prod - rxq->ring.rsp_cons < NET_RX_RING_SIZE; in xn_alloc_rx_buffers()
1074 req_prod++) { in xn_alloc_rx_buffers()
1085 id = xn_rxidx(req_prod); in xn_alloc_rx_buffers()
1096 req = RING_GET_REQUEST(&rxq->ring, req_prod); in xn_alloc_rx_buffers()
1104 rxq->ring.req_prod_pvt = req_prod; in xn_alloc_rx_buffers()
1107 if (req_prod - rxq->ring.rsp_cons < NET_RX_SLOTS_MIN) { in xn_alloc_rx_buffers()
1330 prod + ((txq->ring.sring->req_prod - prod) >> 1) + 1; in xn_txeof()
1336 ((txq->ring.sring->req_prod - prod) < NET_TX_RING_SIZE)) { in xn_txeof()
/freebsd-12.1/sys/dev/xen/netback/
H A Dnetback_unit_tests.c612 xnb_unit_pvt.txs->req_prod = rsize - 2; in xnb_ring2pkt_wraps()
697 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_1req()
736 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_extra()
795 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_long()
857 xnb_unit_pvt.txb.rsp_prod_pvt == xnb_unit_pvt.txs->req_prod); in xnb_txpkt2rsp_invalid()
919 xnb_unit_pvt.txs->req_prod = rsize - 2; in xnb_txpkt2rsp_wraps()
1804 xnb_unit_pvt.rxs->req_prod = start + 1; in xnb_rxpkt2rsp_short()
1863 xnb_unit_pvt.rxs->req_prod = start + 2; in xnb_rxpkt2rsp_extra()
1933 xnb_unit_pvt.rxs->req_prod = start + 2; in xnb_rxpkt2rsp_2slots()
1995 xnb_unit_pvt.rxs->req_prod = start + 1; in xnb_rxpkt2rsp_2short()
[all …]
H A Dnetback.c129 unsigned int req = (_r)->sring->req_prod - cons; \
576 "sring->req_prod", txb->sring->req_prod, rxb->sring->req_prod, in xnb_dump_rings()
1446 req_prod_local = txb->sring->req_prod; in xnb_intr()
1468 } while (txb->sring->req_prod != req_prod_local) ; in xnb_intr()
2336 req_prod_local = rxb->sring->req_prod; in xnb_start_locked()
2383 } while (rxb->sring->req_prod != req_prod_local) ; in xnb_start_locked()
2407 space = ring->sring->req_prod - ring->req_cons; in xnb_send()
/freebsd-12.1/sys/dev/xen/xenstore/
H A Dxenstore.c470 prod = xen_store->req_prod; in xs_write_store()
496 xen_store->req_cons = xen_store->req_prod = 0; in xs_write_store()
515 xen_store->req_prod += avail; in xs_write_store()
/freebsd-12.1/sys/dev/xen/blkback/
H A Dblkback.c1871 rp = rings->common.sring->req_prod; in xbb_run_queue()