/linux/arch/riscv/include/asm/ |
A D | pgtable-64.h | 72 static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot) in pfn_pmd() function 82 #define mk_pmd(page, prot) pfn_pmd(page_to_pfn(page), prot)
|
A D | kfence.h | 23 set_pmd(pmd, pfn_pmd(PFN_DOWN(__pa(pte)), PAGE_TABLE)); in split_pmd_page()
|
/linux/arch/riscv/mm/ |
A D | kasan_init.c | 30 pfn_pmd(PFN_DOWN in kasan_early_init() 73 set_pmd(pmd, pfn_pmd(PFN_DOWN(__pa(base_pte)), PAGE_TABLE)); in kasan_populate_pte() 94 set_pmd(pmdp, pfn_pmd(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pmd()
|
A D | init.c | 384 pmdp[pmd_idx] = pfn_pmd(PFN_DOWN(pa), prot); in create_pmd_mapping() 390 pmdp[pmd_idx] = pfn_pmd(PFN_DOWN(pte_phys), PAGE_TABLE); in create_pmd_mapping()
|
/linux/mm/ |
A D | debug_vm_pgtable.c | 199 pmd = pfn_pmd(args->fixed_pmd_pfn, prot); in pmd_basic_tests() 253 pmd = pfn_pmd(args->pmd_pfn, args->page_prot); in pmd_advanced_tests() 263 pmd = pfn_pmd(args->pmd_pfn, args->page_prot); in pmd_advanced_tests() 277 pmd = pmd_mkhuge(pfn_pmd(args->pmd_pfn, args->page_prot)); in pmd_advanced_tests() 298 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_leaf_tests() 318 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot_none); in pmd_savedwrite_tests() 747 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_devmap_tests() 812 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_soft_dirty_tests() 829 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_swap_soft_dirty_tests() 860 pmd = pfn_pmd(args->fixed_pmd_pfn, args->page_prot); in pmd_swap_tests() [all …]
|
/linux/arch/arc/include/asm/ |
A D | pgtable-levels.h | 147 #define pfn_pmd(pfn,prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro 148 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
A D | hugepage.h | 41 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
|
/linux/arch/arm/include/asm/ |
A 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/arch/um/include/asm/ |
A D | pgtable-2level.h | 41 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) macro
|
A D | pgtable-3level.h | 102 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
|
/linux/arch/powerpc/mm/book3s64/ |
A D | pgtable.c | 151 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() function 162 return pfn_pmd(page_to_pfn(page), pgprot); in mk_pmd()
|
/linux/include/linux/ |
A D | pfn_t.h | 89 return pfn_pmd(pfn_t_to_pfn(pfn), pgprot); in pfn_t_pmd()
|
/linux/arch/x86/power/ |
A D | hibernate_32.c | 110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
|
/linux/arch/mips/include/asm/ |
A D | pgtable-32.h | 194 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
A D | pgtable-64.h | 312 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
|
/linux/arch/x86/mm/ |
A 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()
|
/linux/arch/x86/include/asm/ |
A D | pgtable.h | 582 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 600 return pfn_pmd(pmd_pfn(pmd), in pmd_mkinvalid() 1081 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/linux/arch/sh/include/asm/ |
A D | pgtable_32.h | 320 #define pfn_pmd(pfn, prot) \ macro
|
/linux/arch/sparc/include/asm/ |
A D | pgtable_64.h | 246 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function 252 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/linux/arch/arm64/include/asm/ |
A D | pgtable.h | 474 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… macro 475 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
|
/linux/arch/s390/include/asm/ |
A D | pgtable.h | 1654 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(((pfn) << PAGE_SHIFT), (pgprot)) macro 1655 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
|
/linux/arch/powerpc/include/asm/book3s/64/ |
A D | pgtable.h | 1183 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
|
/linux/arch/arm64/mm/ |
A D | mmu.c | 1359 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), mk_pmd_sect_prot(prot)); in pmd_set_huge()
|
/linux/arch/x86/mm/pat/ |
A D | set_memory.c | 1321 set_pmd(pmd, pmd_mkhuge(pfn_pmd(cpa->pfn, in populate_pmd()
|