Home
last modified time | relevance | path

Searched refs:pfn_to_virt (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/arch/m68k/include/asm/
Dpage_mm.h125 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
133 pfn_to_virt(page_to_pfn(page)); \
140 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn))
Dpage_no.h24 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
29 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn))
Dmcf_pgtable.h94 #define pmd_pgtable(pmd) pfn_to_virt(pmd_val(pmd) >> PAGE_SHIFT)
/linux-6.1.9/arch/s390/include/asm/
Dpage.h197 #define pfn_to_virt(pfn) __va(pfn_to_phys(pfn)) macro
199 #define pfn_to_kaddr(pfn) pfn_to_virt(pfn)
202 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
/linux-6.1.9/include/asm-generic/
Dpage.h78 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
81 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
/linux-6.1.9/arch/riscv/include/asm/
Dpgtable-64.h187 return (pmd_t *)pfn_to_virt(__page_val_to_pfn(pud_val(pud))); in pud_pgtable()
291 return (pud_t *)pfn_to_virt(__page_val_to_pfn(p4d_val(p4d))); in p4d_pgtable()
354 return (p4d_t *)pfn_to_virt(__page_val_to_pfn(pgd_val(pgd))); in pgd_pgtable()
Dpage.h164 #define pfn_to_virt(pfn) (__va(pfn_to_phys(pfn))) macro
167 #define page_to_virt(page) (pfn_to_virt(page_to_pfn(page)))
Dpgtable.h254 return (unsigned long)pfn_to_virt(__page_val_to_pfn(pmd_val(pmd))); in pmd_page_vaddr()
/linux-6.1.9/arch/openrisc/include/asm/
Dpage.h76 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
/linux-6.1.9/arch/hexagon/include/asm/
Dpage.h130 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
/linux-6.1.9/arch/csky/include/asm/
Dpage.h38 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
/linux-6.1.9/arch/microblaze/include/asm/
Dpage.h108 # define pfn_to_virt(pfn) __va(pfn_to_phys((pfn))) macro
/linux-6.1.9/arch/riscv/mm/
Dfault.c126 pgd = (pgd_t *)pfn_to_virt(pfn) + index; in vmalloc_fault()
/linux-6.1.9/arch/s390/mm/
Dvmem.c169 vmem_free_pages((unsigned long) pfn_to_virt(pte_pfn(*pte)), 0); in modify_pte_table()
/linux-6.1.9/arch/riscv/kvm/
Dmmu.c57 return (unsigned long)pfn_to_virt(__page_val_to_pfn(pte_val(pte))); in gstage_pte_page_vaddr()