Home
last modified time | relevance | path

Searched refs:EFI_PAGE_SHIFT (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/drivers/firmware/efi/
Dmemmap.c256 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()
Dmemattr.c59 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()
Defi-init.c48 (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()
Defi.c325 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()
Dx86_fake_mem.c47 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_fake_memmap_early()
Driscv-runtime.c88 int md_size = md->num_pages << EFI_PAGE_SHIFT; in riscv_enable_runtime_services()
Darm-runtime.c110 int md_size = md->num_pages << EFI_PAGE_SHIFT; in arm_enable_runtime_services()
Dembedded-firmware.c45 size = md->num_pages << EFI_PAGE_SHIFT; in efi_check_md_for_embedded_firmware()
/linux-6.1.9/arch/arm64/kernel/
Defi.c21 !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()
Dacpi.c278 u64 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT); in acpi_os_ioremap()
/linux-6.1.9/arch/x86/platform/efi/
Defi.c127 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()
Dquirks.c259 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()
/linux-6.1.9/arch/ia64/kernel/
Defi.c293 #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()
/linux-6.1.9/arch/loongarch/kernel/
Dmem.c23 mem_size = md->num_pages << EFI_PAGE_SHIFT; in memblock_init()
Dnuma.c344 mem_size = md->num_pages << EFI_PAGE_SHIFT; in init_node_memblock()
/linux-6.1.9/arch/riscv/kernel/
Defi.c94 md->num_pages << EFI_PAGE_SHIFT, in efi_set_mapping_permissions()
/linux-6.1.9/include/linux/
Defi.h131 #define EFI_PAGE_SHIFT 12 macro
132 #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()
/linux-6.1.9/arch/x86/boot/compressed/
Defi.h40 #define EFI_PAGE_SHIFT 12 macro
Dkaslr.c742 region.size = md->num_pages << EFI_PAGE_SHIFT; in process_efi_entries()
/linux-6.1.9/arch/arm/kernel/
Defi.c31 size = md->num_pages << EFI_PAGE_SHIFT; in efi_set_mapping_permissions()
/linux-6.1.9/drivers/video/fbdev/
Defifb.c470 (md.phys_addr + (md.num_pages << EFI_PAGE_SHIFT))) { in efifb_probe()