Home
last modified time | relevance | path

Searched refs:last_page (Results 1 – 8 of 8) sorted by relevance

/xnu-12377.81.4/osfmk/arm64/
H A Dhibernate_arm64.c72 uint64_t last_page = first_page + page_count - 1; in set_dram_range() local
77 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()
H A Dhibernate_restore.c324 (bank_bitmap->last_page >= header->restore1CodePhysPage)) { in pal_hib_resume_tramp()
326 phys_end = ptoa_64(bank_bitmap->last_page) + PAGE_SIZE; in pal_hib_resume_tramp()
394 uint64_t bank_end = ptoa_64(bank_bitmap->last_page) + PAGE_SIZE; in pal_hib_resume_tramp()
/xnu-12377.81.4/osfmk/i386/
H A Dhibernate_i386.c144 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()
/xnu-12377.81.4/iokit/Kernel/
H A DIOHibernateRestoreKernel.c316 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()
H A DIOHibernateIO.cpp484 if (page <= bitmap->last_page) { in hibernate_page_list_iterate()
/xnu-12377.81.4/iokit/IOKit/
H A DIOHibernatePrivate.h414 uint32_t last_page; member
/xnu-12377.81.4/bsd/vfs/
H A Dvfs_cluster.c1810 int last_page = (cached_upl_size / PAGE_SIZE) - 1; in cluster_io() local
1812 if ((last_page != 0 || !first_page_needs_sync) && upl_dirty_page(cached_pl, last_page)) { in cluster_io()
/xnu-12377.81.4/osfmk/vm/
H A Dvm_resident.c9268 last_bit = ((bitmap->last_page - bitmap->first_page + 1) & 31); in hibernate_page_list_zero()