Home
last modified time | relevance | path

Searched refs:rsp_prod (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/drivers/xen/xenbus/
A Dxenbus_comms.c155 return (intf->rsp_cons != intf->rsp_prod); in xb_data_to_read()
170 prod = intf->rsp_prod; in xb_read()
175 intf->rsp_cons = intf->rsp_prod = 0; in xb_read()
198 if (intf->rsp_prod - cons >= XENSTORE_RING_SIZE) in xb_read()
446 if (intf->rsp_prod != intf->rsp_cons) { in xb_init_comms()
448 intf->rsp_cons, intf->rsp_prod); in xb_init_comms()
451 intf->rsp_cons = intf->rsp_prod; in xb_init_comms()
/linux-6.3-rc2/include/xen/interface/io/
A Dring.h96 RING_IDX rsp_prod, rsp_event; \
134 (_s)->req_prod = (_s)->rsp_prod = 0; \
178 ((_r)->sring->rsp_prod - (_r)->rsp_cons)
235 (_r)->sring->rsp_prod = (_r)->rsp_prod_pvt; \
279 RING_IDX __old = (_r)->sring->rsp_prod; \
282 (_r)->sring->rsp_prod = __new; \
A Dxs_wire.h96 XENSTORE_RING_IDX rsp_cons, rsp_prod; member
/linux-6.3-rc2/drivers/net/xen-netback/
A Dxenbus.c40 sring->req_prod - sring->rsp_prod, in xenvif_read_io_ring()
42 tx_ring->req_cons - sring->rsp_prod, in xenvif_read_io_ring()
44 sring->req_event - sring->rsp_prod); in xenvif_read_io_ring()
46 sring->rsp_prod, in xenvif_read_io_ring()
48 tx_ring->rsp_prod_pvt - sring->rsp_prod, in xenvif_read_io_ring()
50 sring->rsp_event - sring->rsp_prod); in xenvif_read_io_ring()
67 sring->req_prod - sring->rsp_prod, in xenvif_read_io_ring()
69 rx_ring->req_cons - sring->rsp_prod, in xenvif_read_io_ring()
71 sring->req_event - sring->rsp_prod); in xenvif_read_io_ring()
73 sring->rsp_prod, in xenvif_read_io_ring()
[all …]
A Dinterface.c625 RING_IDX rsp_prod, req_prod; in xenvif_connect_ctrl() local
633 rsp_prod = READ_ONCE(shared->rsp_prod); in xenvif_connect_ctrl()
636 BACK_RING_ATTACH(&vif->ctrl, shared, rsp_prod, XEN_PAGE_SIZE); in xenvif_connect_ctrl()
639 if (req_prod - rsp_prod > RING_SIZE(&vif->ctrl)) in xenvif_connect_ctrl()
A Dnetback.c1495 RING_IDX rsp_prod, req_prod; in xenvif_map_frontend_data_rings() local
1504 rsp_prod = READ_ONCE(txs->rsp_prod); in xenvif_map_frontend_data_rings()
1507 BACK_RING_ATTACH(&queue->tx, txs, rsp_prod, XEN_PAGE_SIZE); in xenvif_map_frontend_data_rings()
1510 if (req_prod - rsp_prod > RING_SIZE(&queue->tx)) in xenvif_map_frontend_data_rings()
1519 rsp_prod = READ_ONCE(rxs->rsp_prod); in xenvif_map_frontend_data_rings()
1522 BACK_RING_ATTACH(&queue->rx, rxs, rsp_prod, XEN_PAGE_SIZE); in xenvif_map_frontend_data_rings()
1525 if (req_prod - rsp_prod > RING_SIZE(&queue->rx)) in xenvif_map_frontend_data_rings()
/linux-6.3-rc2/drivers/block/xen-blkback/
A Dxenbus.c198 RING_IDX rsp_prod, req_prod; in xen_blkif_map() local
211 rsp_prod = READ_ONCE(sring_common->rsp_prod); in xen_blkif_map()
221 rsp_prod, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
231 rsp_prod, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
241 rsp_prod, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
250 if (req_prod - rsp_prod > size) in xen_blkif_map()
/linux-6.3-rc2/drivers/gpu/drm/xen/
A Dxen_drm_front_evtchnl.c37 rp = evtchnl->u.req.ring.sring->rsp_prod; in evtchnl_interrupt_ctrl()
/linux-6.3-rc2/sound/xen/
A Dxen_snd_front_evtchnl.c34 rp = channel->u.req.ring.sring->rsp_prod; in evtchnl_interrupt_req()
/linux-6.3-rc2/drivers/usb/host/
A Dxen-hcd.c968 rp = info->urb_ring.sring->rsp_prod; in xenhcd_urb_request_done()
1025 rp = info->conn_ring.sring->rsp_prod; in xenhcd_conn_notify()
/linux-6.3-rc2/drivers/scsi/
A Dxen-scsifront.c390 rp = READ_ONCE(info->ring.sring->rsp_prod); in scsifront_ring_drain()
/linux-6.3-rc2/drivers/net/
A Dxen-netfront.c400 prod = queue->tx.sring->rsp_prod; in xennet_tx_buf_gc()
1278 rp = queue->rx.sring->rsp_prod; in xennet_poll()
/linux-6.3-rc2/drivers/block/
A Dxen-blkfront.c1529 rp = READ_ONCE(rinfo->ring.sring->rsp_prod); in blkif_interrupt()

Completed in 33 milliseconds