Home
last modified time | relevance | path

Searched refs:pmd_pfn (Results 1 – 19 of 19) sorted by relevance

/arch/arc/include/asm/
Dhugepage.h34 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd)) macro
Dpgtable-levels.h146 #define pmd_pfn(pmd) ((pmd_val(pmd) & PMD_MASK) >> PAGE_SHIFT) macro
/arch/powerpc/mm/book3s64/
Dhash_hugepage.c133 pa = pmd_pfn(__pmd(old_pmd)) << PAGE_SHIFT; in __hash_page_thp()
/arch/arm/include/asm/
Dpgtable-3level.h209 #define pmd_pfn(pmd) (((pmd_val(pmd) & PMD_MASK) & PHYS_MASK) >> PAGE_SHIFT) macro
/arch/x86/mm/
Dfault.c211 BUG_ON(pmd_pfn(*pmd) != pmd_pfn(*pmd_k)); in vmalloc_sync_one()
321 if (!low_pfn(pmd_pfn(*pmd)) || !pmd_present(*pmd) || pmd_large(*pmd)) in dump_pagetable()
Dmem_encrypt.c244 pfn = pmd_pfn(*(pmd_t *)kpte); in __set_clr_pte_enc()
Dinit_64.c1451 return pfn_valid(pmd_pfn(*pmd)); in kern_addr_valid()
/arch/mips/include/asm/
Dpgtable.h681 static inline unsigned long pmd_pfn(pmd_t pmd) function
689 return pfn_to_page(pmd_pfn(pmd));
/arch/x86/include/asm/
Dpgtable.h191 static inline unsigned long pmd_pfn(pmd_t pmd) in pmd_pfn() function
601 return pfn_pmd(pmd_pfn(pmd), in pmd_mkinvalid()
808 #define pmd_page(pmd) pfn_to_page(pmd_pfn(pmd))
/arch/s390/mm/
Dpageattr.c122 pte_addr = pmd_pfn(*pmdp) << PAGE_SHIFT; in split_pmd_page()
/arch/sparc/mm/
Dfault_64.c107 pa = pmd_pfn(*pmdp) << PAGE_SHIFT; in get_user_insn()
Dinit_64.c1661 return pfn_valid(pmd_pfn(*pmd)); in kern_addr_valid()
/arch/x86/mm/pat/
Dset_memory.c717 phys_addr = (phys_addr_t)pmd_pfn(*(pmd_t *)pte) << PAGE_SHIFT; in slow_virt_to_phys()
792 old_pfn = pmd_pfn(*(pmd_t *)kpte); in __should_split_large_page()
998 ref_pfn = pmd_pfn(*(pmd_t *)kpte); in __split_large_page()
/arch/riscv/include/asm/
Dpgtable.h517 static inline unsigned long pmd_pfn(pmd_t pmd) in pmd_pfn() function
/arch/s390/include/asm/
Dpgtable.h1248 static inline unsigned long pmd_pfn(pmd_t pmd) in pmd_pfn() function
1349 #define pmd_page(pmd) pfn_to_page(pmd_pfn(pmd))
/arch/sparc/include/asm/
Dpgtable_64.h690 static inline unsigned long pmd_pfn(pmd_t pmd) in pmd_pfn() function
/arch/arm64/include/asm/
Dpgtable.h476 #define pmd_pfn(pmd) ((__pmd_to_phys(pmd) & PMD_MASK) >> PAGE_SHIFT) macro
/arch/powerpc/include/asm/book3s/64/
Dpgtable.h1120 #define pmd_pfn(pmd) pte_pfn(pmd_pte(pmd)) macro
/arch/arm64/mm/
Dmmu.c893 return pfn_valid(pmd_pfn(pmd)); in kern_addr_valid()