Searched refs:req_prod (Results 1 – 11 of 11) sorted by relevance
/linux/include/xen/interface/io/ |
A D | ring.h | 96 RING_IDX req_prod, req_event; \ 135 (_s)->req_prod = (_s)->rsp_prod = 0; \ 177 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \ 221 (_r)->sring->req_prod = (_r)->req_prod_pvt; \ 260 RING_IDX __old = (_r)->sring->req_prod; \ 263 (_r)->sring->req_prod = __new; \
|
A D | xs_wire.h | 88 XENSTORE_RING_IDX req_cons, req_prod; member
|
/linux/drivers/xen/xenbus/ |
A D | xenbus_comms.c | 95 return (intf->req_prod - intf->req_cons) != XENSTORE_RING_SIZE && in xb_data_to_write() 118 prod = intf->req_prod; in xb_write() 120 intf->req_cons = intf->req_prod = 0; in xb_write() 142 intf->req_prod += avail; in xb_write() 442 if (intf->req_prod != intf->req_cons) in xb_init_comms() 444 intf->req_cons, intf->req_prod); in xb_init_comms()
|
/linux/drivers/net/xen-netback/ |
A D | netback.c | 820 if (queue->tx.sring->req_prod - queue->tx.req_cons > in xenvif_tx_build_gops() 825 queue->tx.sring->req_prod, queue->tx.req_cons, in xenvif_tx_build_gops() 1476 RING_IDX rsp_prod, req_prod; in xenvif_map_frontend_data_rings() local 1486 req_prod = READ_ONCE(txs->req_prod); in xenvif_map_frontend_data_rings() 1491 if (req_prod - rsp_prod > RING_SIZE(&queue->tx)) in xenvif_map_frontend_data_rings() 1501 req_prod = READ_ONCE(rxs->req_prod); in xenvif_map_frontend_data_rings() 1506 if (req_prod - rsp_prod > RING_SIZE(&queue->rx)) in xenvif_map_frontend_data_rings() 1623 RING_IDX req_prod, req_cons; in xenvif_ctrl_action() local 1625 req_prod = vif->ctrl.sring->req_prod; in xenvif_ctrl_action() 1631 if (req_cons == req_prod) in xenvif_ctrl_action() [all …]
|
A D | interface.c | 638 RING_IDX rsp_prod, req_prod; in xenvif_connect_ctrl() local 647 req_prod = READ_ONCE(shared->req_prod); in xenvif_connect_ctrl() 652 if (req_prod - rsp_prod > RING_SIZE(&vif->ctrl)) in xenvif_connect_ctrl()
|
A D | rx.c | 68 prod = queue->rx.sring->req_prod; in xenvif_rx_ring_slots_available() 80 } while (queue->rx.sring->req_prod != prod); in xenvif_rx_ring_slots_available() 511 prod = queue->rx.sring->req_prod; in xenvif_rx_queue_slots()
|
A D | xenbus.c | 39 sring->req_prod, in xenvif_read_io_ring() 40 sring->req_prod - sring->rsp_prod, in xenvif_read_io_ring() 66 sring->req_prod, in xenvif_read_io_ring() 67 sring->req_prod - sring->rsp_prod, in xenvif_read_io_ring()
|
/linux/drivers/block/xen-blkback/ |
A D | xenbus.c | 192 RING_IDX rsp_prod, req_prod; in xen_blkif_map() local 206 req_prod = READ_ONCE(sring_common->req_prod); in xen_blkif_map() 244 if (req_prod - rsp_prod > size) in xen_blkif_map()
|
A D | blkback.c | 1091 rp = blk_rings->common.sring->req_prod; in __do_block_io_op()
|
/linux/drivers/net/ |
A D | xen-netfront.c | 293 RING_IDX req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers() local 300 for (req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers() 301 req_prod - queue->rx.rsp_cons < NET_RX_RING_SIZE; in xennet_alloc_rx_buffers() 302 req_prod++) { in xennet_alloc_rx_buffers() 315 id = xennet_rxidx(req_prod); in xennet_alloc_rx_buffers() 326 req = RING_GET_REQUEST(&queue->rx, req_prod); in xennet_alloc_rx_buffers() 335 queue->rx.req_prod_pvt = req_prod; in xennet_alloc_rx_buffers() 342 if (req_prod - queue->rx.rsp_cons < NET_RX_SLOTS_MIN || in xennet_alloc_rx_buffers()
|
/linux/drivers/xen/ |
A D | xen-scsiback.c | 694 rp = ring->sring->req_prod; in scsiback_do_cmd_fn()
|
Completed in 30 milliseconds