Searched refs:first_page (Results 1 – 8 of 8) sorted by relevance
70 uint64_t first_page = atop_64(start_addr); in set_dram_range() local72 uint64_t last_page = first_page + page_count - 1; in set_dram_range()74 range->first_page = (uint32_t)first_page; in set_dram_range()75 assert(range->first_page == first_page); // make sure the truncation wasn't lossy in set_dram_range()85 return ((const hibernate_bitmap_t *)a)->first_page - ((const hibernate_bitmap_t *)b)->first_page; in dram_range_compare()113 pages = dram_ranges[bank].last_page + 1 - dram_ranges[bank].first_page; in hibernate_page_list_allocate()131 bitmap->first_page = dram_ranges[bank].first_page; in hibernate_page_list_allocate()134 - bitmap->first_page + 31) >> 5; in hibernate_page_list_allocate()138 ptoa_64(bitmap->first_page), bitmap->first_page, in hibernate_page_list_allocate()158 pal_hib_get_stack_pages(vm_offset_t *first_page, vm_offset_t *page_count) in pal_hib_get_stack_pages() argument[all …]
90 void pal_hib_get_stack_pages(vm_offset_t *first_page, vm_offset_t *page_count);
323 if ((bank_bitmap->first_page <= header->restore1CodePhysPage) && in pal_hib_resume_tramp()325 phys_start = ptoa_64(bank_bitmap->first_page); in pal_hib_resume_tramp()393 uint64_t bank_start = ptoa_64(bank_bitmap->first_page); in pal_hib_resume_tramp()
131 if (dram_ranges[bank].first_page <= base) { in hibernate_page_list_allocate()134 if ((base + num) == dram_ranges[bank].first_page) { in hibernate_page_list_allocate()135 dram_ranges[bank].first_page = base; in hibernate_page_list_allocate()154 dram_ranges[bank].first_page = base; in hibernate_page_list_allocate()184 pages = dram_ranges[bank].last_page + 1 - dram_ranges[bank].first_page; in hibernate_page_list_allocate()202 bitmap->first_page = dram_ranges[bank].first_page; in hibernate_page_list_allocate()205 - bitmap->first_page + 31) >> 5; in hibernate_page_list_allocate()208 bank, bitmap->first_page, bitmap->last_page); in hibernate_page_list_allocate()
316 if ((page >= bitmap->first_page) && (page <= bitmap->last_page)) { in hibernate_page_bitmap()335 if (page <= bitmap->first_page) { in hibernate_page_bitmap_pin()336 *pPage = bitmap->first_page; in hibernate_page_bitmap_pin()358 page -= bitmap->first_page; in hibernate_page_bitset()378 page -= bitmap->first_page; in hibernate_page_bittst()393 index = (page - bitmap->first_page) >> 5; in hibernate_page_bitmap_count()394 bit = (page - bitmap->first_page) & 31; in hibernate_page_bitmap_count()
413 uint32_t first_page; member
2066 uint32_t *first_page = (uint32_t *)phystokv(first_page_pa); in handle_response_pmm_early_alloc()2068 first_page[i] = page[i]; in handle_response_pmm_early_alloc()
9267 last_bit = ((bitmap->last_page - bitmap->first_page + 1) & 31); in hibernate_page_list_zero()