Searched refs:req_cons (Results 1 – 8 of 8) sorted by relevance
145 RING_IDX req_cons; \189 (_r)->req_cons = (_i); \216 unsigned int req = (_r)->sring->req_prod - (_r)->req_cons; \218 ((_r)->req_cons - (_r)->rsp_prod_pvt); \224 ((((_r)->sring->req_prod - (_r)->req_cons) < \225 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt))) ? \226 ((_r)->sring->req_prod - (_r)->req_cons) : \227 (RING_SIZE(_r) - ((_r)->req_cons - (_r)->rsp_prod_pvt)))322 (_r)->sring->req_event = (_r)->req_cons + 1; \
123 XENSTORE_RING_IDX req_cons, req_prod; member
64 cons = *(volatile uint32_t*)&intf->req_cons; in ml_interface_read()99 intf->req_cons += len; in ml_interface_read()189 intf->req_cons = intf->req_prod = intf->rsp_cons = intf->rsp_prod = 0; in ml_interface_close()
307 RING_IDX req_cons; in get_request() local310 req_cons = back_ring->req_cons; in get_request()313 memcpy(req, RING_GET_REQUEST(back_ring, req_cons), sizeof(*req)); in get_request()314 req_cons++; in get_request()317 back_ring->req_cons = req_cons; in get_request()318 back_ring->sring->req_event = req_cons + 1; in get_request()
559 RING_IDX req_cons; in get_request() local562 req_cons = back_ring->req_cons; in get_request()565 memcpy(req, RING_GET_REQUEST(back_ring, req_cons), sizeof(*req)); in get_request()566 req_cons++; in get_request()569 back_ring->req_cons = req_cons; in get_request()570 back_ring->sring->req_event = req_cons + 1; in get_request()
93 rings->req_cons = rings->req_prod = 0; in xenbus_shutdown()115 MASK_XENSTORE_IDX(rings->req_prod - rings->req_cons)) == 0 ) in ring_write()
157 cons = intf->req_cons; in readchn()172 intf->req_cons += len; in readchn()293 return (intf->req_cons != intf->req_prod); in domain_can_read()417 domain->interface->req_cons = domain->interface->req_prod = 0; in domain_conn_reset()
337 8) Update the request consumer index (`req_cons`)
Completed in 14 milliseconds