Home
last modified time | relevance | path

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

/arch/nios2/include/asm/
Dpgtable.h237 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro
238 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
/arch/csky/include/asm/
Dpgtable.h33 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
123 #define pmd_phys(pmd) pmd_val(pmd) macro
/arch/arm64/mm/
Dkasan_init.c80 phys_addr_t pmd_phys = early ? in kasan_pmd_offset() local
83 __pud_populate(pudp, pmd_phys, PUD_TYPE_TABLE); in kasan_pmd_offset()
Dmmu.c275 phys_addr_t pmd_phys; in alloc_init_cont_pmd() local
280 pmd_phys = pgtable_alloc(PMD_SHIFT); in alloc_init_cont_pmd()
281 __pud_populate(pudp, pmd_phys, pudval); in alloc_init_cont_pmd()
/arch/mips/include/asm/
Dpgtable.h87 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro
89 #define __pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
691 return pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT);
/arch/x86/xen/
Dmmu_pv.c1860 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local
1891 pmd_phys = pud_phys + PFN_PHYS(n_pud); in xen_relocate_p2m()
1892 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m()
1902 pmd = early_memremap(pmd_phys, PAGE_SIZE); in xen_relocate_p2m()
1925 make_lowmem_page_readonly(__va(pmd_phys)); in xen_relocate_p2m()
1927 PFN_DOWN(pmd_phys)); in xen_relocate_p2m()
1928 pud[idx_pmd] = __pud(_PAGE_TABLE | pmd_phys); in xen_relocate_p2m()
1929 pmd_phys += PAGE_SIZE; in xen_relocate_p2m()