Searched refs:last_page (Results 1 – 7 of 7) sorted by relevance
72 uint64_t last_page = first_page + page_count - 1; in set_dram_range() local77 range->last_page = (uint32_t)last_page; in set_dram_range()78 assert(range->last_page == last_page); // make sure the truncation wasn't lossy in set_dram_range()113 pages = dram_ranges[bank].last_page + 1 - dram_ranges[bank].first_page; in hibernate_page_list_allocate()132 bitmap->last_page = dram_ranges[bank].last_page; in hibernate_page_list_allocate()133 bitmap->bitmapwords = (bitmap->last_page + 1 in hibernate_page_list_allocate()139 ptoa_64(bitmap->last_page), bitmap->last_page); in hibernate_page_list_allocate()
325 (bank_bitmap->last_page >= header->restore1CodePhysPage)) { in pal_hib_resume_tramp()327 phys_end = ptoa_64(bank_bitmap->last_page) + PAGE_SIZE; in pal_hib_resume_tramp()395 uint64_t bank_end = ptoa_64(bank_bitmap->last_page) + PAGE_SIZE; in pal_hib_resume_tramp()
144 if (bank && (base == (1 + dram_ranges[bank - 1].last_page))) { in hibernate_page_list_allocate()156 dram_ranges[bank].last_page = base + num - 1; in hibernate_page_list_allocate()184 pages = dram_ranges[bank].last_page + 1 - dram_ranges[bank].first_page; in hibernate_page_list_allocate()203 bitmap->last_page = dram_ranges[bank].last_page; in hibernate_page_list_allocate()204 bitmap->bitmapwords = (bitmap->last_page + 1 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()339 if (page <= bitmap->last_page) { in hibernate_page_bitmap_pin()418 if ((page + count) > (bitmap->last_page + 1)) { in hibernate_page_bitmap_count()419 count = (bitmap->last_page + 1) - page; in hibernate_page_bitmap_count()435 if (nextFreeInBank <= bitmap->last_page) { in hibernate_page_list_grab()
420 if (page <= bitmap->last_page) { in hibernate_page_list_iterate()
195 uint32_t last_page; member
7492 last_bit = ((bitmap->last_page - bitmap->first_page + 1) & 31); in hibernate_page_list_zero()