/arch/um/include/asm/ |
D | pgtable-2level.h | 43 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) macro
|
D | pgtable-3level.h | 111 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
|
/arch/riscv/include/asm/ |
D | pgtable-64.h | 68 static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot) in pfn_pmd() function
|
/arch/arc/include/asm/ |
D | hugepage.h | 42 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
|
/arch/arm/include/asm/ |
D | pgtable-3level.h | 238 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro 239 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
D | kvm_mmu.h | 74 #define kvm_pfn_pmd(pfn, prot) pfn_pmd(pfn, prot)
|
/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 128 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() function 138 return pfn_pmd(page_to_pfn(page), pgprot); in mk_pmd()
|
/arch/x86/power/ |
D | hibernate_32.c | 110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
|
/arch/riscv/mm/ |
D | init.c | 254 pmdp[pmd_index] = pfn_pmd(PFN_DOWN(pa), prot); in create_pmd_mapping() 260 pmdp[pmd_index] = pfn_pmd(PFN_DOWN(pte_phys), PAGE_TABLE); in create_pmd_mapping()
|
/arch/mips/include/asm/ |
D | pgtable-32.h | 196 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
D | pgtable-64.h | 319 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
/arch/x86/mm/ |
D | init_32.c | 336 set_pmd(pmd, pfn_pmd(pfn, init_prot)); in kernel_physical_mapping_init() 338 set_pmd(pmd, pfn_pmd(pfn, prot)); in kernel_physical_mapping_init()
|
D | pageattr.c | 1291 set_pmd(pmd, pmd_mkhuge(pfn_pmd(cpa->pfn, in populate_pmd()
|
/arch/sh/include/asm/ |
D | pgtable_64.h | 305 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
|
D | pgtable_32.h | 320 #define pfn_pmd(pfn, prot) \ macro
|
/arch/x86/include/asm/ |
D | pgtable.h | 574 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 592 return pfn_pmd(pmd_pfn(pmd), in pmd_mknotpresent() 1158 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/arch/arm64/include/asm/ |
D | kvm_mmu.h | 180 #define kvm_pfn_pmd(pfn, prot) pfn_pmd(pfn, prot)
|
D | pgtable.h | 402 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… macro 403 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
/arch/sparc/include/asm/ |
D | pgtable_64.h | 249 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 255 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/arch/s390/include/asm/ |
D | pgtable.h | 1635 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(__pa((pfn) << PAGE_SHIFT), (pgprot)) macro 1636 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/arch/arm64/mm/ |
D | mmu.c | 978 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), mk_pmd_sect_prot(prot)); in pmd_set_huge()
|
/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 1152 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
|