Searched refs:TransferBatch (Results 1 – 5 of 5) sorted by relevance
/external/scudo/standalone/ |
D | local_cache.h | 21 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()
|
D | primary64.h | 54 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 …]
|
D | primary32.h | 56 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/ |
D | primary_test.cpp | 68 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/ |
D | sanitizer_allocator.h | 105 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;
|