Searched refs:alloc_base (Results 1 – 1 of 1) sorted by relevance
124 unsigned long alloc_base, kernel_base; in handle_kernel_image() local133 status = efi_low_alloc_above(alloc_size, EFI_PAGE_SIZE, &alloc_base, 0x0); in handle_kernel_image()139 if ((alloc_base % EFI_PHYS_ALIGN) > slack) { in handle_kernel_image()144 kernel_base = round_up(alloc_base, EFI_PHYS_ALIGN); in handle_kernel_image()146 alloc_base, kernel_base); in handle_kernel_image()148 kernel_base = round_down(alloc_base, EFI_PHYS_ALIGN); in handle_kernel_image()155 if (*reserve_addr > alloc_base) { in handle_kernel_image()156 efi_bs_call(free_pages, alloc_base, in handle_kernel_image()157 (*reserve_addr - alloc_base) / EFI_PAGE_SIZE); in handle_kernel_image()158 alloc_size -= *reserve_addr - alloc_base; in handle_kernel_image()