Home
last modified time | relevance | path

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

/linux-5.19.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.c77 if (align < EFI_ALLOC_ALIGN) in efi_random_alloc()
78 align = EFI_ALLOC_ALIGN; in efi_random_alloc()
80 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-5.19.10/arch/loongarch/include/asm/
Defi.h31 #define EFI_ALLOC_ALIGN SZ_64K macro
/linux-5.19.10/arch/arm64/include/asm/
Defi.h88 #define EFI_ALLOC_ALIGN SZ_64K macro