Searched refs:req_cons (Results 1 – 7 of 7) sorted by relevance
115 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; \
109 XENSTORE_RING_IDX req_cons, req_prod; member
145 while ((intf->req_prod - intf->req_cons) == in xb_write()159 cons = intf->req_cons; in xb_write()
682 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()
864 ring->ri_ring->xr_sring.br.req_cons--; in blk_ring_request_requeue()
257 RING_IDX req_cons; member
2064 (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()