Home
last modified time | relevance | path

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

/linux-4.4.14/arch/nios2/include/asm/
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/score/include/asm/
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/mips/include/asm/
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); in pmd_page()
/linux-4.4.14/arch/x86/xen/
Dmmu.c2089 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local
2120 pmd_phys = pud_phys + PFN_PHYS(n_pud); in xen_relocate_p2m()
2121 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m()
2131 pmd = early_memremap(pmd_phys, PAGE_SIZE); in xen_relocate_p2m()
2155 make_lowmem_page_readonly(__va(pmd_phys)); in xen_relocate_p2m()
2157 PFN_DOWN(pmd_phys)); in xen_relocate_p2m()
2158 set_pud(pud + idx_pmd, __pud(_PAGE_TABLE | pmd_phys)); in xen_relocate_p2m()
2159 pmd_phys += PAGE_SIZE; in xen_relocate_p2m()