Home
last modified time | relevance | path

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

/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))
/arch/arm64/mm/
Dmmu.c139 phys_addr_t pmd_phys; in alloc_init_pmd() local
141 pmd_phys = pgtable_alloc(); in alloc_init_pmd()
142 pmd = pmd_set_fixmap(pmd_phys); in alloc_init_pmd()
143 __pud_populate(pud, pmd_phys, PUD_TYPE_TABLE); in alloc_init_pmd()
/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))
/arch/mips/include/asm/
Dpgtable.h92 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro
94 #define __pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
631 return pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT);
/arch/x86/xen/
Dmmu.c2080 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local
2111 pmd_phys = pud_phys + PFN_PHYS(n_pud); in xen_relocate_p2m()
2112 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m()
2122 pmd = early_memremap(pmd_phys, PAGE_SIZE); in xen_relocate_p2m()
2146 make_lowmem_page_readonly(__va(pmd_phys)); in xen_relocate_p2m()
2148 PFN_DOWN(pmd_phys)); in xen_relocate_p2m()
2149 set_pud(pud + idx_pmd, __pud(_PAGE_TABLE | pmd_phys)); in xen_relocate_p2m()
2150 pmd_phys += PAGE_SIZE; in xen_relocate_p2m()