Searched refs:EFI_PAGE_SIZE (Results 1 – 19 of 19) sorted by relevance
/Linux-v6.6/drivers/firmware/efi/libstub/ |
D | alignedmem.c | 39 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned() 42 memory_type, size / EFI_PAGE_SIZE + slack, in efi_allocate_pages_aligned() 50 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned()
|
D | mem.c | 94 if (EFI_ALLOC_ALIGN > EFI_PAGE_SIZE) in efi_allocate_pages() 101 EFI_LOADER_DATA, DIV_ROUND_UP(size, EFI_PAGE_SIZE), in efi_allocate_pages() 128 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
|
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()
|
D | relocate.c | 45 nr_pages = size / EFI_PAGE_SIZE; in efi_low_alloc_above() 64 end = start + desc->num_pages * EFI_PAGE_SIZE; in efi_low_alloc_above() 138 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
|
D | randomalloc.c | 32 region_end = min(md->phys_addr + md->num_pages * EFI_PAGE_SIZE - 1, in get_entry_num_slots() 122 pages = size / EFI_PAGE_SIZE; in efi_random_alloc()
|
D | kaslr.c | 71 u64 end = md->phys_addr + md->num_pages * EFI_PAGE_SIZE; in check_image_region()
|
D | zboot.c | 46 alloc_size / EFI_PAGE_SIZE, &efi_addr) == EFI_SUCCESS) in alloc_preferred_address()
|
D | efi-stub.c | 246 size = in->num_pages * EFI_PAGE_SIZE; in efi_get_virtmap()
|
D | x86-stub.c | 235 rounded_start = rounddown(start, EFI_PAGE_SIZE); in efi_adjust_memory_range_protection() 236 rounded_end = roundup(start + size, EFI_PAGE_SIZE); in efi_adjust_memory_range_protection()
|
D | efistub.h | 29 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE
|
/Linux-v6.6/arch/x86/platform/efi/ |
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()
|
D | memmap.c | 169 if (!IS_ALIGNED(m_start, EFI_PAGE_SIZE) || in efi_memmap_insert() 170 !IS_ALIGNED(m_end + 1, EFI_PAGE_SIZE)) { in efi_memmap_insert()
|
/Linux-v6.6/arch/arm/kernel/ |
D | efi.c | 54 .length = md->num_pages * EFI_PAGE_SIZE, in efi_create_mapping()
|
/Linux-v6.6/drivers/firmware/efi/ |
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()
|
D | efi.c | 512 if ((md->phys_addr & (EFI_PAGE_SIZE - 1)) || in __efi_mem_desc_lookup()
|
/Linux-v6.6/arch/arm64/kernel/ |
D | efi.c | 19 if (PAGE_SIZE == EFI_PAGE_SIZE) in region_is_misaligned()
|
/Linux-v6.6/drivers/xen/ |
D | efi.c | 307 phys_addr &= ~(u64)(EFI_PAGE_SIZE - 1); in efi_mem_desc_lookup()
|
/Linux-v6.6/include/linux/ |
D | efi.h | 134 #define EFI_PAGE_SIZE (1UL << EFI_PAGE_SHIFT) macro
|