Home
last modified time | relevance | path

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

/Linux-v4.19/arch/riscv/kernel/
Dsetup.c140 trampoline_pmd[0] = pfn_pmd(PFN_DOWN(pa), prot); in setup_vm()
149 swapper_pmd[i] = pfn_pmd(PFN_DOWN(pa + i * PMD_SIZE), prot); in setup_vm()
/Linux-v4.19/arch/um/include/asm/
Dpgtable-2level.h43 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) macro
Dpgtable-3level.h111 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
/Linux-v4.19/arch/riscv/include/asm/
Dpgtable-64.h76 static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot) in pfn_pmd() function
/Linux-v4.19/arch/arm/include/asm/
Dpgtable-3level.h248 #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
249 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
/Linux-v4.19/arch/arc/include/asm/
Dhugepage.h45 #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) macro
/Linux-v4.19/include/linux/
Dpfn_t.h94 return pfn_pmd(pfn_t_to_pfn(pfn), pgprot); in pfn_t_pmd()
/Linux-v4.19/arch/x86/power/
Dhibernate_32.c113 set_pmd(pmd, pfn_pmd(pfn, PAGE_KERNEL_LARGE_EXEC)); in resume_physical_mapping_init()
/Linux-v4.19/arch/powerpc/mm/
Dpgtable-book3s64.c124 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() function
134 return pfn_pmd(page_to_pfn(page), pgprot); in mk_pmd()
/Linux-v4.19/arch/x86/include/asm/
Dpgtable.h557 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
575 return pfn_pmd(pmd_pfn(pmd), in pmd_mknotpresent()
1135 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
/Linux-v4.19/arch/sh/include/asm/
Dpgtable_64.h308 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
Dpgtable_32.h320 #define pfn_pmd(pfn, prot) \ macro
/Linux-v4.19/arch/mips/include/asm/
Dpgtable-64.h309 #define pfn_pmd(pfn, prot) __pmd(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
/Linux-v4.19/arch/x86/mm/
Dinit_32.c336 set_pmd(pmd, pfn_pmd(pfn, init_prot)); in kernel_physical_mapping_init()
338 set_pmd(pmd, pfn_pmd(pfn, prot)); in kernel_physical_mapping_init()
Dpageattr.c1018 set_pmd(pmd, pmd_mkhuge(pfn_pmd(cpa->pfn, in populate_pmd()
/Linux-v4.19/arch/arm64/include/asm/
Dpgtable.h380 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… macro
381 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot)
/Linux-v4.19/arch/sparc/include/asm/
Dpgtable_64.h279 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd() function
285 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
/Linux-v4.19/arch/s390/include/asm/
Dpgtable.h1540 #define pfn_pmd(pfn, pgprot) mk_pmd_phys(__pa((pfn) << PAGE_SHIFT), (pgprot)) macro
1541 #define mk_pmd(page, pgprot) pfn_pmd(page_to_pfn(page), (pgprot))
/Linux-v4.19/arch/arm64/mm/
Dmmu.c953 pmd_t new_pmd = pfn_pmd(__phys_to_pfn(phys), sect_prot); in pmd_set_huge()
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dpgtable.h1105 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
/Linux-v4.19/virt/kvm/arm/
Dmmu.c1576 pmd_t new_pmd = pfn_pmd(pfn, mem_type); in user_mem_abort()