/linux-6.1.9/mm/ |
D | debug_vm_pgtable.c | 201 pmd = pfn_pmd(args->fixed_pmd_pfn, prot); in pmd_basic_tests() 255 pmd = pfn_pmd(args->pmd_pfn, args->page_prot); in pmd_advanced_tests() 265 pmd = pfn_pmd(args->pmd_pfn, args->page_prot); in pmd_advanced_tests() 279 pmd = pmd_mkhuge(pfn_pmd(args->pmd_pfn, args->page_prot)); in pmd_advanced_tests() 300 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_leaf_tests() 320 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot_none); in pmd_savedwrite_tests() 723 pmd = pmd_mkhuge(pfn_pmd(args->fixed_pmd_pfn, args->page_prot_none)); in pmd_protnone_tests() 749 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_devmap_tests() 814 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_soft_dirty_tests() 831 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_swap_soft_dirty_tests() [all …]
|
/linux-6.1.9/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
|
/linux-6.1.9/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 | 102 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | kfence.h | 23 set_pmd(pmd, pfn_pmd(PFN_DOWN(__pa(pte)), PAGE_TABLE)); in split_pmd_page()
|
D | pgtable-64.h | 215 static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot) in pfn_pmd() function 229 #define mk_pmd(page, prot) pfn_pmd(page_to_pfn(page), prot)
|
/linux-6.1.9/arch/arm/include/asm/ |
D | pgtable-3level.h | 210 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro 211 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
/linux-6.1.9/arch/riscv/mm/ |
D | kasan_init.c | 55 set_pmd(pmd, pfn_pmd(PFN_DOWN(__pa(base_pte)), PAGE_TABLE)); in kasan_populate_pte() 80 set_pmd(pmdp, pfn_pmd(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pmd() 278 pfn_pmd(PFN_DOWN in kasan_early_init()
|
D | init.c | 463 pmdp[pmd_idx] = pfn_pmd(PFN_DOWN(pa), prot); in create_pmd_mapping() 469 pmdp[pmd_idx] = pfn_pmd(PFN_DOWN(pte_phys), PAGE_TABLE); in create_pmd_mapping()
|
/linux-6.1.9/include/linux/ |
D | pfn_t.h | 89 return pfn_pmd(pfn_t_to_pfn(pfn), pgprot); in pfn_t_pmd()
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 160 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() function 171 return pfn_pmd(page_to_pfn(page), pgprot); in mk_pmd()
|
/linux-6.1.9/arch/x86/power/ |
D | hibernate_32.c | 110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
|
/linux-6.1.9/arch/mips/include/asm/ |
D | pgtable-32.h | 189 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
D | pgtable-64.h | 303 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
/linux-6.1.9/arch/x86/mm/ |
D | init_32.c | 338 set_pmd(pmd, pfn_pmd(pfn, init_prot)); in kernel_physical_mapping_init() 340 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()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | pgtable.h | 586 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 604 return pfn_pmd(pmd_pfn(pmd), in pmd_mkinvalid() 1086 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/linux-6.1.9/arch/sh/include/asm/ |
D | pgtable_32.h | 320 #define pfn_pmd(pfn, prot) \ macro
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | pgtable_64.h | 227 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 233 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | pgtable.h | 517 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… macro 518 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | pgtable.h | 237 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
/linux-6.1.9/arch/s390/include/asm/ |
D | pgtable.h | 1712 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(((pfn) << PAGE_SHIFT), (pgprot)) macro 1713 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 1188 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
|
/linux-6.1.9/arch/arm64/mm/ |
D | mmu.c | 1423 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), mk_pmd_sect_prot(prot)); in pmd_set_huge()
|