Home
last modified time | relevance | path

Searched refs:sring (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/hw/xen/interface/io/
H A Dring.h121 struct __name##_sring *sring; \
129 struct __name##_sring *sring; \
164 (_r)->sring = (_s); \
178 (_r)->sring = (_s); \
199 ((_r)->sring->rsp_prod - (_r)->rsp_cons)
203 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
211 ((((_r)->sring->req_prod - (_r)->req_cons) < \
213 ((_r)->sring->req_prod - (_r)->req_cons) : \
233 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].req))
236 (&((_r)->sring->ring[((_idx) & (RING_SIZE(_r) - 1))].rsp))
[all …]
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c54 void *sring; member
523 rp = dataplane->rings.common.sring->req_prod; in xen_block_handle_requests()
720 if (dataplane->sring) { in xen_block_dataplane_stop()
723 xen_device_unmap_grant_refs(xendev, dataplane->sring, in xen_block_dataplane_stop()
726 dataplane->sring = NULL; in xen_block_dataplane_stop()
786 dataplane->sring = xen_device_map_grant_refs(xendev, in xen_block_dataplane_start()
798 blkif_sring_t *sring_native = dataplane->sring; in xen_block_dataplane_start()
805 blkif_x86_32_sring_t *sring_x86_32 = dataplane->sring; in xen_block_dataplane_start()
813 blkif_x86_64_sring_t *sring_x86_64 = dataplane->sring; in xen_block_dataplane_start()
/openbmc/qemu/hw/usb/
H A Dxen-usb.c610 ring->sring->req_event = ring->req_cons + 1; in usbback_hotplug_notify()
652 rp = urb_ring->sring->req_prod; in usbback_bh()