Home
last modified time | relevance | path

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

/NextBSD/sys/xen/interface/io/
HDring.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; \
HDxs_wire.h119 XENSTORE_RING_IDX req_cons, req_prod; member
/NextBSD/sys/dev/xen/netback/
HDnetback_unit_tests.c398 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_emptyring()
422 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_1req()
459 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_2req()
502 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_3req()
550 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_extra()
586 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_partial()
615 xnb_unit_pvt.txb.req_cons = rsize - 2; in xnb_ring2pkt_wraps()
638 xnb_unit_pvt.txb.req_cons); in xnb_ring2pkt_wraps()
660 xnb_unit_pvt.txb.req_cons); in xnb_txpkt2rsp_emptypkt()
688 xnb_unit_pvt.txb.req_cons); in xnb_txpkt2rsp_1req()
[all …]
HDnetback.c570 "req_cons", txb->req_cons, rxb->req_cons, in xnb_dump_rings()
1469 txb->sring->req_event = txb->req_cons + 1; in xnb_intr()
1828 num_consumed = xnb_ring2pkt(&pkt, txb, txb->req_cons); in xnb_recv()
1842 txb->req_cons += num_consumed; in xnb_recv()
1874 txb->req_cons += num_consumed; in xnb_recv()
2139 ring->req_cons += n_responses; in xnb_rxpkt2rsp()
2410 space = ring->sring->req_prod - ring->req_cons; in xnb_send()
/NextBSD/sys/dev/xen/blkback/
HDblkback.c1361 if (xbb->rings.common.rsp_prod_pvt == xbb->rings.common.req_cons) { in xbb_push_responses()
1878 while (rings->common.req_cons != rp in xbb_run_queue()
1880 rings->common.req_cons) == 0){ in xbb_run_queue()
1888 rings->common.req_cons); in xbb_run_queue()
1895 &xbb->rings.x86_32, rings->common.req_cons); in xbb_run_queue()
1906 rings->common.req_cons); in xbb_run_queue()
1942 xbb->rings.common.req_cons); in xbb_run_queue()
1965 xbb->rings.common.req_cons++; in xbb_run_queue()
/NextBSD/sys/dev/xen/xenstore/
HDxenstore.c481 cons = xen_store->req_cons; in xs_write_store()
508 xen_store->req_cons = xen_store->req_prod = 0; in xs_write_store()