Home
last modified time | relevance | path

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

/linux-4.4.14/include/xen/interface/io/
Dxs_wire.h81 #define XENSTORE_RING_SIZE 1024 macro
83 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))
85 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */
86 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
/linux-4.4.14/drivers/xen/xenbus/
Dxenbus_comms.c64 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes()
71 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk()
72 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk()
73 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk()
81 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); in get_input_chunk()
107 XENSTORE_RING_SIZE); in xb_write()