Home
last modified time | relevance | path

Searched refs:TransferBatch (Results 1 – 7 of 7) 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/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h25 struct TransferBatch { global() struct
26 MaxNumCachedSizeClassAllocatorLocalCache::TransferBatch global() argument
27 setFromArraySizeClassAllocatorLocalCache::TransferBatch setFromArray() argument
32 appendFromArraySizeClassAllocatorLocalCache::TransferBatch appendFromArray() argument
38 appendFromTransferBatchSizeClassAllocatorLocalCache::TransferBatch appendFromTransferBatch() argument
47 clearSizeClassAllocatorLocalCache::TransferBatch clear() argument
48 addSizeClassAllocatorLocalCache::TransferBatch add() argument
52 copyToArraySizeClassAllocatorLocalCache::TransferBatch copyToArray() argument
55 getCountSizeClassAllocatorLocalCache::TransferBatch getCount() argument
56 isEmptySizeClassAllocatorLocalCache::TransferBatch isEmpty() argument
57 getSizeClassAllocatorLocalCache::TransferBatch get() argument
61 getMaxCachedSizeClassAllocatorLocalCache::TransferBatch getMaxCached() argument
64 NextSizeClassAllocatorLocalCache::TransferBatch global() argument
68 CountSizeClassAllocatorLocalCache::TransferBatch global() argument
H A Dallocator_common.h17 template <class SizeClassAllocator> struct TransferBatch { struct
33 void appendFromTransferBatch(TransferBatch *B, u16 N) { in appendFromTransferBatch() argument
64 TransferBatch *Next; argument
87 SinglyLinkedList<TransferBatch<SizeClassAllocator>> Batches;
H A Dprimary32.h56 typedef TransferBatch<ThisT> TransferBatchT;
H A Dprimary64.h61 typedef TransferBatch<ThisT> TransferBatchT;
/freebsd/contrib/file/magic/Magdir/
H A Dber23 # TransferBatch short tag