Home
last modified time | relevance | path

Searched refs:pfn_to_phys (Results 1 – 8 of 8) sorted by relevance

/linux/arch/um/include/asm/
H A Dpgtable-2level.h40 #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))
H A Dpage.h90 #define pfn_to_phys(pfn) PFN_PHYS(pfn) macro
H A Dpgtable-4level.h108 phys_t phys = pfn_to_phys(page_nr); in pfn_pte()
/linux/arch/riscv/include/asm/
H A Dpage.h187 #define pfn_to_phys(pfn) (PFN_PHYS(pfn)) macro
190 #define pfn_to_virt(pfn) (__va(pfn_to_phys(pfn)))
/linux/arch/riscv/mm/
H A Dkasan_init.c174 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()
/linux/arch/s390/include/asm/
H A Ddiag.h63 start_addr = pfn_to_phys(start_pfn); in diag10_range()
64 end_addr = pfn_to_phys(start_pfn + num_pfn - 1); in diag10_range()
/linux/arch/loongarch/mm/
H A Dpgtable.c20 return phys_to_page(pfn_to_phys(pte_pfn(*virt_to_kpte(kaddr)))); in tlb_virt_to_page()
/linux/arch/s390/kernel/
H A Ddiag.c227 addr = (void *)pfn_to_phys(vmalloc_to_pfn(addr)); in diag204()