Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/xen/io/
H A Dring.h145 RING_IDX req_cons; \
189 (_r)->req_cons = (_i); \
216 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
218 ((_r)->req_cons - (_r)->rsp_prod_pvt); \
224 ((((_r)->sring->req_prod - (_r)->req_cons) < \
225 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
226 ((_r)->sring->req_prod - (_r)->req_cons) : \
227 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
329 (_r)->sring->req_event = (_r)->req_cons + 1; \
H A Dxs_wire.h123 XENSTORE_RING_IDX req_cons, req_prod; member
/freebsd-14.2/sys/dev/xen/netback/
H A Dnetback_unit_tests.c613 xnb_unit_pvt.txb.req_cons = rsize - 2; in xnb_ring2pkt_wraps()
684 xnb_unit_pvt.txb.req_cons += num_consumed; in xnb_txpkt2rsp_1req()
724 xnb_unit_pvt.txb.req_cons += num_consumed; in xnb_txpkt2rsp_extra()
783 xnb_unit_pvt.txb.req_cons += num_consumed; in xnb_txpkt2rsp_long()
844 xnb_unit_pvt.txb.req_cons += num_consumed; in xnb_txpkt2rsp_invalid()
916 xnb_unit_pvt.txb.req_cons = rsize - 2; in xnb_txpkt2rsp_wraps()
1789 xnb_unit_pvt.rxb.req_cons = start; in xnb_rxpkt2rsp_short()
1848 xnb_unit_pvt.rxb.req_cons = start; in xnb_rxpkt2rsp_extra()
1918 xnb_unit_pvt.rxb.req_cons = start; in xnb_rxpkt2rsp_2slots()
1980 xnb_unit_pvt.rxb.req_cons = start; in xnb_rxpkt2rsp_2short()
[all …]
H A Dnetback.c564 "req_cons", txb->req_cons, rxb->req_cons, in xnb_dump_rings()
1457 txb->sring->req_event = txb->req_cons + 1; in xnb_intr()
1814 num_consumed = xnb_ring2pkt(&pkt, txb, txb->req_cons); in xnb_recv()
1828 txb->req_cons += num_consumed; in xnb_recv()
1860 txb->req_cons += num_consumed; in xnb_recv()
2125 ring->req_cons += n_responses; in xnb_rxpkt2rsp()
2397 space = ring->sring->req_prod - ring->req_cons; in xnb_send()
/freebsd-14.2/sys/dev/xen/blkback/
H A Dblkback.c1290 if (xbb->rings.common.rsp_prod_pvt == xbb->rings.common.req_cons) { in xbb_push_responses()
1785 while (rings->common.req_cons != rp in xbb_run_queue()
1787 rings->common.req_cons) == 0){ in xbb_run_queue()
1795 rings->common.req_cons); in xbb_run_queue()
1802 &xbb->rings.x86_32, rings->common.req_cons); in xbb_run_queue()
1813 rings->common.req_cons); in xbb_run_queue()
1849 xbb->rings.common.req_cons); in xbb_run_queue()
1872 xbb->rings.common.req_cons++; in xbb_run_queue()
/freebsd-14.2/sys/dev/xen/xenstore/
H A Dxenstore.c466 cons = xen_store->req_cons; in xs_write_store()
493 xen_store->req_cons = xen_store->req_prod = 0; in xs_write_store()