Searched refs:EFI_PAGE_SHIFT (Results 1 – 21 of 21) sorted by relevance
256 end = start + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_memmap_split_count()321 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_memmap_insert()331 EFI_PAGE_SHIFT; in efi_memmap_insert()338 EFI_PAGE_SHIFT; in efi_memmap_insert()344 EFI_PAGE_SHIFT; in efi_memmap_insert()352 EFI_PAGE_SHIFT; in efi_memmap_insert()359 EFI_PAGE_SHIFT; in efi_memmap_insert()366 EFI_PAGE_SHIFT; in efi_memmap_insert()373 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()164 paddr, paddr + (npages << EFI_PAGE_SHIFT) - 1, in reserve_regions()
325 debugfs_blob[i].size = md->num_pages << EFI_PAGE_SHIFT; in efi_debugfs_init()445 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in efi_find_mirror()482 size = md->num_pages << EFI_PAGE_SHIFT; in efi_mem_desc_lookup()497 u64 size = md->num_pages << EFI_PAGE_SHIFT; in efi_mem_desc_end()856 (md->num_pages << EFI_PAGE_SHIFT)))) in efi_mem_attributes()880 (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()
21 !PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT); in region_is_misaligned()95 md->num_pages << EFI_PAGE_SHIFT, in efi_create_mapping()130 md->num_pages << EFI_PAGE_SHIFT, in efi_set_mapping_permissions()
278 u64 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT); in acpi_os_ioremap()
127 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in do_add_efi_memmap()236 #define OVERFLOW_ADDR_SHIFT (64 - EFI_PAGE_SHIFT)242 u64 end = (md->num_pages << EFI_PAGE_SHIFT) + md->phys_addr - 1; in efi_memmap_entry_valid()250 (md->phys_addr >> EFI_PAGE_SHIFT)) { in efi_memmap_entry_valid()317 md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1, in efi_print_memmap()318 (md->num_pages >> (20 - EFI_PAGE_SHIFT))); in efi_print_memmap()500 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()
23 mem_size = md->num_pages << EFI_PAGE_SHIFT; in memblock_init()
344 mem_size = md->num_pages << EFI_PAGE_SHIFT; in init_node_memblock()
94 md->num_pages << EFI_PAGE_SHIFT, in efi_set_mapping_permissions()
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)838 for (i = 0; i < len; i += (1UL << EFI_PAGE_SHIFT)) { in efi_range_is_wc()1030 *npages = PFN_UP(*addr + (*npages<<EFI_PAGE_SHIFT)) - PFN_DOWN(*addr); in memrange_efi_to_native()
40 #define EFI_PAGE_SHIFT 12 macro
742 region.size = md->num_pages << EFI_PAGE_SHIFT; in process_efi_entries()
31 size = md->num_pages << EFI_PAGE_SHIFT; in efi_set_mapping_permissions()
470 (md.phys_addr + (md.num_pages << EFI_PAGE_SHIFT))) { in efifb_probe()