Searched refs:EFI_PAGE_SIZE (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/firmware/efi/libstub/ |
H A D | alignedmem.c | 40 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 D | arm32-stub.c | 97 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 D | relocate.c | 45 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 D | randomalloc.c | 35 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 D | zboot.c | 46 alloc_size / EFI_PAGE_SIZE, &efi_addr) == EFI_SUCCESS) in alloc_preferred_address()
|
/linux/arch/x86/platform/efi/ |
H A D | memmap.c | 180 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 D | efi.c | 54 .length = md->num_pages * EFI_PAGE_SIZE, in efi_create_mapping()
|
/linux/drivers/xen/ |
H A D | efi.c | 307 phys_addr &= ~(u64)(EFI_PAGE_SIZE - 1); in efi_mem_desc_lookup()
|
/linux/include/linux/ |
H A D | efi.h | 136 #define EFI_PAGE_SIZE (1UL << EFI_PAGE_SHIFT) macro
|
/linux/drivers/firmware/efi/ |
H A D | efi.c | 544 if ((md->phys_addr & (EFI_PAGE_SIZE - 1)) || in __efi_mem_desc_lookup()
|