/linux-6.12.1/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.12.1/arch/powerpc/include/asm/nohash/64/ |
D | pgtable.h | 106 extern struct page *pmd_page(pmd_t pmd); 107 #define pmd_pfn(pmd) (page_to_pfn(pmd_page(pmd)))
|
/linux-6.12.1/arch/arc/include/asm/ |
D | pgtable-levels.h | 162 #define pmd_page(pmd) virt_to_page((void *)pmd_page_vaddr(pmd)) macro 164 #define pmd_pgtable(pmd) ((pgtable_t) pmd_page(pmd))
|
/linux-6.12.1/arch/x86/mm/ |
D | ident_map.c | 80 static void ident_pmd_init(struct x86_mapping_info *info, pmd_t *pmd_page, in ident_pmd_init() argument 85 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
|
D | init_64.c | 510 phys_pmd_init(pmd_t *pmd_page, unsigned long paddr, unsigned long paddr_end, in phys_pmd_init() argument 519 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init() 1027 free_pagetable(pmd_page(*pmd), 0); in free_pte_table() 1131 free_hugepage_table(pmd_page(*pmd), in remove_pmd_table() 1141 free_hugepage_table(pmd_page(*pmd), in remove_pmd_table() 1597 get_page_bootmem(section_nr, pmd_page(*pmd), in register_page_bootmem_memmap() 1613 page = pmd_page(*pmd); in register_page_bootmem_memmap()
|
/linux-6.12.1/include/asm-generic/ |
D | pgtable-nopmd.h | 55 #define pud_page(pud) (pmd_page((pmd_t){ pud }))
|
/linux-6.12.1/arch/powerpc/mm/ |
D | pgtable_64.c | 126 struct page *pmd_page(pmd_t pmd) in pmd_page() function
|
/linux-6.12.1/arch/sh/mm/ |
D | fault.c | 160 BUG_ON(pmd_page(*pmd) != pmd_page(*pmd_k)); in vmalloc_sync_one()
|
/linux-6.12.1/arch/arm/include/asm/ |
D | pgtable.h | 156 #define pud_page(pud) pmd_page(__pmd(pud_val(pud))) 166 #define pmd_page(pmd) pfn_to_page(__phys_to_pfn(pmd_val(pmd) & PHYS_MASK)) macro
|
/linux-6.12.1/arch/powerpc/include/asm/nohash/32/ |
D | pgtable.h | 177 #define pmd_page(pmd) pfn_to_page(pmd_pfn(pmd)) macro
|
/linux-6.12.1/mm/kasan/ |
D | init.c | 72 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table() 309 pte_free_kernel(&init_mm, (pte_t *)page_to_virt(pmd_page(*pmd))); in kasan_free_pte()
|
/linux-6.12.1/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.12.1/mm/ |
D | ptdump.c | 105 if (pmd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pte))) in ptdump_pmd_entry()
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | sun3_pgtable.h | 115 #define pmd_page(pmd) virt_to_page((void *)pmd_page_vaddr(pmd)) macro
|
D | mcf_pgtable.h | 296 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
|
D | motorola_pgtable.h | 131 #define pmd_page(pmd) ((struct page *)NULL) macro
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | pgtable.h | 253 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro 558 static inline struct page *pmd_page(pmd_t pmd) in pmd_page() function
|
/linux-6.12.1/arch/hexagon/include/asm/ |
D | pgtable.h | 222 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
|
/linux-6.12.1/arch/nios2/include/asm/ |
D | pgtable.h | 232 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro
|
/linux-6.12.1/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.12.1/arch/csky/include/asm/ |
D | pgtable.h | 33 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro
|
/linux-6.12.1/include/linux/ |
D | pgtable.h | 50 #define pmd_pgtable(pmd) pmd_page(pmd) 53 #define pmd_folio(pmd) page_folio(pmd_page(pmd)) 103 ((pte_t *)kmap_local_page(pmd_page(*(pmd))) + pte_index((address)))
|
/linux-6.12.1/arch/alpha/include/asm/ |
D | pgtable.h | 223 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> 32)) macro
|
/linux-6.12.1/arch/xtensa/include/asm/ |
D | pgtable.h | 230 #define pmd_page(pmd) virt_to_page(pmd_val(pmd)) macro
|
/linux-6.12.1/arch/openrisc/include/asm/ |
D | pgtable.h | 350 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
|