Searched refs:EFI_ALLOC_ALIGN (Results 1 - 17 of 17) sorted by relevance
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | mem.c | 75 * allocated page has alignment EFI_ALLOC_ALIGN which is an 81 * to EFI_ALLOC_ALIGN. The last allocated page will not exceed the address 92 if (EFI_ALLOC_ALIGN > EFI_PAGE_SIZE) in efi_allocate_pages() 94 EFI_ALLOC_ALIGN); in efi_allocate_pages() 96 alloc_addr = ALIGN_DOWN(max + 1, EFI_ALLOC_ALIGN) - 1; in efi_allocate_pages() 113 * @size is rounded up to a multiple of EFI_ALLOC_ALIGN which is an 125 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
|
H A D | alignedmem.c | 12 * allocated page has alignment EFI_ALLOC_ALIGN which is an 19 * to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will 31 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()
|
H A D | relocate.c | 18 * least EFI_ALLOC_ALIGN. The first allocated page will not below the address 41 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() 101 * to @alignment but at least EFI_ALLOC_ALIGN. If the preferred address 138 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
|
H A D | randomalloc.c | 67 if (align < EFI_ALLOC_ALIGN) in efi_random_alloc() 68 align = EFI_ALLOC_ALIGN; in efi_random_alloc() 70 size = round_up(size, EFI_ALLOC_ALIGN); in efi_random_alloc()
|
H A D | file.c | 189 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()
|
H A D | efistub.h | 28 #ifndef EFI_ALLOC_ALIGN 29 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE macro
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | mem.c | 75 * allocated page has alignment EFI_ALLOC_ALIGN which is an 81 * to EFI_ALLOC_ALIGN. The last allocated page will not exceed the address 94 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() 116 * @size is rounded up to a multiple of EFI_ALLOC_ALIGN which is an 128 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
|
H A D | alignedmem.c | 12 * allocated page has alignment EFI_ALLOC_ALIGN which is an 19 * to @align, which should be >= EFI_ALLOC_ALIGN. The last allocated page will 34 if (align < EFI_ALLOC_ALIGN) in efi_allocate_pages_aligned() 35 align = EFI_ALLOC_ALIGN; in efi_allocate_pages_aligned() 38 size = round_up(size, EFI_ALLOC_ALIGN); in efi_allocate_pages_aligned()
|
H A D | relocate.c | 18 * least EFI_ALLOC_ALIGN. The first allocated page will not below the address 41 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() 101 * to @alignment but at least EFI_ALLOC_ALIGN. If the preferred address 138 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
|
H A D | randomalloc.c | 72 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()
|
H A D | file.c | 245 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()
|
H A D | zboot.c | 94 EFI_ALLOC_ALIGN); in efi_zboot_entry()
|
H A D | efistub.h | 28 #ifndef EFI_ALLOC_ALIGN 29 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE macro
|
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | efi.h | 20 #define EFI_ALLOC_ALIGN SZ_64K macro
|
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | efi.h | 34 #define EFI_ALLOC_ALIGN SZ_64K macro
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | efi.h | 101 #define EFI_ALLOC_ALIGN SZ_64K macro
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | efi.h | 103 #define EFI_ALLOC_ALIGN SZ_64K macro
|
Completed in 9 milliseconds