Lines Matching refs:EFI_PAGE_MASK
365 pages = efi_size_in_pages(size + (start & EFI_PAGE_MASK)); in efi_add_memory_map()
366 start &= ~EFI_PAGE_MASK; in efi_add_memory_map()
414 max_addr &= ~EFI_PAGE_MASK; in efi_find_free_memory()
537 if (!memory || (memory & EFI_PAGE_MASK) || !pages) { in efi_free_pages()
608 if (((uintptr_t)alloc & EFI_PAGE_MASK) || in efi_free_pool()
698 ram_end &= ~EFI_PAGE_MASK; in efi_add_conventional_memory_map()
699 ram_start = (ram_start + EFI_PAGE_MASK) & ~EFI_PAGE_MASK; in efi_add_conventional_memory_map()
734 u64 ram_top = board_get_usable_ram_top(0) & ~EFI_PAGE_MASK; in efi_add_known_memory()
762 unsigned long runtime_mask = EFI_PAGE_MASK; in add_u_boot_and_runtime()
768 uboot_stack_size) & ~EFI_PAGE_MASK; in add_u_boot_and_runtime()
770 uboot_start + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in add_u_boot_and_runtime()