Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsize_class_map.h80 static uptr getSizeByClassId(uptr ClassId) { in getSizeByClassId() function
90 return u8(getLeastSignificantSetBitIndex(getSizeByClassId(ClassId))); in getSizeLSBByClassId()
192 static uptr getSizeByClassId(uptr ClassId) { in getSizeByClassId() function
311 const uptr S = SCMap::getSizeByClassId(I);
331 const uptr S = SCMap::getSizeByClassId(C); in printMap()
338 CHECK_GT(SCMap::getSizeByClassId(C), SCMap::getSizeByClassId(C - 1)); in printMap()
346 CHECK_GE(SCMap::getSizeByClassId(C), S); in printMap()
348 CHECK_LT(SCMap::getSizeByClassId(C - 1), S);
H A Dlocal_cache.h101 reportOutOfMemory(SizeClassAllocator::getSizeByClassId(BatchClassId)); in destroy()
117 ? SizeClassAllocator::getSizeByClassId(I) in allocate()
152 const uptr Size = SizeClassAllocator::getSizeByClassId(I);
H A Dprimary64.h67 static uptr getSizeByClassId(uptr ClassId) { in getSizeByClassId() function
70 : SizeClassMap::getSizeByClassId(ClassId); in getSizeByClassId()
85 const uptr MinSizeClass = getSizeByClassId(1); in init()
180 const uptr BlockSize = getSizeByClassId(I); in verifyAllBlocksAreReleasedTestOnly()
197 const uptr BlockSize = getSizeByClassId(SizeClassMap::BatchClassId); in verifyAllBlocksAreReleasedTestOnly()
261 getSizeByClassId(ClassId)); in popBlocks()
347 const uptr BlockSize = getSizeByClassId(I); in iterateOverBlocks()
474 if (Begin > End || End - Begin < SizeClassMap::getSizeByClassId(I)) in findNearestBlock()
497 B.BlockSize = SizeClassMap::getSizeByClassId(ClassId); in findNearestBlock()
624 if (isSmallBlock(getSizeByClassId(ClassId))) in initRegion()
[all …]
H A Dprimary32.h62 static uptr getSizeByClassId(uptr ClassId) { in getSizeByClassId() function
65 : SizeClassMap::getSizeByClassId(ClassId); in getSizeByClassId()
143 const uptr BlockSize = getSizeByClassId(I); in verifyAllBlocksAreReleasedTestOnly()
162 const uptr BlockSize = getSizeByClassId(SizeClassMap::BatchClassId); in verifyAllBlocksAreReleasedTestOnly()
292 const uptr BlockSize = getSizeByClassId(PossibleRegions[I] - 1U); in iterateOverBlocks()
533 CacheT::getMaxCached(getSizeByClassId(SizeClassMap::BatchClassId)); in pushBatchClassBlocks()
807 const uptr Size = getSizeByClassId(ClassId); in populateFreeList()
881 const uptr BlockSize = getSizeByClassId(ClassId); in getStats()
894 ClassId, getSizeByClassId(ClassId), Sci->AllocatedUser >> 10, in getStats()
903 const uptr BlockSize = getSizeByClassId(ClassId); in getSizeClassFragmentationInfo()
[all …]
H A Dcombined.h95 reportOutOfMemory(SizeClassMap::getSizeByClassId(QuarantineClassId)); in allocate()
540 SizeClassMap::getSizeByClassId(ClassId);
1079 PrimaryT::getSizeByClassId(ClassId)); in initChunk()
1137 const uptr BlockSize = PrimaryT::getSizeByClassId(ClassId); in initChunkWithMemoryTagging()