Searched refs:EFI_PAGE_SIZE (Results 1 – 18 of 18) 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 | mem.c | 90 if (EFI_ALLOC_ALIGN > EFI_PAGE_SIZE) in efi_allocate_pages() 97 EFI_LOADER_DATA, DIV_ROUND_UP(size, EFI_PAGE_SIZE), in efi_allocate_pages() 124 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
|
| 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() 131 pages = size / EFI_PAGE_SIZE; in efi_random_alloc()
|
| H A D | zboot.c | 16 alloc_size / EFI_PAGE_SIZE, &efi_addr) == EFI_SUCCESS) in alloc_preferred_address()
|
| H A D | kaslr.c | 71 u64 end = md->phys_addr + md->num_pages * EFI_PAGE_SIZE; in check_image_region()
|
| H A D | efi-stub.c | 244 size = in->num_pages * EFI_PAGE_SIZE; in efi_get_virtmap()
|
| H A D | x86-stub.c | 376 rounded_start = rounddown(start, EFI_PAGE_SIZE); in efi_adjust_memory_range_protection() 377 rounded_end = roundup(start + size, EFI_PAGE_SIZE); in efi_adjust_memory_range_protection()
|
| H A D | efistub.h | 30 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE
|
| /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()
|
| H A D | quirks.c | 272 size += addr % EFI_PAGE_SIZE; in efi_arch_mem_reserve() 273 size = round_up(size, EFI_PAGE_SIZE); in efi_arch_mem_reserve() 274 addr = round_down(addr, EFI_PAGE_SIZE); in efi_arch_mem_reserve()
|
| /linux/arch/arm/kernel/ |
| H A D | efi.c | 54 .length = md->num_pages * EFI_PAGE_SIZE, in efi_create_mapping()
|
| /linux/drivers/firmware/efi/ |
| H A D | memattr.c | 85 if (PAGE_SIZE > EFI_PAGE_SIZE && in entry_is_valid()
|
| H A D | efi.c | 553 if ((md->phys_addr & (EFI_PAGE_SIZE - 1)) || in __efi_mem_desc_lookup()
|
| /linux/arch/arm64/kernel/ |
| H A D | efi.c | 23 if (PAGE_SIZE == EFI_PAGE_SIZE) in region_is_misaligned()
|
| /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
|