Home
last modified time | relevance | path

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

/linux/arch/riscv/include/asm/
A Dpgtable-64.h72 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 Dkfence.h23 set_pmd(pmd, pfn_pmd(PFN_DOWN(__pa(pte)), PAGE_TABLE)); in split_pmd_page()
/linux/arch/riscv/mm/
A Dkasan_init.c30 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 Dinit.c384 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 Ddebug_vm_pgtable.c199 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 Dpgtable-levels.h147 #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 Dhugepage.h41 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
/linux/arch/arm/include/asm/
A Dpgtable-3level.h210 #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 Dpgtable-2level.h41 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) macro
A Dpgtable-3level.h102 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
/linux/arch/powerpc/mm/book3s64/
A Dpgtable.c151 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 Dpfn_t.h89 return pfn_pmd(pfn_t_to_pfn(pfn), pgprot); in pfn_t_pmd()
/linux/arch/x86/power/
A Dhibernate_32.c110 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
/linux/arch/mips/include/asm/
A Dpgtable-32.h194 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
A Dpgtable-64.h312 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
/linux/arch/x86/mm/
A Dinit_32.c338 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 Dpgtable.h582 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 Dpgtable_32.h320 #define pfn_pmd(pfn, prot) \ macro
/linux/arch/sparc/include/asm/
A Dpgtable_64.h246 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 Dpgtable.h474 #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 Dpgtable.h1654 #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 Dpgtable.h1183 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
/linux/arch/arm64/mm/
A Dmmu.c1359 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 Dset_memory.c1321 set_pmd(pmd, pmd_mkhuge(pfn_pmd(cpa->pfn, in populate_pmd()

Completed in 47 milliseconds