Searched refs:EFI_PAGE_SIZE (Results 1 – 7 of 7) sorted by relevance
37 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned()40 memory_type, size / EFI_PAGE_SIZE + slack, in efi_allocate_pages_aligned()48 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned()
97 EfiLoaderData, DIV_ROUND_UP(size, EFI_PAGE_SIZE), in efi_allocate_pages()123 u32 pagecount = DIV_ROUND_UP(size, EFI_PAGE_SIZE); in efi_allocate_pages_exact()158 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
182 u64 end = md->PhysicalStart + md->NumberOfPages * EFI_PAGE_SIZE; in check_image_region()283 if (phdr->p_align & !EFI_PAGE_SIZE) { in efi_allocate_kernel_memory()285 EFI_PAGE_SIZE, phdr->p_align); in efi_allocate_kernel_memory()357 if (phdr->p_align & !EFI_PAGE_SIZE) { in load_program()359 EFI_PAGE_SIZE, phdr->p_align); in load_program()
228 size = in->NumberOfPages * EFI_PAGE_SIZE; in efi_get_virtmap()
237 #define EFI_PAGE_SIZE 4096 macro
548 #define EFI_DEBUG_IMAGE_INFO_INITIAL_SIZE (EFI_PAGE_SIZE / sizeof (UINTN))
279 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE