Home
last modified time | relevance | path

Searched refs:alloc_addr (Results 1 – 2 of 2) sorted by relevance

/DragonStub/apps/
H A Dalignedmem.c26 efi_physical_addr_t alloc_addr; in efi_allocate_pages_aligned() local
35 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()
H A Dmem.c86 efi_physical_addr_t alloc_addr; in efi_allocate_pages() local
95 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()