Searched refs:XENSTORE_RING_SIZE (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/xen/interface/io/
H A Dxs_wire.h89 #define XENSTORE_RING_SIZE 1024 macro
91 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))
93 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */
94 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
/linux-master/drivers/xen/xenbus/
H A Dxenbus_comms.c68 return ((prod - cons) <= XENSTORE_RING_SIZE);
75 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod);
76 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len)
77 *len = XENSTORE_RING_SIZE - (prod - cons);
85 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons);
95 return (intf->req_prod - intf->req_cons) != XENSTORE_RING_SIZE &&
198 if (intf->rsp_prod - cons >= XENSTORE_RING_SIZE)

Completed in 224 milliseconds