Home
last modified time | relevance | path

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

/linux/arch/s390/include/asm/
H A Dpage.h246 #define pfn_to_phys(pfn) ((pfn) << PAGE_SHIFT) macro
250 #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()
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/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 Dpgtable-3level.h88 phys_t phys = pfn_to_phys(page_nr); in pfn_pte()
H A Dpage.h109 #define pfn_to_phys(pfn) PFN_PHYS(pfn) macro
H A Dpgtable.h292 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page))
/linux/arch/riscv/include/asm/
H A Dpage.h189 #define pfn_to_phys(pfn) (PFN_PHYS(pfn)) macro
192 #define pfn_to_virt(pfn) (__va(pfn_to_phys(pfn)))
197 #define page_to_phys(page) (pfn_to_phys(page_to_pfn(page)))
/linux/arch/microblaze/include/asm/
H A Dpage.h100 # define pfn_to_phys(pfn) (PFN_PHYS(pfn)) macro
132 return __va(pfn_to_phys((pfn))); in pfn_to_virt()
/linux/arch/loongarch/include/asm/
H A Dpage.h81 #define pfn_to_phys(pfn) __pfn_to_phys(pfn) macro
84 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page))
/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/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.c226 addr = (void *)pfn_to_phys(vmalloc_to_pfn(addr)); in diag204()
H A Dcrash_dump.c171 src = pfn_to_phys(pfn) + offset; in copy_oldmem_page()