Home
last modified time | relevance | path

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

/drivers/firmware/efi/libstub/
Dmem.c92 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()
125 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.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()
Drandomalloc.c68 if (align < EFI_ALLOC_ALIGN) in efi_random_alloc()
69 align = EFI_ALLOC_ALIGN; in efi_random_alloc()
71 size = round_up(size, EFI_ALLOC_ALIGN); in efi_random_alloc()
Dfile.c207 if (round_up(alloc_size + size, EFI_ALLOC_ALIGN) > in handle_cmdline_files()
208 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