Searched refs:NumberOfBlocks (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | primary32.h | 815 const u32 NumberOfBlocks = in populateFreeList() local 818 DCHECK_GT(NumberOfBlocks, 0U); in populateFreeList() 826 DCHECK_LE(NumberOfBlocks, ShuffleArraySize); in populateFreeList() 829 for (u32 I = 0; I < NumberOfBlocks; I++, P += Size) in populateFreeList() 835 for (u32 I = 1; I < NumberOfBlocks; I++) { in populateFreeList() 847 shuffle(ShuffleArray + NumberOfBlocks - N, N, &Sci->RandState); in populateFreeList() 848 pushBlocksImpl(C, ClassId, Sci, &ShuffleArray[NumberOfBlocks - N], N, in populateFreeList() 851 pushBatchClassBlocks(Sci, ShuffleArray, NumberOfBlocks); in populateFreeList() 858 Sci->FreeListInfo.PushedBlocks -= NumberOfBlocks; in populateFreeList() 860 const uptr AllocatedUser = Size * NumberOfBlocks; in populateFreeList()
|
H A D | primary64.h | 1063 const u32 NumberOfBlocks = in populateFreeListAndPopBlocks() local 1068 DCHECK_GT(NumberOfBlocks, 0); in populateFreeListAndPopBlocks() 1073 DCHECK_LE(NumberOfBlocks, ShuffleArraySize); in populateFreeListAndPopBlocks() 1077 for (u32 I = 0; I < NumberOfBlocks; I++, P += Size) in populateFreeListAndPopBlocks() 1085 for (u32 I = 1; I < NumberOfBlocks; I++) { in populateFreeListAndPopBlocks() 1097 shuffle(ShuffleArray + NumberOfBlocks - N, N, &Region->RandState); in populateFreeListAndPopBlocks() 1098 pushBlocksImpl(C, ClassId, Region, &ShuffleArray[NumberOfBlocks - N], N, in populateFreeListAndPopBlocks() 1101 pushBatchClassBlocks(Region, ShuffleArray, NumberOfBlocks); in populateFreeListAndPopBlocks() 1112 Region->FreeListInfo.PushedBlocks -= NumberOfBlocks; in populateFreeListAndPopBlocks() 1114 const uptr AllocatedUser = Size * NumberOfBlocks; in populateFreeListAndPopBlocks()
|