Home
last modified time | relevance | path

Searched refs:kNumClasses (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_size_class_map.h135 static const uptr kNumClasses = variable
137 static const uptr kLargestClassID = kNumClasses - 2;
138 static const uptr kBatchClassID = kNumClasses - 1;
139 COMPILER_CHECK(kNumClasses >= 16 && kNumClasses <= 256);
141 kNumClasses <= 32 ? 32 :
142 kNumClasses <= 64 ? 64 :
143 kNumClasses <= 128 ? 128 : 256;
186 for (uptr i = 0; i < kNumClasses; i++) { in Print()
206 for (uptr c = 1; c < kNumClasses; c++) { in Validate()
223 CHECK_LT(c, kNumClasses); in Validate()
H A Dsanitizer_allocator_local_cache.h36 CHECK_LT(class_id, kNumClasses); in Allocate()
51 CHECK_LT(class_id, kNumClasses); in Deallocate()
67 for (uptr i = 1; i < kNumClasses; i++) { in Drain()
75 static const uptr kNumClasses = SizeClassMap::kNumClasses; member
84 PerClass per_class_[kNumClasses];
90 for (uptr i = 1; i < kNumClasses; i++) { in InitCache()
161 CHECK_LT(class_id, kNumClasses); in Allocate()
176 CHECK_LT(class_id, kNumClasses); in Deallocate()
188 for (uptr i = 1; i < kNumClasses; i++) { in Drain()
198 static const uptr kNumClasses = SizeClassMap::kNumClasses; member
[all …]
H A Dsanitizer_allocator_primary32.h170 DCHECK_LT(class_id, kNumClasses); in AllocateBatch()
185 DCHECK_LT(class_id, kNumClasses); in DeallocateBatch()
242 for (uptr i = 0; i < kNumClasses; i++) { in ForceLock()
248 for (int i = kNumClasses - 1; i >= 0; i--) { in ForceUnlock()
275 static const uptr kNumClasses = SizeClassMap::kNumClasses; variable
299 DCHECK_LT(class_id, kNumClasses); in AllocateRegion()
312 DCHECK_LT(class_id, kNumClasses); in GetSizeClassInfo()
380 SizeClassInfo size_class_info_array[kNumClasses];
H A Dsanitizer_allocator_primary64.h163 for (uptr class_id = 1; class_id < kNumClasses; class_id++) { in ForceReleaseToOS()
261 if (class_id >= kNumClasses) return nullptr; in GetBlockBegin()
295 for (uptr i = 0; i < kNumClasses; i++) in TotalMemoryUsed()
306 for (uptr class_id = 0; class_id < kNumClasses; class_id++) in FillMemoryProfile()
329 uptr rss_stats[kNumClasses]; in PrintStats()
330 for (uptr class_id = 0; class_id < kNumClasses; class_id++) in PrintStats()
338 for (uptr class_id = 1; class_id < kNumClasses; class_id++) { in PrintStats()
351 for (uptr class_id = 1; class_id < kNumClasses; class_id++) in PrintStats()
358 for (uptr i = 0; i < kNumClasses; i++) { in ForceLock()
364 for (int i = (int)kNumClasses - 1; i >= 0; i--) { in ForceUnlock()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.h67 static const uptr kNumberOfSizeClasses = SizeClassMap::kNumClasses;