/openbmc/linux/include/xen/interface/io/ |
H A D | ring.h | 30 typedef unsigned int RING_IDX; typedef 95 RING_IDX req_prod, req_event; \ 96 RING_IDX rsp_prod, rsp_event; \ 103 RING_IDX req_prod_pvt; \ 104 RING_IDX rsp_cons; \ 111 RING_IDX rsp_prod_pvt; \ 112 RING_IDX req_cons; \ 269 RING_IDX __old = (_r)->sring->req_prod; \ 270 RING_IDX __new = (_r)->req_prod_pvt; \ 274 (_notify) = ((RING_IDX)(__new - (_r)->sring->req_event) < \ [all …]
|
H A D | pvcalls.h | 18 RING_IDX in_cons, in_prod, in_error; 22 RING_IDX out_cons, out_prod, out_error; 26 RING_IDX ring_order;
|
/openbmc/qemu/include/hw/xen/interface/io/ |
H A D | ring.h | 36 typedef unsigned int RING_IDX; typedef 101 RING_IDX req_prod, req_event; \ 102 RING_IDX rsp_prod, rsp_event; \ 118 RING_IDX req_prod_pvt; \ 119 RING_IDX rsp_cons; \ 126 RING_IDX rsp_prod_pvt; \ 127 RING_IDX req_cons; \ 308 RING_IDX __old = (_r)->sring->req_prod; \ 309 RING_IDX __new = (_r)->req_prod_pvt; \ 313 (_notify) = ((RING_IDX)(__new - (_r)->sring->req_event) < \ [all …]
|
/openbmc/qemu/hw/net/ |
H A D | xen_nic.c | 74 RING_IDX i = netdev->tx_ring.rsp_prod_pvt; in OBJECT_DECLARE_SIMPLE_TYPE() 104 static void net_tx_error(struct XenNetDev *netdev, netif_tx_request_t *txp, RING_IDX end) in net_tx_error() 111 RING_IDX cons = netdev->tx_ring.req_cons; in net_tx_error() 132 RING_IDX rc, rp; in net_tx_packets() 231 RING_IDX i = netdev->rx_ring.rsp_prod_pvt; in net_rx_response() 260 RING_IDX rc, rp; in net_rx_packet()
|
/openbmc/qemu/hw/9pfs/ |
H A D | xen-9p-backend.c | 52 RING_IDX out_cons, out_size, in_cons; 77 RING_IDX cons, prod, masked_prod, masked_cons; in xen_9pfs_in_sg() 103 RING_IDX cons, prod, masked_prod, masked_cons; in xen_9pfs_out_sg() 232 RING_IDX prod; in xen_9pfs_push_and_notify() 269 RING_IDX cons, prod, masked_prod, masked_cons, queued; in xen_9pfs_receive()
|
/openbmc/linux/net/9p/ |
H A D | trans_xen.c | 104 static bool p9_xen_write_todo(struct xen_9pfs_dataring *ring, RING_IDX size) in p9_xen_write_todo() 106 RING_IDX cons, prod; in p9_xen_write_todo() 119 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_request() 175 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_response()
|
/openbmc/linux/drivers/net/xen-netback/ |
H A D | netback.c | 207 unsigned int extra_count, RING_IDX end) in xenvif_tx_err() 209 RING_IDX cons = queue->tx.req_cons; in xenvif_tx_err() 236 RING_IDX cons = queue->tx.req_cons; in xenvif_count_requests() 730 RING_IDX cons = queue->tx.req_cons; in xenvif_get_extras() 928 RING_IDX idx; in xenvif_tx_build_gops() 1423 RING_IDX i = queue->tx.rsp_prod_pvt; in _make_tx_response() 1541 RING_IDX rsp_prod, req_prod; in xenvif_map_frontend_data_rings() 1616 RING_IDX idx = vif->ctrl.rsp_prod_pvt; in make_ctrl_response() 1688 RING_IDX req_prod, req_cons; in xenvif_ctrl_action()
|
H A D | rx.c | 60 RING_IDX prod, cons; in xenvif_rx_ring_slots_available() 510 static RING_IDX xenvif_rx_queue_slots(const struct xenvif_queue *queue) in xenvif_rx_queue_slots() 512 RING_IDX prod, cons; in xenvif_rx_queue_slots()
|
H A D | common.h | 130 RING_IDX idx[COPY_BATCH_SIZE];
|
H A D | interface.c | 621 RING_IDX rsp_prod, req_prod; in xenvif_connect_ctrl()
|
/openbmc/linux/drivers/net/ |
H A D | xen-netfront.c | 213 static int xennet_rxidx(RING_IDX idx) in xennet_rxidx() 219 RING_IDX ri) in xennet_get_rx_skb() 228 RING_IDX ri) in xennet_get_rx_ref() 300 RING_IDX req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers() 391 RING_IDX cons, prod; in xennet_tx_buf_gc() 906 static void xennet_set_rx_rsp_cons(struct netfront_queue *queue, RING_IDX val) in xennet_set_rx_rsp_cons() 931 RING_IDX rp) in xennet_get_extras() 936 RING_IDX cons = queue->rx.rsp_cons; in xennet_get_extras() 1019 struct netfront_rx_info *rinfo, RING_IDX rp, in xennet_get_responses() 1025 RING_IDX cons = queue->rx.rsp_cons; in xennet_get_responses() [all …]
|
/openbmc/linux/drivers/xen/ |
H A D | pvcalls-front.c | 137 RING_IDX cons, prod, size = XEN_FLEX_RING_SIZE(PVCALLS_RING_ORDER); in pvcalls_front_write_todo() 154 RING_IDX cons, prod; in pvcalls_front_read_todo() 495 RING_IDX cons, prod, size, masked_prod, masked_cons; in __write_ring() 496 RING_IDX array_size = XEN_FLEX_RING_SIZE(PVCALLS_RING_ORDER); in __write_ring() 590 RING_IDX cons, prod, size, masked_prod, masked_cons; in __read_ring() 591 RING_IDX array_size = XEN_FLEX_RING_SIZE(PVCALLS_RING_ORDER); in __read_ring()
|
H A D | pvcalls-back.c | 97 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; in pvcalls_conn_back_read() 174 RING_IDX cons, prod, size, array_size; in pvcalls_conn_back_write()
|
H A D | xen-scsiback.c | 753 RING_IDX rc, rp; in scsiback_do_cmd_fn()
|
/openbmc/qemu/hw/block/dataplane/ |
H A D | xen-block.c | 476 XenBlockRequest *request, RING_IDX rc) in xen_block_get_request() 514 RING_IDX rc, rp; in xen_block_handle_requests()
|
/openbmc/linux/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_evtchnl.c | 28 RING_IDX i, rp; in evtchnl_interrupt_ctrl()
|
/openbmc/linux/sound/xen/ |
H A D | xen_snd_front_evtchnl.c | 26 RING_IDX i, rp; in evtchnl_interrupt_req()
|
/openbmc/linux/drivers/usb/host/ |
H A D | xen-hcd.c | 961 RING_IDX i, rp; in xenhcd_urb_request_done() 1014 RING_IDX rc, rp; in xenhcd_conn_notify()
|
/openbmc/qemu/hw/usb/ |
H A D | xen-usb.c | 638 RING_IDX rc, rp; in usbback_bh()
|
/openbmc/linux/drivers/scsi/ |
H A D | xen-scsifront.c | 387 RING_IDX i, rp; in scsifront_ring_drain()
|
/openbmc/linux/drivers/block/xen-blkback/ |
H A D | xenbus.c | 198 RING_IDX rsp_prod, req_prod; in xen_blkif_map()
|
H A D | blkback.c | 1192 RING_IDX rc, rp; in __do_block_io_op()
|
/openbmc/linux/drivers/block/ |
H A D | xen-blkfront.c | 1517 RING_IDX i, rp; in blkif_interrupt()
|