Home
last modified time | relevance | path

Searched refs:pfn_pmd (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/mm/
Ddebug_vm_pgtable.c158 pmd = pfn_pmd(pfn, prot); in pmd_basic_tests()
202 pmd = pfn_pmd(pfn, prot); in pmd_advanced_tests()
211 pmd = pfn_pmd(pfn, prot); in pmd_advanced_tests()
224 pmd = pmd_mkhuge(pfn_pmd(pfn, prot)); in pmd_advanced_tests()
244 pmd = pfn_pmd(pfn, prot); in pmd_leaf_tests()
287 pmd = pfn_pmd(pfn, prot); in pmd_savedwrite_tests()
684 pmd = pmd_mkhuge(pfn_pmd(pfn, prot)); in pmd_protnone_tests()
710 pmd = pfn_pmd(pfn, prot); in pmd_devmap_tests()
775 pmd = pfn_pmd(pfn, prot); in pmd_soft_dirty_tests()
792 pmd = pfn_pmd(pfn, prot); in pmd_swap_soft_dirty_tests()
[all …]
/kernel/linux/linux-5.10/arch/riscv/mm/
Dkasan_init.c28 pfn_pmd(PFN_DOWN in kasan_early_init()
76 pfn_pmd(PFN_DOWN(__pa(&pte[offset])), in populate()
Dinit.c369 pmdp[pmd_idx] = pfn_pmd(PFN_DOWN(pa), prot); in create_pmd_mapping()
375 pmdp[pmd_idx] = pfn_pmd(PFN_DOWN(pte_phys), PAGE_TABLE); in create_pmd_mapping()
/kernel/linux/linux-5.10/arch/um/include/asm/
Dpgtable-2level.h42 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) macro
Dpgtable-3level.h103 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dpgtable-3level.h212 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
213 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dpgtable-64.h73 static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot) in pfn_pmd() function
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dhugepage.h41 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
/kernel/linux/linux-5.10/include/linux/
Dpfn_t.h89 return pfn_pmd(pfn_t_to_pfn(pfn), pgprot); in pfn_t_pmd()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dpgtable.c139 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() function
149 return pfn_pmd(page_to_pfn(page), pgprot); in mk_pmd()
/kernel/linux/linux-5.10/arch/x86/power/
Dhibernate_32.c110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgtable-32.h195 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
Dpgtable-64.h313 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit_32.c342 set_pmd(pmd, pfn_pmd(pfn, init_prot)); in kernel_physical_mapping_init()
344 set_pmd(pmd, pfn_pmd(pfn, prot)); in kernel_physical_mapping_init()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable.h611 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
629 return pfn_pmd(pmd_pfn(pmd), in pmd_mkinvalid()
1110 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dpgtable_32.h320 #define pfn_pmd(pfn, prot) \ macro
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dpgtable_64.h249 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))
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpgtable.h456 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… macro
457 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpgtable.h1657 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(__pa((pfn) << PAGE_SHIFT), (pgprot)) macro
1658 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dpgtable.h1147 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
/kernel/linux/linux-5.10/arch/arm64/mm/
Dmmu.c1396 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), mk_pmd_sect_prot(prot)); in pmd_set_huge()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dset_memory.c1310 set_pmd(pmd, pmd_mkhuge(pfn_pmd(cpa->pfn, in populate_pmd()