Lines Matching refs:Run
47 RosAlloc::Run* RosAlloc::dedicated_full_run_ =
48 reinterpret_cast<RosAlloc::Run*>(dedicated_full_run_storage_);
489 Run* run = nullptr; in FreeInternal()
512 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in FreeInternal()
535 RosAlloc::Run* RosAlloc::AllocRun(Thread* self, size_t idx) { in AllocRun()
536 RosAlloc::Run* new_run = nullptr; in AllocRun()
539 new_run = reinterpret_cast<Run*>(AllocPages(self, numOfPages[idx], kPageMapRun)); in AllocRun()
570 RosAlloc::Run* RosAlloc::RefillRun(Thread* self, size_t idx) { in RefillRun()
572 std::set<Run*>* const bt = &non_full_runs_[idx]; in RefillRun()
576 Run* non_full_run = *it; in RefillRun()
587 Run* current_run = current_runs_[idx]; in AllocFromCurrentRunUnlocked()
655 Run* thread_local_run = reinterpret_cast<Run*>(self->GetRosAllocRun(idx)); in AllocFromRun()
741 size_t RosAlloc::FreeFromRun(Thread* self, void* ptr, Run* run) { in FreeFromRun()
770 std::set<Run*>* non_full_runs = &non_full_runs_[idx]; in FreeFromRun()
773 std::set<Run*>::iterator pos = non_full_runs->find(run); in FreeFromRun()
796 std::unordered_set<Run*, hash_run, eq_run>* full_runs = in FreeFromRun()
798 std::set<Run*>::iterator pos = non_full_runs->find(run); in FreeFromRun()
822 std::string RosAlloc::Run::BitMapToStr(uint32_t* bit_map_base, size_t num_vec) { in BitMapToStr()
835 std::string RosAlloc::Run::Dump() { in Dump()
853 inline void* RosAlloc::Run::AllocSlot() { in AllocSlot()
891 void RosAlloc::Run::FreeSlot(void* ptr) { in FreeSlot()
921 inline bool RosAlloc::Run::MergeThreadLocalFreeBitMapToAllocBitMap(bool* is_all_free_after_out) { in MergeThreadLocalFreeBitMapToAllocBitMap()
961 inline void RosAlloc::Run::MergeBulkFreeBitMapIntoAllocBitMap() { in MergeBulkFreeBitMapIntoAllocBitMap()
978 inline void RosAlloc::Run::UnionBulkFreeBitMapToThreadLocalFreeBitMap() { in UnionBulkFreeBitMapToThreadLocalFreeBitMap()
994 inline void RosAlloc::Run::MarkThreadLocalFreeBitMap(void* ptr) { in MarkThreadLocalFreeBitMap()
999 inline size_t RosAlloc::Run::MarkBulkFreeBitMap(void* ptr) { in MarkBulkFreeBitMap()
1003 inline size_t RosAlloc::Run::MarkFreeBitMapShared(void* ptr, uint32_t* free_bit_map_base, in MarkFreeBitMapShared()
1032 inline uint32_t RosAlloc::Run::GetBitmapLastVectorMask(size_t num_slots, size_t num_vec) { in GetBitmapLastVectorMask()
1040 inline bool RosAlloc::Run::IsAllFree() { in IsAllFree()
1056 inline bool RosAlloc::Run::IsFull() { in IsFull()
1066 inline bool RosAlloc::Run::IsBulkFreeBitmapClean() { in IsBulkFreeBitmapClean()
1077 inline bool RosAlloc::Run::IsThreadLocalFreeBitmapClean() { in IsThreadLocalFreeBitmapClean()
1088 inline void RosAlloc::Run::SetAllocBitMapBitsForInvalidSlots() { in SetAllocBitMapBitsForInvalidSlots()
1098 inline void RosAlloc::Run::ZeroHeader() { in ZeroHeader()
1103 inline void RosAlloc::Run::ZeroData() { in ZeroData()
1109 inline void RosAlloc::Run::FillAllocBitMap() { in FillAllocBitMap()
1115 void RosAlloc::Run::InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void… in InspectAllSlots()
1161 std::vector<Run*> runs; in BulkFree()
1163 std::unordered_set<Run*, hash_run, eq_run> runs; in BulkFree()
1170 Run* run = nullptr; in BulkFree()
1180 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in BulkFree()
1188 run = reinterpret_cast<Run*>(base_ + pi * kPageSize); in BulkFree()
1207 run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in BulkFree()
1215 run = reinterpret_cast<Run*>(base_ + pi * kPageSize); in BulkFree()
1241 for (Run* run : runs) { in BulkFree()
1269 std::set<Run*>* non_full_runs = &non_full_runs_[idx]; in BulkFree()
1270 std::unordered_set<Run*, hash_run, eq_run>* full_runs = in BulkFree()
1284 std::unordered_set<Run*, hash_run, eq_run>::iterator pos = full_runs->find(run); in BulkFree()
1417 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in DumpPageMap()
1474 Run* run = reinterpret_cast<Run*>(base_ + pm_idx * kPageSize); in UsableSize()
1603 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in InspectAll()
1655 Run* thread_local_run = reinterpret_cast<Run*>(thread->GetRosAllocRun(idx)); in RevokeThreadLocalRuns()
1674 void RosAlloc::RevokeRun(Thread* self, size_t idx, Run* run) { in RevokeRun()
1733 Run* thread_local_run = reinterpret_cast<Run*>(thread->GetRosAllocRun(idx)); in AssertThreadLocalRunsAreRevoked()
1798 size_t fixed_header_size = RoundUp(Run::fixed_header_size(), sizeof(uint32_t)); in Initialize()
1878 std::vector<Run*> runs; in Verify()
1939 Run* run = reinterpret_cast<Run*>(base_ + i * kPageSize); in Verify()
1972 Run* thread_local_run = reinterpret_cast<Run*>(thread->GetRosAllocRun(i)); in Verify()
1981 Run* current_run = current_runs_[i]; in Verify()
1995 void RosAlloc::Run::Verify(Thread* self, RosAlloc* rosalloc) { in Verify()
2023 Run* thread_local_run = reinterpret_cast<Run*>(thread->GetRosAllocRun(i)); in Verify()
2043 Run* current_run = rosalloc->current_runs_[i]; in Verify()
2059 std::set<Run*>& non_full_runs = rosalloc->non_full_runs_[idx]; in Verify()
2069 std::unordered_set<Run*, hash_run, eq_run>& full_runs = rosalloc->full_runs_[idx]; in Verify()