Lines Matching defs:in
52 * Returns a copy @out of the UEFI memory descriptor @in if it is covered
56 static bool entry_is_valid(const efi_memory_desc_t *in, efi_memory_desc_t *out)
58 u64 in_paddr = in->phys_addr;
59 u64 in_size = in->num_pages << EFI_PAGE_SHIFT;
62 *out = *in;
64 if (in->type != EFI_RUNTIME_SERVICES_CODE &&
65 in->type != EFI_RUNTIME_SERVICES_DATA) {
71 (!PAGE_ALIGNED(in->phys_addr) ||
72 !PAGE_ALIGNED(in->num_pages << EFI_PAGE_SHIFT))) {
99 * This entry covers the start of @in, check whether
107 if (md->type != in->type) {
117 pr_warn("No matching entry found in the EFI memory map\n");
140 * lookup the virtual addresses of all entries in the of EFI