Home
last modified time | relevance | path

Searched refs:rsp_cons (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/xen/xenbus/
H A Dxenbus_comms.c155 return (intf->rsp_cons != intf->rsp_prod); in xb_data_to_read()
169 cons = intf->rsp_cons; in xb_read()
175 intf->rsp_cons = intf->rsp_prod = 0; in xb_read()
195 intf->rsp_cons += avail; in xb_read()
446 if (intf->rsp_prod != intf->rsp_cons) { in xb_init_comms()
448 intf->rsp_cons, intf->rsp_prod); in xb_init_comms()
451 intf->rsp_cons = intf->rsp_prod; in xb_init_comms()
/linux/include/xen/interface/io/
H A Dring.h104 RING_IDX rsp_cons; \
141 (_r)->rsp_cons = (_i); \
168 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
178 ((_r)->sring->rsp_prod - (_r)->rsp_cons)
226 (((_prod) - (_r)->rsp_cons) > RING_SIZE(_r))
299 (_r)->sring->rsp_event = (_r)->rsp_cons + 1; \
H A Dxs_wire.h96 XENSTORE_RING_IDX rsp_cons, rsp_prod; member
/linux/drivers/net/
H A Dxen-netfront.c254 return (queue->tx.req_prod_pvt - queue->tx.rsp_cons) < in netfront_tx_slot_available()
308 req_prod - queue->rx.rsp_cons < NET_RX_RING_SIZE; in xennet_alloc_rx_buffers()
349 if (req_prod - queue->rx.rsp_cons < NET_RX_SLOTS_MIN || in xennet_alloc_rx_buffers()
377 queue->rx.sring->rsp_event = queue->rx.rsp_cons + 1; in xennet_open()
404 prod - queue->tx.rsp_cons); in xennet_tx_buf_gc()
409 for (cons = queue->tx.rsp_cons; cons != prod; cons++) { in xennet_tx_buf_gc()
448 queue->tx.rsp_cons = prod; in xennet_tx_buf_gc()
908 queue->rx.rsp_cons = val; in xennet_set_rx_rsp_cons()
933 RING_IDX cons = queue->rx.rsp_cons; in xennet_get_extras()
1022 RING_IDX cons = queue->rx.rsp_cons; in xennet_get_responses()
[all …]
/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front_evtchnl.c41 for (i = evtchnl->u.req.ring.rsp_cons; i != rp; i++) { in evtchnl_interrupt_ctrl()
64 evtchnl->u.req.ring.rsp_cons = i; in evtchnl_interrupt_ctrl()
/linux/sound/xen/
H A Dxen_snd_front_evtchnl.c43 for (i = channel->u.req.ring.rsp_cons; i != rp; i++) { in evtchnl_interrupt_req()
71 channel->u.req.ring.rsp_cons = i; in evtchnl_interrupt_req()
/linux/drivers/usb/host/
H A Dxen-hcd.c975 for (i = info->urb_ring.rsp_cons; i != rp; i++) { in xenhcd_urb_request_done()
994 info->urb_ring.rsp_cons = i; in xenhcd_urb_request_done()
1024 rc = info->conn_ring.rsp_cons; in xenhcd_conn_notify()
1038 info->conn_ring.rsp_cons = ++rc; in xenhcd_conn_notify()
/linux/drivers/scsi/
H A Dxen-scsifront.c396 for (i = info->ring.rsp_cons; i != rp; i++) { in scsifront_ring_drain()
404 info->ring.rsp_cons = i; in scsifront_ring_drain()
/linux/drivers/xen/
H A Dpvcalls-front.c185 rsp = RING_GET_RESPONSE(&bedata->ring, bedata->ring.rsp_cons); in pvcalls_front_event_handler()
216 bedata->ring.rsp_cons++; in pvcalls_front_event_handler()
/linux/drivers/block/
H A Dxen-blkfront.c1535 info->gd->disk_name, rp - rinfo->ring.rsp_cons); in blkif_interrupt()
1539 for (i = rinfo->ring.rsp_cons; i != rp; i++) { in blkif_interrupt()
1651 rinfo->ring.rsp_cons = i; in blkif_interrupt()