Searched refs:pmd_phys (Results 1 – 8 of 8) sorted by relevance
| /linux/arch/csky/include/asm/ |
| H A D | pgtable.h | 32 #define pmd_pfn(pmd) (pmd_phys(pmd) >> PAGE_SHIFT) 33 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) 104 #define pmd_phys(pmd) pmd_val(pmd) macro
|
| /linux/arch/nios2/include/asm/ |
| H A D | pgtable.h | 224 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro 225 #define pmd_pfn(pmd) (pmd_phys(pmd) >> PAGE_SHIFT) 226 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT))
|
| /linux/arch/loongarch/mm/ |
| H A D | kasan_init.c | 136 phys_addr_t pmd_phys = early ? in kasan_pmd_offset() local 139 memcpy(__va(pmd_phys), kasan_early_shadow_pmd, sizeof(kasan_early_shadow_pmd)); in kasan_pmd_offset() 140 pud_populate(&init_mm, pudp, (pmd_t *)__va(pmd_phys)); in kasan_pmd_offset()
|
| /linux/arch/arm64/mm/ |
| H A D | mmu.c | 309 phys_addr_t pmd_phys; in alloc_init_cont_pmd() local 314 pmd_phys = pgtable_alloc(TABLE_PMD); in alloc_init_cont_pmd() 315 if (pmd_phys == INVALID_PHYS_ADDR) in alloc_init_cont_pmd() 317 pmdp = pmd_set_fixmap(pmd_phys); in alloc_init_cont_pmd() 320 __pud_populate(pudp, pmd_phys, pudval); in alloc_init_cont_pmd() 637 phys_addr_t pmd_phys; in split_pud() local 641 pmd_phys = pgd_pgtable_alloc_init_mm_gfp(TABLE_PMD, gfp); in split_pud() 642 if (pmd_phys == INVALID_PHYS_ADDR) in split_pud() 644 pmdp = (pmd_t *)phys_to_virt(pmd_phys); in split_pud() 662 __pud_populate(pudp, pmd_phys, tableprot); in split_pud()
|
| H A D | kasan_init.c | 80 phys_addr_t pmd_phys = early ? in kasan_pmd_offset() local 83 __pud_populate(pudp, pmd_phys, PUD_TYPE_TABLE); in kasan_pmd_offset()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 265 #define pmd_phys(pmd) PHYSADDR(pmd_val(pmd)) macro 268 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) 581 return pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT); in pmd_page()
|
| /linux/arch/mips/include/asm/ |
| H A D | pgtable.h | 65 #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) macro 73 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) 423 return pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT);
|
| /linux/arch/x86/xen/ |
| H A D | mmu_pv.c | 1955 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local 1986 pmd_phys = pud_phys + PFN_PHYS(n_pud); in xen_relocate_p2m() 1987 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m() 1997 pmd = early_memremap(pmd_phys, PAGE_SIZE); in xen_relocate_p2m() 2020 make_lowmem_page_readonly(__va(pmd_phys)); in xen_relocate_p2m() 2022 PFN_DOWN(pmd_phys)); in xen_relocate_p2m() 2023 pud[idx_pmd] = __pud(_PAGE_TABLE | pmd_phys); in xen_relocate_p2m() 2024 pmd_phys += PAGE_SIZE; in xen_relocate_p2m()
|