Searched refs:req_cons (Results 1 – 6 of 6) sorted by relevance
127 RING_IDX req_cons; \176 (_r)->req_cons = (_i); \203 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \205 ((_r)->req_cons - (_r)->rsp_prod_pvt); \211 ((((_r)->sring->req_prod - (_r)->req_cons) < \212 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \213 ((_r)->sring->req_prod - (_r)->req_cons) : \214 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))330 (_r)->sring->req_event = (_r)->req_cons + 1; \
108 XENSTORE_RING_IDX req_cons, req_prod; member
95 if (i == netdev->tx_ring.req_cons) { in OBJECT_DECLARE_SIMPLE_TYPE()111 RING_IDX cons = netdev->tx_ring.req_cons; in net_tx_error()120 netdev->tx_ring.req_cons = cons; in net_tx_error()139 rc = netdev->tx_ring.req_cons; in net_tx_packets()148 netdev->tx_ring.req_cons = ++rc; in net_tx_packets()269 rc = netdev->rx_ring.req_cons; in net_rx_packet()284 netdev->rx_ring.req_cons = ++rc; in net_rx_packet()
600 if ((RING_SIZE(ring) - ring->rsp_prod_pvt - ring->req_cons) == 0) { in usbback_hotplug_notify()608 RING_COPY_REQUEST(ring, ring->req_cons, &req); in usbback_hotplug_notify()609 ring->req_cons++; in usbback_hotplug_notify()610 ring->sring->req_event = ring->req_cons + 1; in usbback_hotplug_notify()651 rc = urb_ring->req_cons; in usbback_bh()675 urb_ring->req_cons = ++rc; in usbback_bh()
457 dataplane->rings.common.req_cons) { in xen_block_send_response()522 rc = dataplane->rings.common.req_cons; in xen_block_handle_requests()549 dataplane->rings.common.req_cons = ++rc; in xen_block_handle_requests()
1098 XENSTORE_RING_IDX cons = qatomic_read(&s->xs->req_cons); in copy_from_ring()1144 qatomic_set(&s->xs->req_cons, cons); in copy_from_ring()