Searched refs:pmd_phys (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/arch/score/include/asm/
H A Dpgtable.h97 #define pmd_phys(pmd) __pa((void *)pmd_val(pmd)) macro
98 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
/linux-4.4.14/arch/nios2/include/asm/
H A Dpgtable.h249 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro
250 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
/linux-4.4.14/arch/mips/include/asm/
H A Dpgtable.h91 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro
93 #define __pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
603 return pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT); pmd_page()
/linux-4.4.14/arch/x86/xen/
H A Dmmu.c2089 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; xen_relocate_p2m() local
2120 pmd_phys = pud_phys + PFN_PHYS(n_pud); xen_relocate_p2m()
2121 pt_phys = pmd_phys + PFN_PHYS(n_pmd); xen_relocate_p2m()
2131 pmd = early_memremap(pmd_phys, PAGE_SIZE); xen_relocate_p2m()
2155 make_lowmem_page_readonly(__va(pmd_phys)); xen_relocate_p2m()
2157 PFN_DOWN(pmd_phys)); xen_relocate_p2m()
2158 set_pud(pud + idx_pmd, __pud(_PAGE_TABLE | pmd_phys)); xen_relocate_p2m()
2159 pmd_phys += PAGE_SIZE; xen_relocate_p2m()

Completed in 145 milliseconds