Home
last modified time | relevance | path

Searched refs:EFI_PAGE_SIZE (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/firmware/efi/libstub/
H A Dalignedmem.c40 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned()
43 memory_type, size / EFI_PAGE_SIZE + slack, in efi_allocate_pages_aligned()
51 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned()
H A Darm32-stub.c97 status = efi_low_alloc_above(alloc_size, EFI_PAGE_SIZE, &alloc_base, 0x0); in handle_kernel_image()
121 (*reserve_addr - alloc_base) / EFI_PAGE_SIZE); in handle_kernel_image()
125 (alloc_size - MAX_UNCOMP_KERNEL_SIZE) / EFI_PAGE_SIZE); in handle_kernel_image()
H A Drelocate.c45 nr_pages = size / EFI_PAGE_SIZE; in efi_low_alloc_above()
67 end = start + desc->num_pages * EFI_PAGE_SIZE; in efi_low_alloc_above()
139 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
H A Drandomalloc.c35 region_end = min(md->phys_addr + md->num_pages * EFI_PAGE_SIZE - 1, in get_entry_num_slots()
127 pages = size / EFI_PAGE_SIZE; in efi_random_alloc()
H A Dzboot.c46 alloc_size / EFI_PAGE_SIZE, &efi_addr) == EFI_SUCCESS) in alloc_preferred_address()
/linux/arch/x86/platform/efi/
H A Dmemmap.c180 if (!IS_ALIGNED(m_start, EFI_PAGE_SIZE) || in efi_memmap_insert()
181 !IS_ALIGNED(m_end + 1, EFI_PAGE_SIZE)) { in efi_memmap_insert()
/linux/arch/arm/kernel/
H A Defi.c54 .length = md->num_pages * EFI_PAGE_SIZE, in efi_create_mapping()
/linux/drivers/xen/
H A Defi.c307 phys_addr &= ~(u64)(EFI_PAGE_SIZE - 1); in efi_mem_desc_lookup()
/linux/include/linux/
H A Defi.h136 #define EFI_PAGE_SIZE (1UL << EFI_PAGE_SHIFT) macro
/linux/drivers/firmware/efi/
H A Defi.c544 if ((md->phys_addr & (EFI_PAGE_SIZE - 1)) || in __efi_mem_desc_lookup()