Searched refs:EFI_PAGE_SIZE (Results 1 – 15 of 15) sorted by relevance
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
D | alignedmem.c | 36 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned() 39 EFI_LOADER_DATA, size / EFI_PAGE_SIZE + slack, in efi_allocate_pages_aligned() 47 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned()
|
D | mem.c | 97 if (EFI_ALLOC_ALIGN > EFI_PAGE_SIZE) in efi_allocate_pages() 103 EFI_LOADER_DATA, DIV_ROUND_UP(size, EFI_PAGE_SIZE), in efi_allocate_pages() 130 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
|
D | relocate.c | 54 nr_pages = size / EFI_PAGE_SIZE; in efi_low_alloc_above() 73 end = start + desc->num_pages * EFI_PAGE_SIZE; in efi_low_alloc_above() 147 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
|
D | arm32-stub.c | 133 status = efi_low_alloc_above(alloc_size, EFI_PAGE_SIZE, &alloc_base, 0x0); in handle_kernel_image() 157 (*reserve_addr - alloc_base) / EFI_PAGE_SIZE); in handle_kernel_image() 161 (alloc_size - MAX_UNCOMP_KERNEL_SIZE) / EFI_PAGE_SIZE); in handle_kernel_image()
|
D | randomalloc.c | 31 region_end = min(md->phys_addr + md->num_pages * EFI_PAGE_SIZE - 1, in get_entry_num_slots() 116 pages = size / EFI_PAGE_SIZE; in efi_random_alloc()
|
D | arm64-stub.c | 65 u64 end = md->phys_addr + md->num_pages * EFI_PAGE_SIZE; in check_image_region()
|
D | efi-stub.c | 344 size = in->num_pages * EFI_PAGE_SIZE; in efi_get_virtmap()
|
D | efistub.h | 29 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE
|
/kernel/linux/linux-5.10/arch/x86/platform/efi/ |
D | quirks.c | 264 size += addr % EFI_PAGE_SIZE; in efi_arch_mem_reserve() 265 size = round_up(size, EFI_PAGE_SIZE); in efi_arch_mem_reserve() 266 addr = round_down(addr, EFI_PAGE_SIZE); in efi_arch_mem_reserve()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | efi.c | 50 .length = md->num_pages * EFI_PAGE_SIZE, in efi_create_mapping()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
D | memmap.c | 308 if (!IS_ALIGNED(m_start, EFI_PAGE_SIZE) || in efi_memmap_insert() 309 !IS_ALIGNED(m_end + 1, EFI_PAGE_SIZE)) { in efi_memmap_insert()
|
D | memattr.c | 70 if (PAGE_SIZE > EFI_PAGE_SIZE && in entry_is_valid()
|
D | mokvar-table.c | 148 map_size = min(map_size_needed + 2*EFI_PAGE_SIZE, in efi_mokvar_table_init()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | efi.c | 17 if (PAGE_SIZE == EFI_PAGE_SIZE) in region_is_misaligned()
|
/kernel/linux/linux-5.10/include/linux/ |
D | efi.h | 132 #define EFI_PAGE_SIZE (1UL << EFI_PAGE_SHIFT) macro
|