Home
last modified time | relevance | path

Searched refs:EFI_ALLOC_ALIGN (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/firmware/efi/libstub/
Dmem.c97 if (EFI_ALLOC_ALIGN > EFI_PAGE_SIZE) in efi_allocate_pages()
99 EFI_ALLOC_ALIGN); in efi_allocate_pages()
101 alloc_addr = ALIGN_DOWN(max + 1, EFI_ALLOC_ALIGN) - 1; in efi_allocate_pages()
130 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
Dalignedmem.c31 if (align < EFI_ALLOC_ALIGN) in efi_allocate_pages_aligned()
32 align = EFI_ALLOC_ALIGN; in efi_allocate_pages_aligned()
35 size = round_up(size, EFI_ALLOC_ALIGN); in efi_allocate_pages_aligned()
Drelocate.c50 if (align < EFI_ALLOC_ALIGN) in efi_low_alloc_above()
51 align = EFI_ALLOC_ALIGN; in efi_low_alloc_above()
53 size = round_up(size, EFI_ALLOC_ALIGN); in efi_low_alloc_above()
147 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
Drandomalloc.c74 if (align < EFI_ALLOC_ALIGN) in efi_random_alloc()
75 align = EFI_ALLOC_ALIGN; in efi_random_alloc()
77 size = round_up(size, EFI_ALLOC_ALIGN); in efi_random_alloc()
Dfile.c189 if (round_up(alloc_size + size, EFI_ALLOC_ALIGN) > in handle_cmdline_files()
190 round_up(alloc_size, EFI_ALLOC_ALIGN)) { in handle_cmdline_files()
Defistub.h28 #ifndef EFI_ALLOC_ALIGN
29 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE macro
/Linux-v5.10/arch/arm64/include/asm/
Defi.h98 #define EFI_ALLOC_ALIGN SZ_64K macro