Lines Matching refs:Batches
184 BatchClassUsedInFreeLists += BG.Batches.size() + 1; in verifyAllBlocksAreReleasedTestOnly()
185 for (const auto &It : BG.Batches) in verifyAllBlocksAreReleasedTestOnly()
200 if (LIKELY(!BG.Batches.empty())) { in verifyAllBlocksAreReleasedTestOnly()
201 for (const auto &It : BG.Batches) in verifyAllBlocksAreReleasedTestOnly()
677 BG->Batches.clear(); in pushBatchClassBlocks()
697 if (BG->Batches.empty()) { in pushBatchClassBlocks()
711 BG->Batches.push_front(TB); in pushBatchClassBlocks()
714 TransferBatchT *CurBatch = BG->Batches.front(); in pushBatchClassBlocks()
729 BG->Batches.push_front(CurBatch); in pushBatchClassBlocks()
766 BG->Batches.clear();
772 BG->Batches.push_front(TB);
781 SinglyLinkedList<TransferBatchT> &Batches = BG->Batches; variable
782 TransferBatchT *CurBatch = Batches.front();
793 Batches.push_front(CurBatch);
948 SinglyLinkedList<TransferBatchT> &Batches = in popBlocksImpl() local
949 Region->FreeListInfo.BlockList.front()->Batches; in popBlocksImpl()
951 if (Batches.empty()) { in popBlocksImpl()
973 TransferBatchT *B = Batches.front(); in popBlocksImpl()
987 Batches.pop_front(); in popBlocksImpl()
994 if (Batches.empty()) { in popBlocksImpl()
1384 const uptr NumBlocks = (BG->Batches.size() - 1) * BG->MaxCachedPerBatch + in collectGroupsToRelease()
1385 BG->Batches.front()->getCount(); in collectGroupsToRelease()
1561 const uptr NumBlocks = (BG.Batches.size() - 1) * BG.MaxCachedPerBatch + in markFreeBlocks()
1562 BG.Batches.front()->getCount(); in markFreeBlocks()
1565 for (const auto &It : BG.Batches) { in markFreeBlocks()
1566 if (&It != BG.Batches.front()) in markFreeBlocks()
1581 BG.Batches, DecompactPtr, Region->RegionBeg, /*RegionIndex=*/0, in markFreeBlocks()
1622 DCHECK(!BG->Batches.empty()); in mergeGroupsToReleaseBack()
1645 if (Cur->Batches.front()->getCount() == MaxCachedPerBatch) { in mergeGroupsToReleaseBack()
1646 BG->Batches.append_back(&Cur->Batches); in mergeGroupsToReleaseBack()
1648 TransferBatchT *NonFullBatch = Cur->Batches.front(); in mergeGroupsToReleaseBack()
1649 Cur->Batches.pop_front(); in mergeGroupsToReleaseBack()
1652 BG->Batches.append_back(&Cur->Batches); in mergeGroupsToReleaseBack()
1654 if (BG->Batches.front()->getCount() == MaxCachedPerBatch) { in mergeGroupsToReleaseBack()
1656 BG->Batches.push_front(NonFullBatch); in mergeGroupsToReleaseBack()
1660 BG->Batches.front()->getCount()), in mergeGroupsToReleaseBack()
1662 BG->Batches.front()->appendFromTransferBatch(NonFullBatch, in mergeGroupsToReleaseBack()
1667 BG->Batches.push_front(NonFullBatch); in mergeGroupsToReleaseBack()