Home
last modified time | relevance | path

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

/qemu/include/hw/xen/interface/io/
H A Dxs_wire.h102 #define XENSTORE_RING_SIZE 1024 macro
104 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))
106 char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */
107 char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
/qemu/hw/i386/kvm/
H A Dxen_xenstore.c1109 if (avail > XENSTORE_RING_SIZE) { in copy_from_ring()
1120 if (copylen > XENSTORE_RING_SIZE - offset) { in copy_from_ring()
1121 copylen = XENSTORE_RING_SIZE - offset; in copy_from_ring()
1172 unsigned int avail = cons + XENSTORE_RING_SIZE - prod; in copy_to_ring()
1176 if (avail > XENSTORE_RING_SIZE) { in copy_to_ring()
1187 if (copylen > XENSTORE_RING_SIZE - offset) { in copy_to_ring()
1188 copylen = XENSTORE_RING_SIZE - offset; in copy_to_ring()