Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dring.h121 RING_IDX req_cons; \
162 (_r)->req_cons = 0; \
178 (_r)->req_cons = (_s)->req_prod; \
202 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
204 ((_r)->req_cons - (_r)->rsp_prod_pvt); \
210 ((((_r)->sring->req_prod - (_r)->req_cons) < \
211 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
212 ((_r)->sring->req_prod - (_r)->req_cons) : \
213 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
290 (_r)->sring->req_event = (_r)->req_cons + 1; \
H A Dxs_wire.h109 XENSTORE_RING_IDX req_cons, req_prod; member
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_comms.c142 while ((intf->req_prod - intf->req_cons) == in xb_write()
156 cons = intf->req_cons; in xb_write()
H A Dxnb.c684 loop = xnbp->xnb_rx_ring.req_cons; in xnb_to_peer()
766 if (loop == xnbp->xnb_rx_ring.req_cons) { in xnb_to_peer()
780 loop - xnbp->xnb_rx_ring.req_cons) != 0) { in xnb_to_peer()
784 loop = xnbp->xnb_rx_ring.req_cons; in xnb_to_peer()
833 xnbp->xnb_rx_ring.req_cons = loop; in xnb_to_peer()
1006 loop = xnbp->xnb_rx_ring.req_cons; in xnb_copy_to_peer()
1184 if (loop == xnbp->xnb_rx_ring.req_cons) { in xnb_copy_to_peer()
1195 xnbp->xnb_rx_ring.req_cons = loop; in xnb_copy_to_peer()
1362 start = xnbp->xnb_tx_ring.req_cons; in xnb_from_peer()
1506 xnbp->xnb_tx_ring.req_cons = loop; in xnb_from_peer()
H A Dblk_common.c864 ring->ri_ring->xr_sring.br.req_cons--; in blk_ring_request_requeue()
/illumos-gate/usr/src/uts/common/xen/sys/
H A Dxendev.h257 RING_IDX req_cons; member
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c2071 (brp->rsp_prod_pvt - brp->req_cons)); in xvdi_ring_avail_slots()
2082 return ((brp->req_cons != in xvdi_ring_has_unconsumed_requests()
2084 ((brp->req_cons - brp->rsp_prod_pvt) != RING_SIZE(brp))); in xvdi_ring_has_unconsumed_requests()
2128 return (GET_RING_ENTRY_BE(ringp, brp->req_cons++)); in xvdi_ring_get_request()
2131 brp->req_cons + 1); in xvdi_ring_get_request()
2135 brp->req_cons++)); in xvdi_ring_get_request()
2252 xbrp->req_cons = 0; in xvdi_ring_init_back_ring()