Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/net/xen-netback/
Dnetback.c206 unsigned int extra_count, RING_IDX end) in xenvif_tx_err()
208 RING_IDX cons = queue->tx.req_cons; in xenvif_tx_err()
239 RING_IDX cons = queue->tx.req_cons; in xenvif_count_requests()
615 RING_IDX cons = queue->tx.req_cons; in xenvif_get_extras()
815 RING_IDX idx; in xenvif_tx_build_gops()
1399 RING_IDX i = queue->tx.rsp_prod_pvt; in make_tx_response()
1476 RING_IDX rsp_prod, req_prod; in xenvif_map_frontend_data_rings()
1551 RING_IDX idx = vif->ctrl.rsp_prod_pvt; in make_ctrl_response()
1623 RING_IDX req_prod, req_cons; in xenvif_ctrl_action()
Drx.c60 RING_IDX prod, cons; in xenvif_rx_ring_slots_available()
508 static RING_IDX xenvif_rx_queue_slots(const struct xenvif_queue *queue) in xenvif_rx_queue_slots()
510 RING_IDX prod, cons; in xenvif_rx_queue_slots()
Dcommon.h133 RING_IDX idx[COPY_BATCH_SIZE];
Dinterface.c637 RING_IDX rsp_prod, req_prod; in xenvif_connect_ctrl()
/linux-5.19.10/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-5.19.10/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()
486 RING_IDX cons, prod, size, masked_prod, masked_cons; in __write_ring()
487 RING_IDX array_size = XEN_FLEX_RING_SIZE(PVCALLS_RING_ORDER); in __write_ring()
581 RING_IDX cons, prod, size, masked_prod, masked_cons; in __read_ring()
582 RING_IDX array_size = XEN_FLEX_RING_SIZE(PVCALLS_RING_ORDER); in __read_ring()
Dpvcalls-back.c96 RING_IDX cons, prod, size, wanted, array_size, masked_prod, masked_cons; in pvcalls_conn_back_read()
173 RING_IDX cons, prod, size, array_size; in pvcalls_conn_back_write()
Dxen-scsiback.c765 RING_IDX rc, rp; in scsiback_do_cmd_fn()
/linux-5.19.10/drivers/gpu/drm/xen/
Dxen_drm_front_evtchnl.c28 RING_IDX i, rp; in evtchnl_interrupt_ctrl()
/linux-5.19.10/sound/xen/
Dxen_snd_front_evtchnl.c26 RING_IDX i, rp; in evtchnl_interrupt_req()
/linux-5.19.10/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-5.19.10/drivers/scsi/
Dxen-scsifront.c395 RING_IDX i, rp; in scsifront_ring_drain()
/linux-5.19.10/drivers/block/xen-blkback/
Dxenbus.c198 RING_IDX rsp_prod, req_prod; in xen_blkif_map()
Dblkback.c1088 RING_IDX rc, rp; in __do_block_io_op()
/linux-5.19.10/drivers/block/
Dxen-blkfront.c1516 RING_IDX i, rp; in blkif_interrupt()