Home
last modified time | relevance | path

Searched refs:rsp_cons (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/xen/io/
H A Dring.h137 RING_IDX rsp_cons; \
180 (_r)->rsp_cons = (_i); \
202 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
212 ((_r)->sring->rsp_prod - (_r)->rsp_cons)
264 (((_prod) - (_r)->rsp_cons) > RING_SIZE(_r))
337 (_r)->sring->rsp_event = (_r)->rsp_cons + 1; \
H A Dxs_wire.h124 XENSTORE_RING_IDX rsp_cons, rsp_prod; member
/freebsd/sys/dev/xen/xenstore/
H A Dxenstore.c553 cons = xen_store->rsp_cons; in xs_read_store()
578 xen_store->rsp_cons = xen_store->rsp_prod = 0; in xs_read_store()
602 xen_store->rsp_cons += avail; in xs_read_store()
1021 if (xen_store->rsp_prod != xen_store->rsp_cons) { in xs_init_comms()
1024 xen_store->rsp_cons, xen_store->rsp_prod); in xs_init_comms()
1025 xen_store->rsp_cons = xen_store->rsp_prod; in xs_init_comms()
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c608 xnb_unit_pvt.txf.rsp_cons = rsize - 2; in xnb_ring2pkt_wraps()
688 rsp = RING_GET_RESPONSE(&xnb_unit_pvt.txb, xnb_unit_pvt.txf.rsp_cons); in xnb_txpkt2rsp_1req()
732 rsp = RING_GET_RESPONSE(&xnb_unit_pvt.txb, xnb_unit_pvt.txf.rsp_cons); in xnb_txpkt2rsp_extra()
737 xnb_unit_pvt.txf.rsp_cons + 1); in xnb_txpkt2rsp_extra()
791 rsp = RING_GET_RESPONSE(&xnb_unit_pvt.txb, xnb_unit_pvt.txf.rsp_cons); in xnb_txpkt2rsp_long()
797 xnb_unit_pvt.txf.rsp_cons + 1); in xnb_txpkt2rsp_long()
801 xnb_unit_pvt.txf.rsp_cons + 2); in xnb_txpkt2rsp_long()
807 xnb_unit_pvt.txf.rsp_cons + 3); in xnb_txpkt2rsp_long()
853 rsp = RING_GET_RESPONSE(&xnb_unit_pvt.txb, xnb_unit_pvt.txf.rsp_cons); in xnb_txpkt2rsp_invalid()
858 xnb_unit_pvt.txf.rsp_cons + 1); in xnb_txpkt2rsp_invalid()
[all …]
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c1155 req_prod - rxq->ring.rsp_cons < NET_RX_RING_SIZE; in xn_alloc_rx_buffers()
1189 if (req_prod - rxq->ring.rsp_cons < NET_RX_SLOTS_MIN) { in xn_alloc_rx_buffers()
1267 i = rxq->ring.rsp_cons; in xn_rxeof()
1308 rxq->ring.rsp_cons = i; in xn_rxeof()
1366 for (i = txq->ring.rsp_cons; i != prod; i++) { in xn_txeof()
1400 txq->ring.rsp_cons = prod; in xn_txeof()
1796 rxq->ring.sring->rsp_event = rxq->ring.rsp_cons + 1; in xn_ifinit_locked()
/freebsd/sys/dev/xen/blkfront/
H A Dblkfront.c503 for (i = sc->xbd_ring.rsp_cons; i != rp;) { in xbd_int()
541 sc->xbd_ring.rsp_cons = i; in xbd_int()