Lines Matching refs:SHADOW_GRANULARITY
39 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY));
56 s8 offset; // in [0, SHADOW_GRANULARITY)
61 offset = address & (SHADOW_GRANULARITY - 1);
85 CHECK(IsAligned(end, SHADOW_GRANULARITY));
86 if (!IsAligned(ptr, SHADOW_GRANULARITY)) {
88 poison ? static_cast<u8>(ptr % SHADOW_GRANULARITY) : 0;
89 ptr |= SHADOW_GRANULARITY - 1;
92 for (; ptr < end; ptr += SHADOW_GRANULARITY)
191 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY);
192 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY);
196 // then check the SHADOW_GRANULARITY-aligned region by calling
296 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1);
338 uptr granularity = SHADOW_GRANULARITY;