Lines Matching refs:ae
974 u64 as = 0, ae; in find_memmap_space() local
1017 ae = min(contig_high, efi_md_end(md)); in find_memmap_space()
1021 ae = min(ae, max_addr); in find_memmap_space()
1022 if (ae <= as) in find_memmap_space()
1026 if (total_mem + (ae - as) > mem_limit) in find_memmap_space()
1027 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space()
1029 if (ae <= as) in find_memmap_space()
1032 if (ae - as > space_needed) in find_memmap_space()
1051 u64 as, ae, lim; in efi_memmap_init() local
1134 ae = contig_high; in efi_memmap_init()
1136 ae = efi_md_end(md); in efi_memmap_init()
1140 ae = min(ae, max_addr); in efi_memmap_init()
1141 if (ae <= as) in efi_memmap_init()
1145 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init()
1146 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init()
1148 if (ae <= as) in efi_memmap_init()
1151 prev->num_pages += (ae - as) >> EFI_PAGE_SHIFT; in efi_memmap_init()
1152 total_mem += ae - as; in efi_memmap_init()
1157 k->num_pages = (ae - as) >> EFI_PAGE_SHIFT; in efi_memmap_init()
1158 total_mem += ae - as; in efi_memmap_init()