Lines Matching refs:Batch
319 typedef typename SizeClassMap::TransferBatch Batch;
345 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c,
349 Batch *b = region->free_list.Pop();
356 NOINLINE void DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) {
493 LFStack<Batch> free_list;
517 NOINLINE Batch* PopulateFreeList(AllocatorStats *stat, AllocatorCache *c,
520 Batch *b = region->free_list.Pop();
560 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch)));
562 b = (Batch*)(region_beg + beg_idx);
692 typedef typename SizeClassMap::TransferBatch Batch;
730 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c,
738 Batch *b = sci->free_list.front();
743 NOINLINE void DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) {
839 IntrusiveList<Batch> free_list;
840 char padding[kCacheLineSize - sizeof(uptr) - sizeof(IntrusiveList<Batch>)];
876 Batch *b = nullptr;
880 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch)));
882 b = (Batch*)i;
958 typedef typename SizeClassMap::TransferBatch Batch;
979 Batch *b = allocator->AllocateBatch(&stats_, this, class_id);
985 Deallocate(allocator, SizeClassMap::ClassID(sizeof(Batch)), b);
991 Batch *b;
993 b = (Batch*)Allocate(allocator, SizeClassMap::ClassID(sizeof(Batch)));
995 b = (Batch*)c->batch[0];