Lines Matching refs:Run
53 RosAlloc::Run* RosAlloc::dedicated_full_run_ =
54 reinterpret_cast<RosAlloc::Run*>(dedicated_full_run_storage_);
503 Run* run = nullptr; in FreeInternal()
526 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in FreeInternal()
548 RosAlloc::Run* RosAlloc::AllocRun(Thread* self, size_t idx) { in AllocRun()
549 RosAlloc::Run* new_run = nullptr; in AllocRun()
552 new_run = reinterpret_cast<Run*>(AllocPages(self, numOfPages[idx], kPageMapRun)); in AllocRun()
582 RosAlloc::Run* RosAlloc::RefillRun(Thread* self, size_t idx) { in RefillRun()
588 Run* non_full_run = *it; in RefillRun()
599 Run* current_run = current_runs_[idx]; in AllocFromCurrentRunUnlocked()
665 Run* thread_local_run = reinterpret_cast<Run*>(self->GetRosAllocRun(idx)); in AllocFromRun()
759 size_t RosAlloc::FreeFromRun(Thread* self, void* ptr, Run* run) { in FreeFromRun()
791 std::set<Run*>::iterator pos = non_full_runs->find(run); in FreeFromRun()
840 std::string RosAlloc::Run::FreeListToStr(SlotFreeList<kUseTail>* free_list) { in FreeListToStr()
859 std::string RosAlloc::Run::Dump() { in Dump()
874 void RosAlloc::Run::FreeSlot(void* ptr) { in FreeSlot()
889 inline bool RosAlloc::Run::MergeThreadLocalFreeListToFreeList(bool* is_all_free_after_out) { in MergeThreadLocalFreeListToFreeList()
904 inline void RosAlloc::Run::MergeBulkFreeListToFreeList() { in MergeBulkFreeListToFreeList()
910 inline void RosAlloc::Run::MergeBulkFreeListToThreadLocalFreeList() { in MergeBulkFreeListToThreadLocalFreeList()
916 inline void RosAlloc::Run::AddToThreadLocalFreeList(void* ptr) { in AddToThreadLocalFreeList()
921 inline size_t RosAlloc::Run::AddToBulkFreeList(void* ptr) { in AddToBulkFreeList()
925 inline size_t RosAlloc::Run::AddToFreeListShared(void* ptr, in AddToFreeListShared()
940 inline void RosAlloc::Run::ZeroHeaderAndSlotHeaders() { in ZeroHeaderAndSlotHeaders()
961 inline void RosAlloc::Run::ZeroData() { in ZeroData()
967 void RosAlloc::Run::InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void… in InspectAllSlots()
1021 std::vector<Run*> runs; in BulkFree()
1023 std::unordered_set<Run*, hash_run, eq_run> runs; in BulkFree()
1030 Run* run = nullptr; in BulkFree()
1040 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in BulkFree()
1048 run = reinterpret_cast<Run*>(base_ + pi * kPageSize); in BulkFree()
1067 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in BulkFree()
1075 run = reinterpret_cast<Run*>(base_ + pi * kPageSize); in BulkFree()
1101 for (Run* run : runs) { in BulkFree()
1143 std::unordered_set<Run*, hash_run, eq_run>::iterator pos = full_runs->find(run); in BulkFree()
1276 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in DumpPageMap()
1333 Run* run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in UsableSize()
1461 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in InspectAll()
1513 Run* thread_local_run = reinterpret_cast<Run*>(thread->GetRosAllocRun(idx)); in RevokeThreadLocalRuns()
1543 void RosAlloc::RevokeRun(Thread* self, size_t idx, Run* run) { in RevokeRun()
1604 Run* thread_local_run = reinterpret_cast<Run*>(thread->GetRosAllocRun(idx)); in AssertThreadLocalRunsAreRevoked()
1671 size_t fixed_header_size = RoundUp(Run::fixed_header_size(), sizeof(uint64_t)); in Initialize()
1747 std::vector<Run*> runs; in Verify()
1814 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in Verify()
1847 Run* thread_local_run = reinterpret_cast<Run*>(thread->GetRosAllocRun(i)); in Verify()
1856 Run* current_run = current_runs_[i]; in Verify()
1870 void RosAlloc::Run::Verify(Thread* self, RosAlloc* rosalloc, bool running_on_memory_tool) { in Verify()
1891 Run* thread_local_run = reinterpret_cast<Run*>(thread->GetRosAllocRun(i)); in Verify()
1911 Run* current_run = rosalloc->current_runs_[i]; in Verify()
2142 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in DumpStats()