Home
last modified time | relevance | path

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

/titanic_50/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. */
/titanic_50/usr/src/uts/common/xen/io/
H A Dxenbus_comms.c108 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes()
115 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk()
116 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk()
117 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk()
125 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); in get_input_chunk()
146 XENSTORE_RING_SIZE) { in xb_write()