Home
last modified time | relevance | path

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

/freebsd-12.1/sys/xen/interface/io/
H A Dring.h130 RING_IDX req_cons; \
172 (_r)->req_cons = 0; \
197 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
199 ((_r)->req_cons - (_r)->rsp_prod_pvt); \
205 ((((_r)->sring->req_prod - (_r)->req_cons) < \
206 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
207 ((_r)->sring->req_prod - (_r)->req_cons) : \
208 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
289 (_r)->sring->req_event = (_r)->req_cons + 1; \
H A Dxs_wire.h119 XENSTORE_RING_IDX req_cons, req_prod; member
/freebsd-12.1/sys/dev/xen/netback/
H A Dnetback_unit_tests.c617 xnb_unit_pvt.txb.req_cons = rsize - 2; in xnb_ring2pkt_wraps()
691 xnb_unit_pvt.txb.req_cons += num_consumed; in xnb_txpkt2rsp_1req()
731 xnb_unit_pvt.txb.req_cons += num_consumed; in xnb_txpkt2rsp_extra()
790 xnb_unit_pvt.txb.req_cons += num_consumed; in xnb_txpkt2rsp_long()
851 xnb_unit_pvt.txb.req_cons += num_consumed; in xnb_txpkt2rsp_invalid()
924 xnb_unit_pvt.txb.req_cons = rsize - 2; in xnb_txpkt2rsp_wraps()
1802 xnb_unit_pvt.rxb.req_cons = start; in xnb_rxpkt2rsp_short()
1861 xnb_unit_pvt.rxb.req_cons = start; in xnb_rxpkt2rsp_extra()
1931 xnb_unit_pvt.rxb.req_cons = start; in xnb_rxpkt2rsp_2slots()
1993 xnb_unit_pvt.rxb.req_cons = start; in xnb_rxpkt2rsp_2short()
[all …]
H A Dnetback.c572 "req_cons", txb->req_cons, rxb->req_cons, in xnb_dump_rings()
1466 txb->sring->req_event = txb->req_cons + 1; in xnb_intr()
1825 num_consumed = xnb_ring2pkt(&pkt, txb, txb->req_cons); in xnb_recv()
1839 txb->req_cons += num_consumed; in xnb_recv()
1871 txb->req_cons += num_consumed; in xnb_recv()
2136 ring->req_cons += n_responses; in xnb_rxpkt2rsp()
2407 space = ring->sring->req_prod - ring->req_cons; in xnb_send()
/freebsd-12.1/sys/dev/xen/blkback/
H A Dblkback.c1368 if (xbb->rings.common.rsp_prod_pvt == xbb->rings.common.req_cons) { in xbb_push_responses()
1885 while (rings->common.req_cons != rp in xbb_run_queue()
1887 rings->common.req_cons) == 0){ in xbb_run_queue()
1895 rings->common.req_cons); in xbb_run_queue()
1902 &xbb->rings.x86_32, rings->common.req_cons); in xbb_run_queue()
1913 rings->common.req_cons); in xbb_run_queue()
1949 xbb->rings.common.req_cons); in xbb_run_queue()
1972 xbb->rings.common.req_cons++; in xbb_run_queue()
/freebsd-12.1/sys/dev/xen/xenstore/
H A Dxenstore.c469 cons = xen_store->req_cons; in xs_write_store()
496 xen_store->req_cons = xen_store->req_prod = 0; in xs_write_store()