Searched refs:SHADOW_GRANULARITY (Results 1 – 3 of 3) sorted by relevance
23 #define SHADOW_GRANULARITY (1ULL << SHADOW_SCALE) macro128 return (a & (SHADOW_GRANULARITY - 1)) == 0; in AddrIsAlignedByGranularity()
154 Printf("SHADOW_GRANULARITY: %d\n", (int)SHADOW_GRANULARITY); in PrintAddressSpaceLayout()195 SetLowLevelAllocateMinAlignment(SHADOW_GRANULARITY); in MemprofInitInternal()
247 CHECK(AddrIsInMem(addr + size - SHADOW_GRANULARITY)); in ClearShadow()256 shadow_end = MEM_TO_SHADOW(addr + size - SHADOW_GRANULARITY) + 1; in ClearShadow()482 RoundDownTo(size, SHADOW_GRANULARITY); in Allocate()