Searched refs:XENSTORE_RING_SIZE (Results 1 – 2 of 2) sorted by relevance
107 #define XENSTORE_RING_SIZE 1024 macro109 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))111 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */112 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
383 return ((prod - cons) <= XENSTORE_RING_SIZE); in xs_check_indexes()402 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in xs_get_output_chunk()403 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in xs_get_output_chunk()404 *len = XENSTORE_RING_SIZE - (prod - cons); in xs_get_output_chunk()424 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(cons); in xs_get_input_chunk()460 if ((prod - cons) == XENSTORE_RING_SIZE) { in xs_write_store()