| /Linux-v4.19/arch/riscv/kernel/ |
| D | setup.c | 140 trampoline_pmd[0] = pfn_pmd(PFN_DOWN(pa), prot); in setup_vm() 149 swapper_pmd[i] = pfn_pmd(PFN_DOWN(pa + i * PMD_SIZE), prot); in setup_vm()
|
| /Linux-v4.19/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
|
| /Linux-v4.19/arch/riscv/include/asm/ |
| D | pgtable-64.h | 76 static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot) in pfn_pmd() function
|
| /Linux-v4.19/arch/arm/include/asm/ |
| D | pgtable-3level.h | 248 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro 249 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
| /Linux-v4.19/arch/arc/include/asm/ |
| D | hugepage.h | 45 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
|
| /Linux-v4.19/include/linux/ |
| D | pfn_t.h | 94 return pfn_pmd(pfn_t_to_pfn(pfn), pgprot); in pfn_t_pmd()
|
| /Linux-v4.19/arch/x86/power/ |
| D | hibernate_32.c | 113 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
|
| /Linux-v4.19/arch/powerpc/mm/ |
| D | pgtable-book3s64.c | 124 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() function 134 return pfn_pmd(page_to_pfn(page), pgprot); in mk_pmd()
|
| /Linux-v4.19/arch/x86/include/asm/ |
| D | pgtable.h | 557 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 575 return pfn_pmd(pmd_pfn(pmd), in pmd_mknotpresent() 1135 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
| /Linux-v4.19/arch/sh/include/asm/ |
| D | pgtable_64.h | 308 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
|
| D | pgtable_32.h | 320 #define pfn_pmd(pfn, prot) \ macro
|
| /Linux-v4.19/arch/mips/include/asm/ |
| D | pgtable-64.h | 309 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
| /Linux-v4.19/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 | 1018 set_pmd(pmd, pmd_mkhuge(pfn_pmd(cpa->pfn, in populate_pmd()
|
| /Linux-v4.19/arch/arm64/include/asm/ |
| D | pgtable.h | 380 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… macro 381 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
| /Linux-v4.19/arch/sparc/include/asm/ |
| D | pgtable_64.h | 279 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 285 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
| /Linux-v4.19/arch/s390/include/asm/ |
| D | pgtable.h | 1540 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(__pa((pfn) << PAGE_SHIFT), (pgprot)) macro 1541 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
| /Linux-v4.19/arch/arm64/mm/ |
| D | mmu.c | 953 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), sect_prot); in pmd_set_huge()
|
| /Linux-v4.19/arch/powerpc/include/asm/book3s/64/ |
| D | pgtable.h | 1105 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
|
| /Linux-v4.19/virt/kvm/arm/ |
| D | mmu.c | 1576 pmd_t new_pmd = pfn_pmd(pfn, mem_type); in user_mem_abort()
|