Searched refs:EFI_PAGE_SHIFT (Results 1 – 18 of 18) sorted by relevance
257 end = start + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_memmap_split_count()322 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_memmap_insert()332 EFI_PAGE_SHIFT; in efi_memmap_insert()339 EFI_PAGE_SHIFT; in efi_memmap_insert()345 EFI_PAGE_SHIFT; in efi_memmap_insert()353 EFI_PAGE_SHIFT; in efi_memmap_insert()360 EFI_PAGE_SHIFT; in efi_memmap_insert()367 EFI_PAGE_SHIFT; in efi_memmap_insert()374 EFI_PAGE_SHIFT; in efi_memmap_insert()
59 u64 in_size = in->num_pages << EFI_PAGE_SHIFT; in entry_is_valid()72 !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) { in entry_is_valid()86 u64 md_size = md->num_pages << EFI_PAGE_SHIFT; in entry_is_valid()164 size = md.num_pages << EFI_PAGE_SHIFT; in efi_memattr_apply_permissions()
48 (addr - md->virt_addr) < (md->num_pages << EFI_PAGE_SHIFT)) in efi_to_phys()189 paddr, paddr + (npages << EFI_PAGE_SHIFT) - 1, in reserve_regions()
339 debugfs_blob[i].size = md->num_pages << EFI_PAGE_SHIFT; in efi_debugfs_init()465 size = md->num_pages << EFI_PAGE_SHIFT; in efi_mem_desc_lookup()480 u64 size = md->num_pages << EFI_PAGE_SHIFT; in efi_mem_desc_end()816 (md->num_pages << EFI_PAGE_SHIFT)))) in efi_mem_attributes()840 (md->num_pages << EFI_PAGE_SHIFT)))) in efi_mem_type()
47 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_fake_memmap_early()
88 int md_size = md->num_pages << EFI_PAGE_SHIFT; in riscv_enable_runtime_services()
110 int md_size = md->num_pages << EFI_PAGE_SHIFT; in arm_enable_runtime_services()
45 size = md->num_pages << EFI_PAGE_SHIFT; in efi_check_md_for_embedded_firmware()
67 !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT)) { in efi_create_mapping()81 md->num_pages << EFI_PAGE_SHIFT, in efi_create_mapping()113 md->num_pages << EFI_PAGE_SHIFT, in efi_set_mapping_permissions()
285 u64 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT); in acpi_os_ioremap()
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()256 #define OVERFLOW_ADDR_SHIFT (64 - EFI_PAGE_SHIFT)262 u64 end = (md->num_pages << EFI_PAGE_SHIFT) + md->phys_addr - 1; in efi_memmap_entry_valid()270 (md->phys_addr >> EFI_PAGE_SHIFT)) { 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()
259 if (addr + size > md.phys_addr + (md.num_pages << EFI_PAGE_SHIFT)) { in efi_arch_mem_reserve()325 u64 size = md->num_pages << EFI_PAGE_SHIFT; in efi_reserve_boot_services()412 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in efi_free_boot_services()
293 #define efi_md_size(md) (md->num_pages << EFI_PAGE_SHIFT)298 return (kmd->start + (kmd->num_pages << EFI_PAGE_SHIFT)); in kmd_end()330 end = (k->start + (k->num_pages << EFI_PAGE_SHIFT)) & PAGE_MASK; in walk()573 size = md->num_pages << EFI_PAGE_SHIFT; in efi_init()714 if (phys_addr - md->start < (md->num_pages << EFI_PAGE_SHIFT)) in kern_memory_descriptor()1106 >> EFI_PAGE_SHIFT; in efi_memmap_init()1111 >> EFI_PAGE_SHIFT; in efi_memmap_init()1130 >> EFI_PAGE_SHIFT; in efi_memmap_init()1151 prev->num_pages += (ae - as) >> EFI_PAGE_SHIFT; in efi_memmap_init()1157 k->num_pages = (ae - as) >> EFI_PAGE_SHIFT; in efi_memmap_init()
131 #define EFI_PAGE_SHIFT 12 macro132 #define EFI_PAGE_SIZE (1UL << EFI_PAGE_SHIFT)133 #define EFI_PAGES_MAX (U64_MAX >> EFI_PAGE_SHIFT)757 for (i = 0; i < len; i += (1UL << EFI_PAGE_SHIFT)) { in efi_range_is_wc()930 *npages = PFN_UP(*addr + (*npages<<EFI_PAGE_SHIFT)) - PFN_DOWN(*addr); in memrange_efi_to_native()
30 size = md->num_pages << EFI_PAGE_SHIFT; in efi_set_mapping_permissions()
94 md->num_pages << EFI_PAGE_SHIFT, in efi_set_mapping_permissions()
742 region.size = md->num_pages << EFI_PAGE_SHIFT; in process_efi_entries()
474 (md.phys_addr + (md.num_pages << EFI_PAGE_SHIFT))) { in efifb_probe()
Completed in 27 milliseconds