Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/
Dxs_wire.h113 #define XENSTORE_RING_SIZE 1024 macro
115 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1))
117 CHAR8 req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */
118 CHAR8 rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */
/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/
DXenStore.c345 return ((Prod - Cons) <= XENSTORE_RING_SIZE); in XenStoreCheckIndexes()
369 Len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX (Prod); in XenStoreGetOutputChunk()
370 if ((XENSTORE_RING_SIZE - (Prod - Cons)) < Len) { in XenStoreGetOutputChunk()
371 Len = XENSTORE_RING_SIZE - (Prod - Cons); in XenStoreGetOutputChunk()
399 Len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX (Cons); in XenStoreGetInputChunk()
474 if ((Prod - Cons) == XENSTORE_RING_SIZE) { in XenStoreWriteStore()
1151 SetMem (xs.XenStore->req, XENSTORE_RING_SIZE, 0xff); in XenStoreDeinit()
1152 SetMem (xs.XenStore->rsp, XENSTORE_RING_SIZE, 0xff); in XenStoreDeinit()