Home
last modified time | relevance | path

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

/xnu-12377.81.4/osfmk/arm64/
H A Dhibernate_arm64.c70 uint64_t first_page = atop_64(start_addr); in set_dram_range() local
72 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 …]
H A Dpal_hibernate.h90 void pal_hib_get_stack_pages(vm_offset_t *first_page, vm_offset_t *page_count);
H A Dhibernate_restore.c323 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()
/xnu-12377.81.4/osfmk/i386/
H A Dhibernate_i386.c131 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()
/xnu-12377.81.4/iokit/Kernel/
H A DIOHibernateRestoreKernel.c316 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()
/xnu-12377.81.4/iokit/IOKit/
H A DIOHibernatePrivate.h413 uint32_t first_page; member
/xnu-12377.81.4/osfmk/kern/
H A Dexclaves.c2105 uint32_t *first_page = (uint32_t *)phystokv(first_page_pa); in handle_response_pmm_early_alloc()
2107 first_page[i] = page[i]; in handle_response_pmm_early_alloc()
/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()