Home
last modified time | relevance | path

Searched refs:req_cons (Results 1 – 8 of 8) sorted by relevance

/xen/xen/include/public/io/
A Dring.h145 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; \
A Dxs_wire.h123 XENSTORE_RING_IDX req_cons, req_prod; member
/xen/tools/ocaml/libs/xb/
A Dxs_ring_stubs.c64 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()
/xen/tools/tests/xen-access/
A Dxen-access.c307 RING_IDX req_cons; in get_request() local
310 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()
/xen/tools/xenpaging/
A Dxenpaging.c559 RING_IDX req_cons; in get_request() local
562 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()
/xen/tools/firmware/hvmloader/
A Dxenbus.c93 rings->req_cons = rings->req_prod = 0; in xenbus_shutdown()
115 MASK_XENSTORE_IDX(rings->req_prod - rings->req_cons)) == 0 ) in ring_write()
/xen/tools/xenstore/
A Dxenstored_domain.c157 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()
/xen/docs/misc/
A Dnetif-staging-grants.pandoc337 8) Update the request consumer index (`req_cons`)

Completed in 14 milliseconds