Searched refs:req_prod (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/include/xen/interface/io/ |
D | ring.h | 81 RING_IDX req_prod, req_event; \ 120 (_s)->req_prod = (_s)->rsp_prod = 0; \ 142 (_r)->req_prod_pvt = (_s)->req_prod; \ 150 (_r)->req_cons = (_s)->req_prod; \ 174 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \ 198 (_r)->sring->req_prod = (_r)->req_prod_pvt; \ 237 RING_IDX __old = (_r)->sring->req_prod; \ 240 (_r)->sring->req_prod = __new; \
|
D | xs_wire.h | 87 XENSTORE_RING_IDX req_cons, req_prod; member
|
/linux-4.1.27/drivers/xen/xenbus/ |
D | xenbus_comms.c | 106 (intf->req_prod - intf->req_cons) != in xb_write() 113 prod = intf->req_prod; in xb_write() 115 intf->req_cons = intf->req_prod = 0; in xb_write() 134 intf->req_prod += avail; in xb_write() 209 if (intf->req_prod != intf->req_cons) in xb_init_comms() 211 intf->req_cons, intf->req_prod); in xb_init_comms()
|
/linux-4.1.27/drivers/net/ |
D | xen-netfront.c | 283 RING_IDX req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers() local 289 for (req_prod = queue->rx.req_prod_pvt; in xennet_alloc_rx_buffers() 290 req_prod - queue->rx.rsp_cons < NET_RX_RING_SIZE; in xennet_alloc_rx_buffers() 291 req_prod++) { in xennet_alloc_rx_buffers() 302 id = xennet_rxidx(req_prod); in xennet_alloc_rx_buffers() 313 req = RING_GET_REQUEST(&queue->rx, req_prod); in xennet_alloc_rx_buffers() 323 queue->rx.req_prod_pvt = req_prod; in xennet_alloc_rx_buffers() 326 if (req_prod - queue->rx.rsp_cons < NET_RX_SLOTS_MIN) { in xennet_alloc_rx_buffers() 412 prod + ((queue->tx.sring->req_prod - prod) >> 1) + 1; in xennet_tx_buf_gc()
|
/linux-4.1.27/drivers/net/xen-netback/ |
D | xenbus.c | 66 sring->req_prod, in xenvif_read_io_ring() 67 sring->req_prod - sring->rsp_prod, in xenvif_read_io_ring() 93 sring->req_prod, in xenvif_read_io_ring() 94 sring->req_prod - sring->rsp_prod, in xenvif_read_io_ring()
|
D | netback.c | 157 prod = queue->rx.sring->req_prod; in xenvif_rx_ring_slots_available() 169 } while (queue->rx.sring->req_prod != prod); in xenvif_rx_ring_slots_available() 1197 if (queue->tx.sring->req_prod - queue->tx.req_cons > in xenvif_tx_build_gops() 1202 queue->tx.sring->req_prod, queue->tx.req_cons, in xenvif_tx_build_gops() 1840 prod = queue->rx.sring->req_prod; in xenvif_rx_queue_stalled() 1853 prod = queue->rx.sring->req_prod; in xenvif_rx_queue_ready()
|
/linux-4.1.27/drivers/block/xen-blkback/ |
D | blkback.c | 1097 rp = blk_rings->common.sring->req_prod; in __do_block_io_op()
|
/linux-4.1.27/drivers/xen/ |
D | xen-scsiback.c | 717 rp = ring->sring->req_prod; in scsiback_do_cmd_fn()
|