Home
last modified time | relevance | path

Searched refs:pmd_page (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.12.1/arch/riscv/mm/
Dpageattr.c152 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/
Dpgtable.h106 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/
Dpgtable-levels.h162 #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/
Dident_map.c80 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()
Dinit_64.c510 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/
Dpgtable-nopmd.h55 #define pud_page(pud) (pmd_page((pmd_t){ pud }))
/linux-6.12.1/arch/powerpc/mm/
Dpgtable_64.c126 struct page *pmd_page(pmd_t pmd) in pmd_page() function
/linux-6.12.1/arch/sh/mm/
Dfault.c160 BUG_ON(pmd_page(*pmd) != pmd_page(*pmd_k)); in vmalloc_sync_one()
/linux-6.12.1/arch/arm/include/asm/
Dpgtable.h156 #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/
Dpgtable.h177 #define pmd_page(pmd) pfn_to_page(pmd_pfn(pmd)) macro
/linux-6.12.1/mm/kasan/
Dinit.c72 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/
Dinit_book3e_64.c29 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
/linux-6.12.1/mm/
Dptdump.c105 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/
Dsun3_pgtable.h115 #define pmd_page(pmd) virt_to_page((void *)pmd_page_vaddr(pmd)) macro
Dmcf_pgtable.h296 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
Dmotorola_pgtable.h131 #define pmd_page(pmd) ((struct page *)NULL) macro
/linux-6.12.1/arch/loongarch/include/asm/
Dpgtable.h253 #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/
Dpgtable.h222 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
/linux-6.12.1/arch/nios2/include/asm/
Dpgtable.h232 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro
/linux-6.12.1/arch/mips/include/asm/
Dpgtable.h73 #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/
Dpgtable.h33 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro
/linux-6.12.1/include/linux/
Dpgtable.h50 #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/
Dpgtable.h223 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> 32)) macro
/linux-6.12.1/arch/xtensa/include/asm/
Dpgtable.h230 #define pmd_page(pmd) virt_to_page(pmd_val(pmd)) macro
/linux-6.12.1/arch/openrisc/include/asm/
Dpgtable.h350 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro

123