Home
last modified time | relevance | path

Searched refs:FreeList (Results 1 – 11 of 11) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
DRecycler.h40 FreeNode *FreeList = nullptr; variable
43 auto *Val = FreeList; in pop_val()
45 FreeList = FreeList->Next; in pop_val()
51 N->Next = FreeList; in push()
52 FreeList = N; in push()
61 assert(!FreeList && "Non-empty recycler deleted!"); in ~Recycler()
69 while (FreeList) { in clear()
80 void clear(BumpPtrAllocator &) { FreeList = nullptr; } in clear()
88 return FreeList ? reinterpret_cast<SubClass *>(pop_val()) in Allocate()
108 for (auto *I = FreeList; I; I = I->Next) in PrintStats()
DArrayRecycler.h31 struct FreeList { struct
32 FreeList *Next; argument
35 static_assert(Align >= alignof(FreeList), "Object underaligned");
36 static_assert(sizeof(T) >= sizeof(FreeList), "Objects are too small");
39 SmallVector<FreeList*, 8> Bucket;
46 FreeList *Entry = Bucket[Idx]; in pop()
58 FreeList *Entry = reinterpret_cast<FreeList*>(Ptr); in push()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
Dprimary64.h100 TransferBatch *B = Region->FreeList.front(); in popBatch()
102 Region->FreeList.pop_front(); in popBatch()
117 Region->FreeList.push_front(B); in pushBatch()
293 SinglyLinkedList<TransferBatch> FreeList; member
395 Region->FreeList.push_back(B); in populateFreeList()
398 TransferBatch *B = Region->FreeList.front(); in populateFreeList()
399 Region->FreeList.pop_front(); in populateFreeList()
473 releaseFreeMemoryToOS(Region->FreeList, Region->AllocatedUser, 1U,
Dprimary32.h118 TransferBatch *B = Sci->FreeList.front(); in popBatch()
120 Sci->FreeList.pop_front(); in popBatch()
136 Sci->FreeList.push_front(B); in pushBatch()
259 SinglyLinkedList<TransferBatch> FreeList; in alignas() local
387 Sci->FreeList.push_back(B); in populateFreeList()
390 TransferBatch *B = Sci->FreeList.front(); in populateFreeList()
391 Sci->FreeList.pop_front(); in populateFreeList()
479 releaseFreeMemoryToOS(Sci->FreeList, RegionSize, NumberOfRegions, BlockSize,
Drelease.h189 releaseFreeMemoryToOS(const IntrusiveList<TransferBatchT> &FreeList, in releaseFreeMemoryToOS() argument
243 for (const auto &It : FreeList) { in releaseFreeMemoryToOS()
257 for (const auto &It : FreeList) { in releaseFreeMemoryToOS()
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_ppmd8.c120 ((CPpmd8_Node *)node)->Next = (CPpmd8_Node_Ref)p->FreeList[indx]; in InsertNode()
122 p->FreeList[indx] = REF(node); in InsertNode()
128 CPpmd8_Node *node = NODE((CPpmd8_Node_Ref)p->FreeList[indx]); in RemoveNode()
129 p->FreeList[indx] = node->Next; in RemoveNode()
163 CPpmd8_Node_Ref next = (CPpmd8_Node_Ref)p->FreeList[i]; in GlueFreeBlocks()
164 p->FreeList[i] = 0; in GlueFreeBlocks()
211 if (p->FreeList[indx] != 0) in AllocUnitsRare()
224 while (p->FreeList[i] == 0); in AllocUnitsRare()
233 if (p->FreeList[indx] != 0) in AllocUnits()
255 if (p->FreeList[i1] != 0) in ShrinkUnits()
[all …]
Darchive_ppmd7.c154 *((CPpmd_Void_Ref *)node) = p->FreeList[indx]; in InsertNode()
155 p->FreeList[indx] = REF(node); in InsertNode()
160 CPpmd_Void_Ref *node = (CPpmd_Void_Ref *)Ppmd7_GetPtr(p, p->FreeList[indx]); in RemoveNode()
161 p->FreeList[indx] = *node; in RemoveNode()
195 CPpmd7_Node_Ref next = (CPpmd7_Node_Ref)p->FreeList[i]; in GlueFreeBlocks()
196 p->FreeList[i] = 0; in GlueFreeBlocks()
256 if (p->FreeList[indx] != 0) in AllocUnitsRare()
269 while (p->FreeList[i] == 0); in AllocUnitsRare()
278 if (p->FreeList[indx] != 0) in AllocUnits()
300 if (p->FreeList[i1] != 0) in ShrinkUnits()
[all …]
Darchive_ppmd7_private.h58 CPpmd_Void_Ref FreeList[PPMD_NUM_INDEXES]; member
Darchive_ppmd8_private.h78 CPpmd_Void_Ref FreeList[PPMD_NUM_INDEXES]; member
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
DDiagnostic.h1112 DiagnosticStorage *FreeList[NumCached]; variable
1124 DiagnosticStorage *Result = FreeList[--NumFreeListEntries]; in Allocate()
1134 FreeList[NumFreeListEntries++] = S; in Deallocate()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
DDiagnostic.cpp1154 FreeList[I] = Cached + I; in DiagStorageAllocator()