Searched refs:pfn_to_phys (Results 1 – 13 of 13) sorted by relevance
246 #define pfn_to_phys(pfn) ((pfn) << PAGE_SHIFT) macro250 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page))251 #define folio_to_phys(page) pfn_to_phys(folio_pfn(folio))255 return __va(pfn_to_phys(pfn)); in pfn_to_virt()
63 start_addr = pfn_to_phys(start_pfn); in diag10_range()64 end_addr = pfn_to_phys(start_pfn + num_pfn - 1); in diag10_range()
40 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot))41 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot))
88 phys_t phys = pfn_to_phys(page_nr); in pfn_pte()
109 #define pfn_to_phys(pfn) PFN_PHYS(pfn) macro
292 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page))
189 #define pfn_to_phys(pfn) (PFN_PHYS(pfn)) macro192 #define pfn_to_virt(pfn) (__va(pfn_to_phys(pfn)))197 #define page_to_phys(page) (pfn_to_phys(page_to_pfn(page)))
100 # define pfn_to_phys(pfn) (PFN_PHYS(pfn)) macro132 return __va(pfn_to_phys((pfn))); in pfn_to_virt()
81 #define pfn_to_phys(pfn) __pfn_to_phys(pfn) macro84 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page))
174 base_pud = pt_ops.get_pud_virt(pfn_to_phys(_p4d_pfn(p4dp_get(p4dp)))); in kasan_early_clear_pud()199 base_p4d = pt_ops.get_p4d_virt(pfn_to_phys(_pgd_pfn(pgdp_get(pgdp)))); in kasan_early_clear_p4d()245 base_pud = pt_ops.get_pud_virt(pfn_to_phys(_p4d_pfn(p4dp_get(p4dp)))); in kasan_early_populate_pud()283 base_p4d = pt_ops.get_p4d_virt(pfn_to_phys(_pgd_pfn(pgdp_get(pgdp)))); in kasan_early_populate_p4d()
20 return phys_to_page(pfn_to_phys(pte_pfn(*virt_to_kpte(kaddr)))); in tlb_virt_to_page()
226 addr = (void *)pfn_to_phys(vmalloc_to_pfn(addr)); in diag204()
171 src = pfn_to_phys(pfn) + offset; in copy_oldmem_page()