Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dxs_wire.h103 #define XENSTORE_RING_SIZE 1024 macro
105 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))
107 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */
108 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_comms.c105 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes()
112 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk()
113 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk()
114 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk()
122 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); in get_input_chunk()
143 XENSTORE_RING_SIZE) { in xb_write()