Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/xen/xenbus/
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()
/kernel/linux/linux-5.10/include/xen/interface/io/
Dring.h122 RING_IDX rsp_cons; \
159 (_r)->rsp_cons = (_i); \
181 (RING_SIZE(_r) - ((_r)->req_prod_pvt - (_r)->rsp_cons))
191 ((_r)->sring->rsp_prod - (_r)->rsp_cons)
234 (((_prod) - (_r)->rsp_cons) > RING_SIZE(_r))
307 (_r)->sring->rsp_event = (_r)->rsp_cons + 1; \
Dxs_wire.h89 XENSTORE_RING_IDX rsp_cons, rsp_prod; member
/kernel/linux/linux-5.10/drivers/net/
Dxen-netfront.c249 return (queue->tx.req_prod_pvt - queue->tx.rsp_cons) < in netfront_tx_slot_available()
301 req_prod - queue->rx.rsp_cons < NET_RX_RING_SIZE; in xennet_alloc_rx_buffers()
342 if (req_prod - queue->rx.rsp_cons < NET_RX_SLOTS_MIN || in xennet_alloc_rx_buffers()
370 queue->rx.sring->rsp_event = queue->rx.rsp_cons + 1; in xennet_open()
397 prod - queue->tx.rsp_cons); in xennet_tx_buf_gc()
402 for (cons = queue->tx.rsp_cons; cons != prod; cons++) { in xennet_tx_buf_gc()
443 queue->tx.rsp_cons = prod; in xennet_tx_buf_gc()
852 queue->rx.rsp_cons = val; in xennet_set_rx_rsp_cons()
877 RING_IDX cons = queue->rx.rsp_cons; in xennet_get_extras()
966 RING_IDX cons = queue->rx.rsp_cons; in xennet_get_responses()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
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()
/kernel/linux/linux-5.10/sound/xen/
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()
/kernel/linux/linux-5.10/drivers/scsi/
Dxen-scsifront.c330 for (i = info->ring.rsp_cons; i != rp; i++) { in scsifront_ring_drain()
335 info->ring.rsp_cons = i; in scsifront_ring_drain()
/kernel/linux/linux-5.10/drivers/xen/
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()
/kernel/linux/linux-5.10/drivers/block/
Dxen-blkfront.c1589 info->gd->disk_name, rp - rinfo->ring.rsp_cons); in blkif_interrupt()
1593 for (i = rinfo->ring.rsp_cons; i != rp; i++) { in blkif_interrupt()
1701 rinfo->ring.rsp_cons = i; in blkif_interrupt()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0022_linux_drivers_i2c.patch3248 + for (i = info->i2c_ring.rsp_cons; i != rp; i++) {
3263 + info->i2c_ring.rsp_cons = i;
3359 + for (i = info->i2c_ring.rsp_cons; i != rp; i++) {
3368 + info->i2c_ring.rsp_cons = i;