Lines Matching refs:phys
63 phys_addr_t phys; in dax_pgoff_to_phys() local
68 phys = PFN_PHYS(pgoff - dax_range->pgoff) + range->start; in dax_pgoff_to_phys()
69 if (phys + size - 1 <= range->end) in dax_pgoff_to_phys()
70 return phys; in dax_pgoff_to_phys()
80 phys_addr_t phys; in __dev_dax_pte_fault() local
95 phys = dax_pgoff_to_phys(dev_dax, vmf->pgoff, PAGE_SIZE); in __dev_dax_pte_fault()
96 if (phys == -1) { in __dev_dax_pte_fault()
101 *pfn = phys_to_pfn_t(phys, PFN_DEV|PFN_MAP); in __dev_dax_pte_fault()
111 phys_addr_t phys; in __dev_dax_pmd_fault() local
135 phys = dax_pgoff_to_phys(dev_dax, pgoff, PMD_SIZE); in __dev_dax_pmd_fault()
136 if (phys == -1) { in __dev_dax_pmd_fault()
141 *pfn = phys_to_pfn_t(phys, PFN_DEV|PFN_MAP); in __dev_dax_pmd_fault()
152 phys_addr_t phys; in __dev_dax_pud_fault() local
177 phys = dax_pgoff_to_phys(dev_dax, pgoff, PUD_SIZE); in __dev_dax_pud_fault()
178 if (phys == -1) { in __dev_dax_pud_fault()
183 *pfn = phys_to_pfn_t(phys, PFN_DEV|PFN_MAP); in __dev_dax_pud_fault()