Searched refs:pfn_to_virt (Results 1 – 8 of 8) sorted by relevance
128 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() function139 pfn_to_virt(page_to_pfn(page)); \145 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn))
97 #define pmd_pgtable(pmd) pfn_to_virt(pmd_val(pmd) >> PAGE_SHIFT)
223 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()
190 #define pfn_to_virt(pfn) (__va(pfn_to_phys(pfn))) macro193 #define page_to_virt(page) (pfn_to_virt(page_to_pfn(page)))
274 return (unsigned long)pfn_to_virt(__page_val_to_pfn(pmd_val(pmd))); in pmd_page_vaddr()
137 pgd = (pgd_t *)pfn_to_virt(pfn) + index; in vmalloc_fault()
356 unsigned long end = (unsigned long)pfn_to_virt(max_low_pfn); in swsusp_arch_resume()
183 vmem_free_pages((unsigned long)pfn_to_virt(pte_pfn(*pte)), get_order(PAGE_SIZE), altmap); in modify_pte_table()