Searched refs:rsp_cons (Results 1 – 10 of 10) sorted by relevance
155 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()
122 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; \
89 XENSTORE_RING_IDX rsp_cons, rsp_prod; member
249 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 …]
41 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()
43 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()
330 for (i = info->ring.rsp_cons; i != rp; i++) { in scsifront_ring_drain()335 info->ring.rsp_cons = i; in scsifront_ring_drain()
185 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()
1589 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()
3248 + 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;