/arch/um/include/asm/ |
D | pgtable-2level.h | 41 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) macro
|
D | pgtable-3level.h | 94 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
|
/arch/arc/include/asm/ |
D | pgtable-levels.h | 144 #define pfn_pmd(pfn,prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro 145 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
D | hugepage.h | 40 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
|
/arch/arm/include/asm/ |
D | pgtable-3level.h | 213 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro 214 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
/arch/riscv/mm/ |
D | pgtable.c | 58 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), prot); in pmd_set_huge()
|
D | kasan_init.c | 36 set_pmd(pmd, pfn_pmd(PFN_DOWN(__pa(p)), PAGE_TABLE)); in kasan_populate_pte() 69 set_pmd(pmdp, pfn_pmd(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pmd() 332 pfn_pmd(PFN_DOWN in kasan_early_init()
|
D | pageattr.c | 128 set_pmd(pmdp, pfn_pmd(page_to_pfn(pte_page), PAGE_TABLE)); in __split_linear_mapping_pmd() 165 pfn_pmd(pfn + ((i * PMD_SIZE) >> PAGE_SHIFT), prot)); in __split_linear_mapping_pud()
|
D | init.c | 472 pmdp[pmd_idx] = pfn_pmd(PFN_DOWN(pa), prot); in create_pmd_mapping() 478 pmdp[pmd_idx] = pfn_pmd(PFN_DOWN(pte_phys), PAGE_TABLE); in create_pmd_mapping()
|
/arch/riscv/include/asm/ |
D | pgtable-64.h | 249 static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot) in pfn_pmd() function 263 #define mk_pmd(page, prot) pfn_pmd(page_to_pfn(page), prot)
|
/arch/x86/power/ |
D | hibernate_32.c | 110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
|
/arch/mips/include/asm/ |
D | pgtable-32.h | 189 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) macro
|
D | pgtable-64.h | 303 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) macro
|
/arch/loongarch/mm/ |
D | init.c | 135 entry = pfn_pmd(virt_to_pfn(p), PAGE_KERNEL); in vmemmap_set_pmd()
|
/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 231 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() function 251 return pfn_pmd(page_to_pfn(page), pgprot); in mk_pmd()
|
/arch/x86/mm/ |
D | init_32.c | 333 set_pmd(pmd, pfn_pmd(pfn, init_prot)); in kernel_physical_mapping_init() 335 set_pmd(pmd, pfn_pmd(pfn, prot)); in kernel_physical_mapping_init()
|
D | init_64.c | 567 pfn_pmd(paddr >> PAGE_SHIFT, prot_sethuge(prot)), in phys_pmd_init()
|
/arch/x86/include/asm/ |
D | pgtable.h | 755 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 773 return pfn_pmd(pmd_pfn(pmd), in pmd_mkinvalid() 1311 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/arch/sh/include/asm/ |
D | pgtable_32.h | 319 #define pfn_pmd(pfn, prot) \ macro
|
/arch/sparc/include/asm/ |
D | pgtable_64.h | 231 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 237 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/arch/loongarch/include/asm/ |
D | pgtable.h | 255 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) macro
|
/arch/arm64/include/asm/ |
D | pgtable.h | 526 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… macro 527 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
/arch/s390/include/asm/ |
D | pgtable.h | 1804 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(((pfn) << PAGE_SHIFT), (pgprot)) macro 1805 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 1134 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
|
/arch/arm64/mm/ |
D | mmu.c | 1187 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), mk_pmd_sect_prot(prot)); in pmd_set_huge()
|