Lines Matching refs:SHADOW_GRANULARITY
39 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY)); in PoisonShadow()
61 offset = address & (SHADOW_GRANULARITY - 1); in ShadowSegmentEndpoint()
85 CHECK(IsAligned(end, SHADOW_GRANULARITY)); in AsanPoisonOrUnpoisonIntraObjectRedzone()
86 if (!IsAligned(ptr, SHADOW_GRANULARITY)) { in AsanPoisonOrUnpoisonIntraObjectRedzone()
88 poison ? static_cast<u8>(ptr % SHADOW_GRANULARITY) : 0; in AsanPoisonOrUnpoisonIntraObjectRedzone()
89 ptr |= SHADOW_GRANULARITY - 1; in AsanPoisonOrUnpoisonIntraObjectRedzone()
92 for (; ptr < end; ptr += SHADOW_GRANULARITY) in AsanPoisonOrUnpoisonIntraObjectRedzone()
191 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY); in __asan_region_is_poisoned()
192 uptr aligned_e = RoundDownTo(end, SHADOW_GRANULARITY); in __asan_region_is_poisoned()
296 uptr aligned_size = size & ~(SHADOW_GRANULARITY - 1); in PoisonAlignedStackMemory()
338 uptr granularity = SHADOW_GRANULARITY; in __sanitizer_annotate_contiguous_container()