Lines Matching refs:num_pages
118 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in efi_find_mirror()
147 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in do_add_efi_memmap()
262 u64 end = (md->num_pages << EFI_PAGE_SHIFT) + md->phys_addr - 1; in efi_memmap_entry_valid()
266 if (md->num_pages == 0) { in efi_memmap_entry_valid()
268 } else if (md->num_pages > EFI_PAGES_MAX || in efi_memmap_entry_valid()
269 EFI_PAGES_MAX - md->num_pages < in efi_memmap_entry_valid()
271 end_hi = (md->num_pages & OVERFLOW_ADDR_MASK) in efi_memmap_entry_valid()
337 md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1, in efi_print_memmap()
338 (md->num_pages >> (20 - EFI_PAGE_SHIFT))); in efi_print_memmap()
520 prev_size = prev_md->num_pages << EFI_PAGE_SHIFT; in efi_merge_regions()
523 prev_md->num_pages += md->num_pages; in efi_merge_regions()
710 unsigned int num_pages; in kexec_enter_virtual_mode() local
748 num_pages = ALIGN(efi.memmap.nr_map * efi.memmap.desc_size, PAGE_SIZE); in kexec_enter_virtual_mode()
749 num_pages >>= PAGE_SHIFT; in kexec_enter_virtual_mode()
751 if (efi_setup_page_tables(efi.memmap.phys_map, num_pages)) { in kexec_enter_virtual_mode()