Home
last modified time | relevance | path

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

/linux/arch/m68k/include/asm/
H A Dpage_mm.h128 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() function
139 pfn_to_virt(page_to_pfn(page)); \
145 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn))
H A Dmcf_pgtable.h97 #define pmd_pgtable(pmd) pfn_to_virt(pmd_val(pmd) >> PAGE_SHIFT)
/linux/arch/riscv/include/asm/
H A Dpgtable-64.h223 return (pmd_t *)pfn_to_virt(__page_val_to_pfn(pud_val(pud))); in pud_pgtable()
327 return (pud_t *)pfn_to_virt(__page_val_to_pfn(p4d_val(p4d))); in p4d_pgtable()
384 return (p4d_t *)pfn_to_virt(__page_val_to_pfn(pgd_val(pgd))); in pgd_pgtable()
H A Dpage.h190 #define pfn_to_virt(pfn) (__va(pfn_to_phys(pfn))) macro
193 #define page_to_virt(page) (pfn_to_virt(page_to_pfn(page)))
H A Dpgtable.h274 return (unsigned long)pfn_to_virt(__page_val_to_pfn(pmd_val(pmd))); in pmd_page_vaddr()
/linux/arch/riscv/mm/
H A Dfault.c137 pgd = (pgd_t *)pfn_to_virt(pfn) + index; in vmalloc_fault()
/linux/arch/riscv/kernel/
H A Dhibernate.c356 unsigned long end = (unsigned long)pfn_to_virt(max_low_pfn); in swsusp_arch_resume()
/linux/arch/s390/mm/
H A Dvmem.c183 vmem_free_pages((unsigned long)pfn_to_virt(pte_pfn(*pte)), get_order(PAGE_SIZE), altmap); in modify_pte_table()