Searched refs:XENSTORE_RING_SIZE (Results 1 – 2 of 2) sorted by relevance
98 #define XENSTORE_RING_SIZE 1024 macro100 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE - 1))102 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */103 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
60 c1 = min(len, XENSTORE_RING_SIZE - off); in memcpy_from_ring()218 BUG_ON(len > XENSTORE_RING_SIZE); in xb_write()224 BUG_ON(prod + len - xenstore_buf->req_cons > XENSTORE_RING_SIZE); in xb_write()230 XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod)); in xb_write()247 BUG_ON(prod > xenstore_buf->req_cons + XENSTORE_RING_SIZE); in xb_write()
Completed in 6 milliseconds