Home
last modified time | relevance | path

Searched refs:req_prod (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/include/xen/interface/io/
H A Dring.h113 RING_IDX req_prod, req_event; \
152 (_s)->req_prod = (_s)->rsp_prod = 0; \
194 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
238 (_r)->sring->req_prod = (_r)->req_prod_pvt; \
277 RING_IDX __old = (_r)->sring->req_prod; \
280 (_r)->sring->req_prod = __new; \
H A Dxs_wire.h88 XENSTORE_RING_IDX req_cons, req_prod; member
/kernel/linux/linux-6.6/include/xen/interface/io/
H A Dring.h95 RING_IDX req_prod, req_event; \
134 (_s)->req_prod = (_s)->rsp_prod = 0; \
181 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
230 (_r)->sring->req_prod = (_r)->req_prod_pvt; \
269 RING_IDX __old = (_r)->sring->req_prod; \
272 (_r)->sring->req_prod = __new; \
H A Dxs_wire.h95 XENSTORE_RING_IDX req_cons, req_prod; member
/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A Dxenbus_comms.c95 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()
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A Dxenbus_comms.c95 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()
/kernel/linux/linux-5.10/drivers/net/xen-netback/
H A Dnetback.c934 if (queue->tx.sring->req_prod - queue->tx.req_cons > in xenvif_tx_build_gops()
938 "req_prod %d, req_cons %d, size %ld\n", in xenvif_tx_build_gops()
939 queue->tx.sring->req_prod, queue->tx.req_cons, in xenvif_tx_build_gops()
1552 RING_IDX rsp_prod, req_prod; in xenvif_map_frontend_data_rings() local
1562 req_prod = READ_ONCE(txs->req_prod); in xenvif_map_frontend_data_rings()
1567 if (req_prod - rsp_prod > RING_SIZE(&queue->tx)) in xenvif_map_frontend_data_rings()
1577 req_prod = READ_ONCE(rxs->req_prod); in xenvif_map_frontend_data_rings()
1582 if (req_prod in xenvif_map_frontend_data_rings()
1699 RING_IDX req_prod, req_cons; xenvif_ctrl_action() local
[all...]
H A Dxenbus.c39 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()
H A Dinterface.c620 RING_IDX rsp_prod, req_prod; in xenvif_connect_ctrl() local
630 req_prod = READ_ONCE(shared->req_prod); in xenvif_connect_ctrl()
635 if (req_prod - rsp_prod > RING_SIZE(&vif->ctrl)) in xenvif_connect_ctrl()
H A Drx.c68 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()
514 prod = queue->rx.sring->req_prod; in xenvif_rx_queue_slots()
/kernel/linux/linux-6.6/drivers/net/xen-netback/
H A Dnetback.c932 if (queue->tx.sring->req_prod - queue->tx.req_cons > in xenvif_tx_build_gops()
936 "req_prod %d, req_cons %d, size %ld\n", in xenvif_tx_build_gops()
937 queue->tx.sring->req_prod, queue->tx.req_cons, in xenvif_tx_build_gops()
1541 RING_IDX rsp_prod, req_prod; in xenvif_map_frontend_data_rings() local
1551 req_prod = READ_ONCE(txs->req_prod); in xenvif_map_frontend_data_rings()
1556 if (req_prod - rsp_prod > RING_SIZE(&queue->tx)) in xenvif_map_frontend_data_rings()
1566 req_prod = READ_ONCE(rxs->req_prod); in xenvif_map_frontend_data_rings()
1571 if (req_prod in xenvif_map_frontend_data_rings()
1688 RING_IDX req_prod, req_cons; xenvif_ctrl_action() local
[all...]
H A Dxenbus.c39 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()
H A Dinterface.c621 RING_IDX rsp_prod, req_prod; in xenvif_connect_ctrl() local
630 req_prod = READ_ONCE(shared->req_prod); in xenvif_connect_ctrl()
635 if (req_prod - rsp_prod > RING_SIZE(&vif->ctrl)) in xenvif_connect_ctrl()
H A Drx.c68 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()
514 prod = queue->rx.sring->req_prod; in xenvif_rx_queue_slots()
/kernel/linux/linux-5.10/drivers/net/
H A Dxen-netfront.c301 RING_IDX req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers() local
308 for (req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers()
309 req_prod - queue->rx.rsp_cons < NET_RX_RING_SIZE; in xennet_alloc_rx_buffers()
310 req_prod++) { in xennet_alloc_rx_buffers()
323 id = xennet_rxidx(req_prod); in xennet_alloc_rx_buffers()
334 req = RING_GET_REQUEST(&queue->rx, req_prod); in xennet_alloc_rx_buffers()
343 queue->rx.req_prod_pvt = req_prod; in xennet_alloc_rx_buffers()
350 if (req_prod - queue->rx.rsp_cons < NET_RX_SLOTS_MIN || in xennet_alloc_rx_buffers()
/kernel/linux/linux-6.6/drivers/net/
H A Dxen-netfront.c299 RING_IDX req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers() local
306 for (req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers()
307 req_prod - queue->rx.rsp_cons < NET_RX_RING_SIZE; in xennet_alloc_rx_buffers()
308 req_prod++) { in xennet_alloc_rx_buffers()
321 id = xennet_rxidx(req_prod); in xennet_alloc_rx_buffers()
332 req = RING_GET_REQUEST(&queue->rx, req_prod); in xennet_alloc_rx_buffers()
341 queue->rx.req_prod_pvt = req_prod; in xennet_alloc_rx_buffers()
348 if (req_prod - queue->rx.rsp_cons < NET_RX_SLOTS_MIN || in xennet_alloc_rx_buffers()
/kernel/linux/linux-5.10/drivers/block/xen-blkback/
H A Dxenbus.c198 RING_IDX rsp_prod, req_prod; in xen_blkif_map() local
212 req_prod = READ_ONCE(sring_common->req_prod); in xen_blkif_map()
250 if (req_prod - rsp_prod > size) in xen_blkif_map()
H A Dblkback.c1091 rp = blk_rings->common.sring->req_prod; in __do_block_io_op()
/kernel/linux/linux-6.6/drivers/block/xen-blkback/
H A Dxenbus.c198 RING_IDX rsp_prod, req_prod; in xen_blkif_map() local
212 req_prod = READ_ONCE(sring_common->req_prod); in xen_blkif_map()
250 if (req_prod - rsp_prod > size) in xen_blkif_map()
H A Dblkback.c1196 rp = blk_rings->common.sring->req_prod; in __do_block_io_op()
/kernel/linux/linux-5.10/drivers/xen/
H A Dxen-scsiback.c699 rp = ring->sring->req_prod; in scsiback_do_cmd_fn()
/kernel/linux/linux-6.6/drivers/xen/
H A Dxen-scsiback.c758 rp = ring->sring->req_prod; in scsiback_do_cmd_fn()

Completed in 33 milliseconds