Searched refs:pfn_to_virt (Results 1 – 13 of 13) sorted by relevance
125 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro153 pfn_to_virt(page_to_pfn(page)); \159 pgdat = __virt_to_node((unsigned long)pfn_to_virt(__pfn)); \170 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn))
24 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro29 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn))
163 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro164 #define pfn_to_kaddr(pfn) pfn_to_virt(pfn)167 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
82 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro85 #define page_to_virt(page) pfn_to_virt(page_to_pfn(page))
104 #define pfn_to_virt(pfn) (__va(pfn_to_phys(pfn))) macro107 #define page_to_virt(page) (pfn_to_virt(page_to_pfn(page)))
58 return (unsigned long)pfn_to_virt(pud_val(pud) >> _PAGE_PFN_SHIFT); in pud_page_vaddr()
175 return (unsigned long)pfn_to_virt(pmd_val(pmd) >> _PAGE_PFN_SHIFT); in pmd_page_vaddr()
149 # define pfn_to_virt(pfn) __va(pfn_to_phys((pfn))) macro159 # define page_to_virt(page) (pfn_to_virt(page_to_pfn(page)))
37 (unsigned long)pfn_to_virt(max_low_pfn), in arch_dma_alloc()
76 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
131 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
38 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) macro
235 pgd = (pgd_t *)pfn_to_virt(csr_read(CSR_SATP)) + index; in do_page_fault()