Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/firmware/efi/libstub/
Dmem.c94 if (EFI_ALLOC_ALIGN > EFI_PAGE_SIZE) in efi_allocate_pages()
96 EFI_ALLOC_ALIGN, in efi_allocate_pages()
99 alloc_addr = ALIGN_DOWN(max + 1, EFI_ALLOC_ALIGN) - 1; in efi_allocate_pages()
128 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
Drelocate.c41 if (align < EFI_ALLOC_ALIGN) in efi_low_alloc_above()
42 align = EFI_ALLOC_ALIGN; in efi_low_alloc_above()
44 size = round_up(size, EFI_ALLOC_ALIGN); in efi_low_alloc_above()
138 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
Dalignedmem.c35 if (align < EFI_ALLOC_ALIGN) in efi_allocate_pages_aligned()
36 align = EFI_ALLOC_ALIGN; in efi_allocate_pages_aligned()
39 size = round_up(size, EFI_ALLOC_ALIGN); in efi_allocate_pages_aligned()
Drandomalloc.c72 if (align < EFI_ALLOC_ALIGN) in efi_random_alloc()
73 align = EFI_ALLOC_ALIGN; in efi_random_alloc()
75 size = round_up(size, EFI_ALLOC_ALIGN); in efi_random_alloc()
Dfile.c245 if (round_up(alloc_size + size, EFI_ALLOC_ALIGN) > in handle_cmdline_files()
246 round_up(alloc_size, EFI_ALLOC_ALIGN)) { in handle_cmdline_files()
Dzboot.c94 EFI_ALLOC_ALIGN); in efi_zboot_entry()
Defistub.h28 #ifndef EFI_ALLOC_ALIGN
29 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE macro
/linux-6.12.1/arch/loongarch/include/asm/
Defi.h20 #define EFI_ALLOC_ALIGN SZ_64K macro
/linux-6.12.1/arch/arm64/include/asm/
Defi.h103 #define EFI_ALLOC_ALIGN SZ_64K macro