Lines Matching refs:SHADOW_GRANULARITY
38 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY));
55 s8 offset; // in [0, SHADOW_GRANULARITY)
60 offset = address & (SHADOW_GRANULARITY - 1);
81 CHECK(IsAligned(end, SHADOW_GRANULARITY));
82 if (!IsAligned(ptr, SHADOW_GRANULARITY)) {
84 poison ? static_cast<u8>(ptr % SHADOW_GRANULARITY) : 0;
85 ptr |= SHADOW_GRANULARITY - 1;
88 for (; ptr < end; ptr += SHADOW_GRANULARITY)
194 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY);
195 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY);
199 // then check the SHADOW_GRANULARITY-aligned region by calling
299 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1);
365 uptr granularity = SHADOW_GRANULARITY;