Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h130 typedef typename Allocator::TransferBatch TransferBatch; typedef
139 TransferBatch *CreateBatch(uptr class_id, SizeClassAllocator *allocator, in CreateBatch()
140 TransferBatch *b) { in CreateBatch()
142 return (TransferBatch*)Allocate(allocator, batch_class_id); in CreateBatch()
148 TransferBatch *b) { in DestroyBatch()
211 void *batch[2 * TransferBatch::kMaxNumCached];
219 const uptr batch_class_id = SizeClassMap::ClassID(sizeof(TransferBatch)); in InitCache()
223 const uptr max_cached = TransferBatch::MaxCached(size); in InitCache()
234 TransferBatch::AllocationSizeRequiredForNElements(max_cached)) ? in InitCache()
244 TransferBatch *b = allocator->AllocateBatch(&stats_, this, class_id); in Refill()
[all …]
H A Dsanitizer_allocator_primary32.h76 struct TransferBatch { struct
103 TransferBatch *next; argument
110 static const uptr kBatchSize = sizeof(TransferBatch); argument
168 NOINLINE TransferBatch *AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch()
178 TransferBatch *b = sci->free_list.front(); in AllocateBatch()
184 TransferBatch *b) { in DeallocateBatch()
283 IntrusiveList<TransferBatch> free_list;
317 TransferBatch **current_batch, uptr max_count, in PopulateBatches()
323 TransferBatch *b = *current_batch; in PopulateBatches()
326 b = c->CreateBatch(class_id, this, (TransferBatch*)pointers_array[i]); in PopulateBatches()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dber23 # TransferBatch short tag