Home
last modified time | relevance | path

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

/u-boot/include/xen/interface/io/
A Dxs_wire.h98 #define XENSTORE_RING_SIZE 1024 macro
100 #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. */
/u-boot/drivers/xen/
A Dxenbus.c60 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