Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/xen/public/io/
H A Dring.h115 RING_IDX req_cons; \
156 (_r)->req_cons = 0; \
172 (_r)->req_cons = (_s)->req_prod; \
196 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
198 ((_r)->req_cons - (_r)->rsp_prod_pvt); \
204 ((((_r)->sring->req_prod - (_r)->req_cons) < \
205 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \
206 ((_r)->sring->req_prod - (_r)->req_cons) : \
207 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))
284 (_r)->sring->req_event = (_r)->req_cons + 1; \
H A Dxs_wire.h109 XENSTORE_RING_IDX req_cons, req_prod; member
/titanic_41/usr/src/uts/common/xen/io/
H A Dxenbus_comms.c145 while ((intf->req_prod - intf->req_cons) == in xb_write()
159 cons = intf->req_cons; in xb_write()
H A Dxnb.c682 loop = xnbp->xnb_rx_ring.req_cons; in xnb_to_peer()
764 if (loop == xnbp->xnb_rx_ring.req_cons) { in xnb_to_peer()
778 loop - xnbp->xnb_rx_ring.req_cons) != 0) { in xnb_to_peer()
782 loop = xnbp->xnb_rx_ring.req_cons; in xnb_to_peer()
831 xnbp->xnb_rx_ring.req_cons = loop; in xnb_to_peer()
1004 loop = xnbp->xnb_rx_ring.req_cons; in xnb_copy_to_peer()
1182 if (loop == xnbp->xnb_rx_ring.req_cons) { in xnb_copy_to_peer()
1193 xnbp->xnb_rx_ring.req_cons = loop; in xnb_copy_to_peer()
1360 start = xnbp->xnb_tx_ring.req_cons; in xnb_from_peer()
1504 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()
/titanic_41/usr/src/uts/common/xen/sys/
H A Dxendev.h257 RING_IDX req_cons; member
/titanic_41/usr/src/uts/common/xen/os/
H A Dxvdi.c2064 (brp->rsp_prod_pvt - brp->req_cons)); in xvdi_ring_avail_slots()
2075 return ((brp->req_cons != in xvdi_ring_has_unconsumed_requests()
2077 ((brp->req_cons - brp->rsp_prod_pvt) != RING_SIZE(brp))); in xvdi_ring_has_unconsumed_requests()
2121 return (GET_RING_ENTRY_BE(ringp, brp->req_cons++)); in xvdi_ring_get_request()
2124 brp->req_cons + 1); in xvdi_ring_get_request()
2128 brp->req_cons++)); in xvdi_ring_get_request()
2245 xbrp->req_cons = 0; in xvdi_ring_init_back_ring()