Home
last modified time | relevance | path

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

/freebsd/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/sys/dev/xen/netback/
H A Dnetback_unit_tests.c397 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_emptyring()
421 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_1req()
458 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_2req()
501 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_3req()
549 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_extra()
585 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_partial()
614 xnb_unit_pvt.txb.req_cons = rsize - 2; in xnb_ring2pkt_wraps()
637 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_wraps()
656 xnb_ring2pkt(&pkt, &xnb_unit_pvt.txb, xnb_unit_pvt.txb.req_cons); in xnb_txpkt2rsp_emptypkt()
684 xnb_unit_pvt.txb.req_cons); in xnb_txpkt2rsp_1req()
[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/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/sys/dev/xen/xenstore/
H A Dxenstore.c465 cons = xen_store->req_cons; in xs_write_store()
492 xen_store->req_cons = xen_store->req_prod = 0; in xs_write_store()