Home
last modified time | relevance | path

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

/external/scudo/standalone/
Dlocal_cache.h21 struct TransferBatch { struct
44 TransferBatch *Next; argument
113 TransferBatch *createBatch(uptr ClassId, void *B) { in createBatch()
116 return reinterpret_cast<TransferBatch *>(B); in createBatch()
127 void *Chunks[2 * TransferBatch::MaxNumCached];
144 P->MaxCount = 2 * TransferBatch::getMaxCached(Size); in initCache()
156 TransferBatch *B = Allocator->popBatch(this, ClassId); in refill()
169 TransferBatch *B = createBatch(ClassId, C->Chunks[0]); in drain()
Dprimary64.h54 typedef typename CacheT::TransferBatch TransferBatch; typedef
60 ? sizeof(TransferBatch) in getSizeByClassId()
108 TransferBatch *popBatch(CacheT *C, uptr ClassId) { in popBatch()
112 TransferBatch *B = Region->FreeList.front(); in popBatch()
125 void pushBatch(uptr ClassId, TransferBatch *B) { in pushBatch()
239 SinglyLinkedList<TransferBatch> FreeList; in ALIGNED()
268 TransferBatch **CurrentBatch, u32 MaxCount, in populateBatches()
273 TransferBatch *B = *CurrentBatch; in populateBatches()
291 NOINLINE TransferBatch *populateFreeList(CacheT *C, uptr ClassId, in populateFreeList()
294 const u32 MaxCount = TransferBatch::getMaxCached(Size); in populateFreeList()
[all …]
Dprimary32.h56 typedef typename CacheT::TransferBatch TransferBatch; typedef
61 ? sizeof(TransferBatch) in getSizeByClassId()
106 TransferBatch *popBatch(CacheT *C, uptr ClassId) { in popBatch()
110 TransferBatch *B = Sci->FreeList.front(); in popBatch()
123 void pushBatch(uptr ClassId, TransferBatch *B) { in pushBatch()
233 SinglyLinkedList<TransferBatch> FreeList; in ALIGNED()
302 TransferBatch **CurrentBatch, u32 MaxCount, in populateBatches()
306 TransferBatch *B = *CurrentBatch; in populateBatches()
324 NOINLINE TransferBatch *populateFreeList(CacheT *C, uptr ClassId, in populateFreeList()
347 const u32 MaxCount = TransferBatch::getMaxCached(Size); in populateFreeList()
[all …]
/external/scudo/standalone/tests/
Dprimary_test.cpp68 using TransferBatch = Primary::CacheT::TransferBatch; in TEST() typedef
76 std::vector<TransferBatch *> Batches; in TEST()
80 TransferBatch *B = Allocator.popBatch(&Cache, ClassId); in TEST()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h105 struct TransferBatch { struct
106 TransferBatch *next; argument
166 return Size(class_id) < sizeof(TransferBatch) - in SizeClassRequiresSeparateTransferBatch()
320 typedef typename SizeClassMap::TransferBatch Batch;
713 typedef typename SizeClassMap::TransferBatch Batch;
982 typedef typename SizeClassMap::TransferBatch Batch;