Searched refs:kRegionSize (Results 1 – 3 of 3) sorted by relevance
364 return (reinterpret_cast<uptr>(p) / kRegionSize) % kNumClassesRounded; in GetSizeClass()372 uptr reg_beg = (uptr)p & ~(kRegionSize - 1); in GetBlockBegin()393 return reinterpret_cast<void*>(kSpaceBeg + (kRegionSize * (class_id + 1)) - in GetMetaData()454 uptr region_beg = kSpaceBeg + class_id * kRegionSize; in ForEachChunk()469 static const uptr kRegionSize = kSpaceSize / kNumClassesRounded;473 COMPILER_CHECK((kRegionSize) >= (1ULL << (SANITIZER_WORDSIZE / 2)));505 uptr offset = chunk % kRegionSize; in GetChunkIdx()523 uptr region_beg = kSpaceBeg + kRegionSize * class_id; in PopulateFreeList()543 MapWithCallback(region_beg + kRegionSize - in PopulateFreeList()548 if (region->mapped_user + region->mapped_meta > kRegionSize) { in PopulateFreeList()[all …]
779 const uptr kRegionSize = in TEST() local791 ASSERT_LT(2 * kAllocationSize, kRegionSize); in TEST()792 ASSERT_GT(3 * kAllocationSize, kRegionSize); in TEST()
981 static const int kRegionSize = 1 << kRegionSizeLog2; variable982 static const int kSize = Page::kPageSize / kRegionSize;984 STATIC_ASSERT(Page::kPageSize % kRegionSize == 0);