Home
last modified time | relevance | path

Searched refs:req_cons (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/xen-netback/
Dnetback.c210 RING_IDX cons = queue->tx.req_cons; in xenvif_tx_err()
223 queue->tx.req_cons = cons; in xenvif_tx_err()
241 RING_IDX cons = queue->tx.req_cons; in xenvif_count_requests()
688 RING_IDX cons = queue->tx.req_cons; in xenvif_get_extras()
699 queue->tx.req_cons = ++cons; in xenvif_get_extras()
892 if (queue->tx.sring->req_prod - queue->tx.req_cons > in xenvif_tx_build_gops()
897 queue->tx.sring->req_prod, queue->tx.req_cons, in xenvif_tx_build_gops()
907 idx = queue->tx.req_cons; in xenvif_tx_build_gops()
919 queue->tx.req_cons = ++idx; in xenvif_tx_build_gops()
927 idx = queue->tx.req_cons; in xenvif_tx_build_gops()
[all …]
Drx.c69 cons = queue->rx.req_cons; in xenvif_rx_ring_slots_available()
226 queue->rx_copy.idx[queue->rx_copy.num] = queue->rx.req_cons; in xenvif_rx_copy_add()
332 queue->rx.rsp_prod_pvt = queue->rx.req_cons; in xenvif_rx_complete()
473 req = RING_GET_REQUEST(&queue->rx, queue->rx.req_cons); in xenvif_rx_skb()
474 rsp = RING_GET_RESPONSE(&queue->rx, queue->rx.req_cons); in xenvif_rx_skb()
482 queue->rx.req_cons++; in xenvif_rx_skb()
515 cons = queue->rx.req_cons; in xenvif_rx_queue_slots()
Dxenbus.c41 tx_ring->req_cons, in xenvif_read_io_ring()
42 tx_ring->req_cons - sring->rsp_prod, in xenvif_read_io_ring()
68 rx_ring->req_cons, in xenvif_read_io_ring()
69 rx_ring->req_cons - sring->rsp_prod, in xenvif_read_io_ring()
/linux-6.1.9/drivers/xen/xenbus/
Dxenbus_comms.c95 return (intf->req_prod - intf->req_cons) != XENSTORE_RING_SIZE && in xb_data_to_write()
117 cons = intf->req_cons; in xb_write()
120 intf->req_cons = intf->req_prod = 0; in xb_write()
145 if (prod <= intf->req_cons) in xb_write()
442 if (intf->req_prod != intf->req_cons) in xb_init_comms()
444 intf->req_cons, intf->req_prod); in xb_init_comms()
/linux-6.1.9/include/xen/interface/io/
Dring.h112 RING_IDX req_cons; \
155 (_r)->req_cons = (_i); \
181 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \
183 ((_r)->req_cons - (_r)->rsp_prod_pvt); \
291 (_r)->sring->req_event = (_r)->req_cons + 1; \
Dxs_wire.h95 XENSTORE_RING_IDX req_cons, req_prod; member
/linux-6.1.9/drivers/block/xen-blkback/
Dblkback.c1091 rc = blk_rings->common.req_cons; in __do_block_io_op()
1134 blk_rings->common.req_cons = ++rc; /* before make_response() */ in __do_block_io_op()
/linux-6.1.9/drivers/xen/
Dxen-scsiback.c757 rc = ring->req_cons; in scsiback_do_cmd_fn()
775 ring->req_cons = ++rc; in scsiback_do_cmd_fn()
Dpvcalls-back.c862 fedata->ring.req_cons++, in pvcalls_back_work()