Home
last modified time | relevance | path

Searched refs:ClassIdToSize (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary32.h114 static uptr ClassIdToSize(uptr class_id) { in ClassIdToSize() function
161 uptr size = ClassIdToSize(GetSizeClass(p)); in GetMetaData()
209 uptr size = ClassIdToSize(GetSizeClass(p)); in GetBlockBegin()
218 return ClassIdToSize(GetSizeClass(p)); in GetActuallyAllocatedSize()
257 uptr chunk_size = ClassIdToSize(possible_regions[region]); in ForEachChunk()
351 const uptr size = ClassIdToSize(class_id); in PopulateFreeList()
H A Dsanitizer_allocator_primary64.h190 class_id, ClassIdToSize(class_id)); in ReturnToAllocator()
262 uptr size = ClassIdToSize(class_id); in GetBlockBegin()
276 return ClassIdToSize(GetSizeClass(p)); in GetActuallyAllocatedSize()
284 uptr size = ClassIdToSize(class_id); in GetMetaData()
314 uptr avail_chunks = region->allocated_user / ClassIdToSize(class_id); in PrintStats()
319 region->exhausted ? "F" : " ", class_id, ClassIdToSize(class_id), in PrintStats()
373 uptr chunk_size = ClassIdToSize(class_id); in ForEachChunk()
386 static uptr ClassIdToSize(uptr class_id) { in ClassIdToSize() function
764 kRegionSize >> 20, ClassIdToSize(class_id)); in IsRegionExhausted()
773 const uptr size = ClassIdToSize(class_id); in PopulateFreeArray()
[all …]
H A Dsanitizer_allocator_local_cache.h92 const uptr size = Allocator::ClassIdToSize(i); in InitCache()
222 const uptr size = Allocator::ClassIdToSize(i); in InitCache()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp101 return PrimaryT::ClassIdToSize(ClassId) - getHeaderSize() - in getUsableSize()
369 memset(BackendPtr, 0, PrimaryT::ClassIdToSize(ClassId)); in allocate()