Home
last modified time | relevance | path

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

/drivers/firmware/efi/libstub/
Defi-stub-helper.c40 #ifndef EFI_ALLOC_ALIGN
41 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE macro
200 if (align < EFI_ALLOC_ALIGN) in efi_high_alloc()
201 align = EFI_ALLOC_ALIGN; in efi_high_alloc()
203 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_high_alloc()
292 if (align < EFI_ALLOC_ALIGN) in efi_low_alloc()
293 align = EFI_ALLOC_ALIGN; in efi_low_alloc()
295 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_low_alloc()
349 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
622 nr_pages = round_up(alloc_size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_relocate_kernel()
Drandom.c93 if (align < EFI_ALLOC_ALIGN) in efi_random_alloc()
94 align = EFI_ALLOC_ALIGN; in efi_random_alloc()
Darm64-stub.c124 *reserve_size = round_up(kernel_memsize, EFI_ALLOC_ALIGN); in handle_kernel_image()