• 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()
691 typedef typename SizeClassMap::TransferBatch Batch; typedef
729 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch()
737 Batch *b = sci->free_list.front(); in AllocateBatch()
742 NOINLINE void DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) { in DeallocateBatch()
834 IntrusiveList<Batch> free_list;
835 char padding[kCacheLineSize - sizeof(uptr) - sizeof(IntrusiveList<Batch>)];
871 Batch *b = 0; in PopulateFreeList()
875 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch))); in PopulateFreeList()
877 b = (Batch*)i; in PopulateFreeList()
953 typedef typename SizeClassMap::TransferBatch Batch; typedef
974 Batch *b = allocator->AllocateBatch(&stats_, this, class_id); in Refill()
980 Deallocate(allocator, SizeClassMap::ClassID(sizeof(Batch)), b); in Refill()
986 Batch *b; in Drain()
988 b = (Batch*)Allocate(allocator, SizeClassMap::ClassID(sizeof(Batch))); in Drain()
990 b = (Batch*)c->batch[0]; in Drain()