/linux-6.6.21/arch/riscv/mm/ |
D | pageattr.c | 152 struct page *pmd_page; in __split_linear_mapping_pud() local 158 pmd_page = alloc_page(GFP_KERNEL); in __split_linear_mapping_pud() 159 if (!pmd_page) in __split_linear_mapping_pud() 162 pmdp_new = (pmd_t *)page_address(pmd_page); in __split_linear_mapping_pud() 169 set_pud(pudp, pfn_pud(page_to_pfn(pmd_page), PAGE_TABLE)); in __split_linear_mapping_pud()
|
/linux-6.6.21/arch/sparc/mm/ |
D | tlb.c | 186 if (is_huge_zero_page(pmd_page(pmd))) in __set_pmd_acct() 191 if (is_huge_zero_page(pmd_page(orig))) in __set_pmd_acct() 262 !is_huge_zero_page(pmd_page(entry))) in pmdp_invalidate()
|
/linux-6.6.21/arch/x86/mm/ |
D | ident_map.c | 7 static void ident_pmd_init(struct x86_mapping_info *info, pmd_t *pmd_page, in ident_pmd_init() argument 12 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
|
D | init_64.c | 508 phys_pmd_init(pmd_t *pmd_page, unsigned long paddr, unsigned long paddr_end, in phys_pmd_init() argument 517 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init() 1017 free_pagetable(pmd_page(*pmd), 0); in free_pte_table() 1121 free_hugepage_table(pmd_page(*pmd), in remove_pmd_table() 1131 free_hugepage_table(pmd_page(*pmd), in remove_pmd_table() 1601 get_page_bootmem(section_nr, pmd_page(*pmd), in register_page_bootmem_memmap() 1617 page = pmd_page(*pmd); in register_page_bootmem_memmap()
|
/linux-6.6.21/arch/arc/include/asm/ |
D | pgtable-levels.h | 162 #define pmd_page(pmd) virt_to_page(pmd_page_vaddr(pmd)) macro 164 #define pmd_pgtable(pmd) ((pgtable_t) pmd_page(pmd))
|
/linux-6.6.21/include/asm-generic/ |
D | pgtable-nopmd.h | 55 #define pud_page(pud) (pmd_page((pmd_t){ pud }))
|
/linux-6.6.21/arch/powerpc/include/asm/nohash/64/ |
D | pgtable.h | 131 extern struct page *pmd_page(pmd_t pmd); 132 #define pmd_pfn(pmd) (page_to_pfn(pmd_page(pmd)))
|
/linux-6.6.21/arch/powerpc/mm/ |
D | pgtable_64.c | 126 struct page *pmd_page(pmd_t pmd) in pmd_page() function
|
/linux-6.6.21/arch/sh/mm/ |
D | fault.c | 160 BUG_ON(pmd_page(*pmd) != pmd_page(*pmd_k)); in vmalloc_sync_one()
|
/linux-6.6.21/arch/arm/include/asm/ |
D | pgtable.h | 154 #define pud_page(pud) pmd_page(__pmd(pud_val(pud))) 164 #define pmd_page(pmd) pfn_to_page(__phys_to_pfn(pmd_val(pmd) & PHYS_MASK)) macro
|
/linux-6.6.21/mm/ |
D | hugetlb_vmemmap.c | 48 head = pmd_leaf(*pmd) ? pmd_page(*pmd) : NULL; in split_vmemmap_huge_pmd() 511 vmemmap_page = pmd_page(pmd) + pte_index(vaddr); in vmemmap_should_optimize()
|
D | ptdump.c | 104 if (pmd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pte))) in ptdump_pmd_entry()
|
D | huge_memory.c | 1132 src_page = pmd_page(pmd); in copy_huge_pmd() 1311 page = pmd_page(orig_pmd); in do_huge_pmd_wp_page() 1454 page = pmd_page(*pmd); in follow_trans_huge_pmd() 1692 page = pmd_page(orig_pmd); in zap_huge_pmd() 1872 page = pmd_page(*pmd); in change_huge_pmd() 2103 page = pmd_page(old_pmd); in __split_huge_pmd_locked() 2164 page = pmd_page(old_pmd); in __split_huge_pmd_locked() 2291 if (folio && folio != page_folio(pmd_page(*pmd))) in __split_huge_pmd()
|
/linux-6.6.21/arch/powerpc/mm/kasan/ |
D | init_book3e_64.c | 29 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
|
/linux-6.6.21/mm/kasan/ |
D | init.c | 72 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table() 303 pte_free_kernel(&init_mm, (pte_t *)page_to_virt(pmd_page(*pmd))); in kasan_free_pte()
|
/linux-6.6.21/arch/m68k/include/asm/ |
D | sun3_pgtable.h | 115 #define pmd_page(pmd) virt_to_page((void *)pmd_page_vaddr(pmd)) macro
|
D | motorola_pgtable.h | 131 #define pmd_page(pmd) ((struct page *)NULL) macro
|
D | mcf_pgtable.h | 296 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
|
/linux-6.6.21/arch/hexagon/include/asm/ |
D | pgtable.h | 222 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | pgtable.h | 244 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro 563 static inline struct page *pmd_page(pmd_t pmd) in pmd_page() function
|
/linux-6.6.21/arch/nios2/include/asm/ |
D | pgtable.h | 227 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro
|
/linux-6.6.21/arch/csky/include/asm/ |
D | pgtable.h | 33 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro
|
/linux-6.6.21/arch/mips/include/asm/ |
D | pgtable.h | 73 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro 418 static inline struct page *pmd_page(pmd_t pmd) function
|
/linux-6.6.21/arch/powerpc/include/asm/nohash/32/ |
D | pgtable.h | 362 #define pmd_page(pmd) pfn_to_page(pmd_pfn(pmd)) macro
|
/linux-6.6.21/arch/um/include/asm/ |
D | pgtable.h | 99 #define pmd_page(pmd) phys_to_page(pmd_val(pmd) & PAGE_MASK) macro
|