• Home
  • Raw
  • Download

Lines Matching refs:Batch

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