Lines Matching defs:phys_addr
358 debugfs_blob[i].data = memremap(md->phys_addr,
473 unsigned long long start = md->phys_addr;
493 int __efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md)
512 if ((md->phys_addr & (EFI_PAGE_SIZE - 1)) ||
514 (md->num_pages > (U64_MAX - md->phys_addr) >> EFI_PAGE_SHIFT))
518 end = md->phys_addr + size;
519 if (phys_addr >= md->phys_addr && phys_addr < end) {
527 extern int efi_mem_desc_lookup(u64 phys_addr, efi_memory_desc_t *out_md)
536 u64 end = md->phys_addr + size;
939 * @phys_addr: the physical address to lookup
942 * @phys_addr. Returns the EFI memory attributes if the region
945 u64 efi_mem_attributes(unsigned long phys_addr)
953 if ((md->phys_addr <= phys_addr) &&
954 (phys_addr < (md->phys_addr +
963 * @phys_addr: the physical address to lookup
965 * Search in the EFI memory map for the region covering @phys_addr.
969 int efi_mem_type(unsigned long phys_addr)
977 if ((md->phys_addr <= phys_addr) &&
978 (phys_addr < (md->phys_addr +