Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.6.21/arch/sparc/mm/
Dtlb.c186 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/
Dident_map.c7 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()
Dinit_64.c508 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/
Dpgtable-levels.h162 #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/
Dpgtable-nopmd.h55 #define pud_page(pud) (pmd_page((pmd_t){ pud }))
/linux-6.6.21/arch/powerpc/include/asm/nohash/64/
Dpgtable.h131 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/
Dpgtable_64.c126 struct page *pmd_page(pmd_t pmd) in pmd_page() function
/linux-6.6.21/arch/sh/mm/
Dfault.c160 BUG_ON(pmd_page(*pmd) != pmd_page(*pmd_k)); in vmalloc_sync_one()
/linux-6.6.21/arch/arm/include/asm/
Dpgtable.h154 #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/
Dhugetlb_vmemmap.c48 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()
Dptdump.c104 if (pmd_page(val) == virt_to_page(lm_alias(kasan_early_shadow_pte))) in ptdump_pmd_entry()
Dhuge_memory.c1132 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/
Dinit_book3e_64.c29 return pmd_page(pmd) == virt_to_page(lm_alias(kasan_early_shadow_pte)); in kasan_pte_table()
/linux-6.6.21/mm/kasan/
Dinit.c72 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/
Dsun3_pgtable.h115 #define pmd_page(pmd) virt_to_page((void *)pmd_page_vaddr(pmd)) macro
Dmotorola_pgtable.h131 #define pmd_page(pmd) ((struct page *)NULL) macro
Dmcf_pgtable.h296 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
/linux-6.6.21/arch/hexagon/include/asm/
Dpgtable.h222 #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) macro
/linux-6.6.21/arch/loongarch/include/asm/
Dpgtable.h244 #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/
Dpgtable.h227 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro
/linux-6.6.21/arch/csky/include/asm/
Dpgtable.h33 #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) macro
/linux-6.6.21/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.6.21/arch/powerpc/include/asm/nohash/32/
Dpgtable.h362 #define pmd_page(pmd) pfn_to_page(pmd_pfn(pmd)) macro
/linux-6.6.21/arch/um/include/asm/
Dpgtable.h99 #define pmd_page(pmd) phys_to_page(pmd_val(pmd) & PAGE_MASK) macro

123