Home
last modified time | relevance | path

Searched refs:RING_IDX (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/include/xen/interface/io/
Dring.h30 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 …]
Dpvcalls.h18 RING_IDX in_cons, in_prod, in_error;
22 RING_IDX out_cons, out_prod, out_error;
26 RING_IDX ring_order;
/linux-6.6.21/net/9p/
Dtrans_xen.c104 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()
/linux-6.6.21/drivers/net/xen-netback/
Dnetback.c207 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()
Drx.c60 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()
Dcommon.h130 RING_IDX idx[COPY_BATCH_SIZE];
Dinterface.c621 RING_IDX rsp_prod, req_prod; in xenvif_connect_ctrl()
/linux-6.6.21/drivers/net/
Dxen-netfront.c213 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()
299 RING_IDX req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers()
390 RING_IDX cons, prod; in xennet_tx_buf_gc()
902 static void xennet_set_rx_rsp_cons(struct netfront_queue *queue, RING_IDX val) in xennet_set_rx_rsp_cons()
927 RING_IDX rp) in xennet_get_extras()
932 RING_IDX cons = queue->rx.rsp_cons; in xennet_get_extras()
1015 struct netfront_rx_info *rinfo, RING_IDX rp, in xennet_get_responses()
1021 RING_IDX cons = queue->rx.rsp_cons; in xennet_get_responses()
[all …]
/linux-6.6.21/drivers/xen/
Dpvcalls-front.c137 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()
Dpvcalls-back.c97 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()
Dxen-scsiback.c753 RING_IDX rc, rp; in scsiback_do_cmd_fn()
/linux-6.6.21/drivers/gpu/drm/xen/
Dxen_drm_front_evtchnl.c28 RING_IDX i, rp; in evtchnl_interrupt_ctrl()
/linux-6.6.21/sound/xen/
Dxen_snd_front_evtchnl.c26 RING_IDX i, rp; in evtchnl_interrupt_req()
/linux-6.6.21/drivers/usb/host/
Dxen-hcd.c961 RING_IDX i, rp; in xenhcd_urb_request_done()
1014 RING_IDX rc, rp; in xenhcd_conn_notify()
/linux-6.6.21/drivers/scsi/
Dxen-scsifront.c387 RING_IDX i, rp; in scsifront_ring_drain()
/linux-6.6.21/drivers/block/xen-blkback/
Dxenbus.c198 RING_IDX rsp_prod, req_prod; in xen_blkif_map()
Dblkback.c1192 RING_IDX rc, rp; in __do_block_io_op()
/linux-6.6.21/drivers/block/
Dxen-blkfront.c1517 RING_IDX i, rp; in blkif_interrupt()