Home
last modified time | relevance | path

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

/openbmc/linux/include/asm-generic/
H A Dpage.h82 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() function
86 #define pfn_to_virt pfn_to_virt macro
89 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
/openbmc/linux/arch/m68k/include/asm/
H A Dpage_mm.h129 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() function
140 pfn_to_virt(page_to_pfn(page)); \
146 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn))
H A Dpage_no.h27 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() function
H A Dmcf_pgtable.h97 #define pmd_pgtable(pmd) pfn_to_virt(pmd_val(pmd) >> PAGE_SHIFT)
/openbmc/linux/arch/s390/include/asm/
H A Dpage.h194 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() function
204 #define pfn_to_kaddr(pfn) pfn_to_virt(pfn)
207 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
/openbmc/linux/arch/riscv/include/asm/
H A Dpgtable-64.h221 return (pmd_t *)pfn_to_virt(__page_val_to_pfn(pud_val(pud))); in pud_pgtable()
325 return (pud_t *)pfn_to_virt(__page_val_to_pfn(p4d_val(p4d))); in p4d_pgtable()
382 return (p4d_t *)pfn_to_virt(__page_val_to_pfn(pgd_val(pgd))); in pgd_pgtable()
H A Dpage.h179 #define pfn_to_virt(pfn) (__va(pfn_to_phys(pfn))) macro
182 #define page_to_virt(page) (pfn_to_virt(page_to_pfn(page)))
H A Dpgtable.h280 return (unsigned long)pfn_to_virt(__page_val_to_pfn(pmd_val(pmd))); in pmd_page_vaddr()
/openbmc/linux/arch/openrisc/include/asm/
H A Dpage.h80 static inline void * pfn_to_virt(unsigned long pfn) in pfn_to_virt() function
/openbmc/linux/arch/hexagon/include/asm/
H A Dpage.h129 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
/openbmc/linux/arch/csky/include/asm/
H A Dpage.h85 static inline void * pfn_to_virt(unsigned long pfn) in pfn_to_virt() function
/openbmc/linux/arch/microblaze/include/asm/
H A Dpage.h130 static inline const void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() function
/openbmc/linux/arch/riscv/mm/
H A Dfault.c137 pgd = (pgd_t *)pfn_to_virt(pfn) + index; in vmalloc_fault()
/openbmc/linux/arch/riscv/kernel/
H A Dhibernate.c356 unsigned long end = (unsigned long)pfn_to_virt(max_low_pfn); in swsusp_arch_resume()
/openbmc/linux/arch/s390/mm/
H A Dvmem.c174 vmem_free_pages((unsigned long) pfn_to_virt(pte_pfn(*pte)), 0); in modify_pte_table()
/openbmc/linux/arch/riscv/kvm/
H A Dmmu.c57 return (unsigned long)pfn_to_virt(__page_val_to_pfn(pte_val(pte))); in gstage_pte_page_vaddr()