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()
104 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; \
96 XENSTORE_RING_IDX rsp_cons, rsp_prod; member
254 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 …]
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()
975 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()
396 for (i = info->ring.rsp_cons; i != rp; i++) { in scsifront_ring_drain()404 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()
1535 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()