Searched refs:alloc_addr (Results 1 – 2 of 2) sorted by relevance
26 efi_physical_addr_t alloc_addr; in efi_allocate_pages_aligned() local35 alloc_addr = ALIGN_DOWN(max + 1, align) - 1; in efi_allocate_pages_aligned()41 &alloc_addr); in efi_allocate_pages_aligned()45 *addr = ALIGN_UP((unsigned long)alloc_addr, align); in efi_allocate_pages_aligned()48 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned()51 efi_bs_call(FreePages, alloc_addr, slack - l + 1); in efi_allocate_pages_aligned()
86 efi_physical_addr_t alloc_addr; in efi_allocate_pages() local95 alloc_addr = ALIGN_DOWN(max + 1, EFI_ALLOC_ALIGN) - 1; in efi_allocate_pages()98 &alloc_addr); in efi_allocate_pages()102 *addr = alloc_addr; in efi_allocate_pages()