Lines Matching refs:page_map_
100 page_map_ = page_map_mem_map_.Begin(); in RosAlloc()
276 page_map_[page_map_idx] = kPageMapRun; in AllocPages()
278 page_map_[page_map_idx + i] = kPageMapRunPart; in AllocPages()
282 page_map_[page_map_idx] = kPageMapLargeObject; in AllocPages()
284 page_map_[page_map_idx + i] = kPageMapLargeObjectPart; in AllocPages()
314 uint8_t pm_type = page_map_[pm_idx]; in FreePages()
332 page_map_[pm_idx] = kPageMapEmpty; in FreePages()
335 while (idx < end && page_map_[idx] == pm_part_type) { in FreePages()
336 page_map_[idx] = kPageMapEmpty; in FreePages()
507 uint8_t page_map_entry = page_map_[pm_idx]; in FreeInternal()
512 switch (page_map_[pm_idx]) { in FreeInternal()
516 LOG(FATAL) << "Unreachable - page map type: " << static_cast<int>(page_map_[pm_idx]); in FreeInternal()
523 } while (page_map_[pm_idx] != kPageMapRun); in FreeInternal()
531 LOG(FATAL) << "Unreachable - page map type: " << static_cast<int>(page_map_[pm_idx]); in FreeInternal()
535 LOG(FATAL) << "Unreachable - page map type: " << static_cast<int>(page_map_[pm_idx]); in FreeInternal()
1033 uint8_t page_map_entry = page_map_[pm_idx]; in BulkFree()
1047 } while (page_map_[pi] != kPageMapRun); in BulkFree()
1060 uint8_t page_map_entry = page_map_[pm_idx]; in BulkFree()
1074 } while (page_map_[pi] != kPageMapRun); in BulkFree()
1218 uint8_t pm = page_map_[i]; in DumpPageMap()
1304 switch (page_map_[pm_idx]) { in UsableSize()
1315 while (idx < end && page_map_[idx] == kPageMapLargeObjectPart) { in UsableSize()
1328 while (page_map_[pm_idx] != kPageMapRun) { in UsableSize()
1332 DCHECK_EQ(page_map_[pm_idx], kPageMapRun); in UsableSize()
1342 LOG(FATAL) << "Unreachable - page map type: " << static_cast<int>(page_map_[pm_idx]); in UsableSize()
1366 uint8_t* zero_begin = const_cast<uint8_t*>(page_map_) + new_num_of_pages; in Trim()
1407 uint8_t pm = page_map_[i]; in InspectAll()
1439 while (idx < pm_end && page_map_[idx] == kPageMapLargeObjectPart) { in InspectAll()
1449 DCHECK_EQ(page_map_[j], kPageMapLargeObjectPart); in InspectAll()
1469 DCHECK_EQ(page_map_[j], kPageMapRunPart); in InspectAll()
1756 uint8_t pm = page_map_[i]; in Verify()
1788 while (idx < pm_end && page_map_[idx] == kPageMapLargeObjectPart) { in Verify()
1822 CHECK_EQ(page_map_[j], kPageMapRunPart) in Verify()
1992 uint8_t pm = page_map_[i]; in ReleasePages()
2063 if (page_map_[pm_idx] == kPageMapEmpty) { in ReleasePageRange()
2066 page_map_[pm_idx] = kPageMapReleased; in ReleasePageRange()
2119 uint8_t pm = page_map_[i]; in DumpStats()
2128 while (idx < page_map_size_ && page_map_[idx] == kPageMapLargeObjectPart) { in DumpStats()