Searched refs:MASK_XENSTORE_IDX (Results 1 – 2 of 2) sorted by relevance
115 #define MASK_XENSTORE_IDX(idx) ((idx) & (XENSTORE_RING_SIZE-1)) macro
366 Len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX (Prod); in XenStoreGetOutputChunk()371 return (Buffer + MASK_XENSTORE_IDX (Prod)); in XenStoreGetOutputChunk()396 Len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX (Cons); in XenStoreGetInputChunk()401 return (Buffer + MASK_XENSTORE_IDX (Cons)); in XenStoreGetInputChunk()