Home
last modified time | relevance | path

Searched refs:pfn_pte (Results 1 – 25 of 86) sorted by relevance

1234

/arch/mips/include/asm/
Dpgtable-32.h160 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() function
176 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() function
191 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) macro
194 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
Dpgtable-64.h309 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) macro
312 #define pfn_pte(pfn, prot) __pte(((pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
/arch/powerpc/mm/kasan/
D8xx.c27 *new = pte_val(pte_mkhuge(pfn_pte(PHYS_PFN(__pa(block)), PAGE_KERNEL))); in kasan_init_shadow_8M()
63 pte_t pte = pfn_pte(PHYS_PFN(__pa(va)), PAGE_KERNEL); in kasan_init_region()
Dkasan_init_32.c28 __set_pte_at(&init_mm, va, ptep, pfn_pte(PHYS_PFN(pa), prot), 0); in kasan_populate_pte()
75 pte_t pte = pfn_pte(PHYS_PFN(__pa(va)), PAGE_KERNEL); in kasan_init_region()
109 pfn_pte(PHYS_PFN(pa), prot)); in kasan_remap_early_shadow_ro()
Dbook3s_32.c52 pte_t pte = pfn_pte(PHYS_PFN(phys + k_cur - k_nobat), PAGE_KERNEL); in kasan_init_region()
/arch/csky/mm/
Dtcm.c47 set_pte(tcm_pte, pfn_pte(__phys_to_pfn(paddr), PAGE_KERNEL));
66 set_pte(tcm_pte, pfn_pte(__phys_to_pfn(paddr), PAGE_KERNEL));
Dhighmem.c76 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
/arch/riscv/mm/
Dkasan_init.c24 pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL)); in kasan_early_init()
71 set_pte(&pte[i], pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate()
/arch/m68k/sun3/
Ddvma.c32 ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); in dvma_page()
/arch/um/include/asm/
Dpgtable-2level.h41 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) macro
/arch/x86/kernel/
Dcrash_dump_32.c28 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/arch/arm64/mm/
Dhugetlbpage.c100 return __pgprot(pte_val(pfn_pte(pfn, __pgprot(0))) ^ pte_val(pte)); in pte_pgprot()
240 set_pte_at(mm, addr, ptep, pfn_pte(pfn, hugeprot)); in set_huge_pte_at()
444 set_pte_at(vma->vm_mm, addr, ptep, pfn_pte(pfn, hugeprot)); in huge_ptep_set_access_flags()
473 set_pte_at(mm, addr, ptep, pfn_pte(pfn, hugeprot)); in huge_ptep_set_wrprotect()
/arch/m68k/include/asm/
Dsun3_pgtable.h103 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
129 #define pfn_pte(pfn, pgprot) \ macro
Dmotorola_pgtable.h112 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
141 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
/arch/mips/mm/
Dhighmem.c81 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
/arch/m68k/mm/
Dsun3mmu.c78 pte_t pte = pfn_pte(virt_to_pfn(address), PAGE_INIT); in paging_init()
/arch/x86/xen/
Dp2m.c351 pfn_pte(PFN_DOWN(__pa(p2m_missing)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list()
353 pfn_pte(PFN_DOWN(__pa(p2m_identity)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list()
386 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL)); in xen_rebuild_p2m_list()
396 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list()
606 pfn_pte(PFN_DOWN(__pa(p2m)), PAGE_KERNEL)); in xen_alloc_p2m_entry()
/arch/mips/bcm47xx/
Dprom.c123 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
/arch/mips/kvm/
Dmmu.c739 entry = pfn_pte(pfn, __pgprot(prot_bits)); in kvm_mips_map_page()
789 ptep[0] = pfn_pte(0, __pgprot(0)); in kvm_trap_emul_invalidate_gva()
790 ptep[1] = pfn_pte(0, __pgprot(0)); in kvm_trap_emul_invalidate_gva()
797 ptep[0] = pfn_pte(0, __pgprot(0)); in kvm_trap_emul_invalidate_gva()
798 ptep[1] = pfn_pte(0, __pgprot(0)); in kvm_trap_emul_invalidate_gva()
1041 pte_gpa[!idx] = pfn_pte(0, __pgprot(0)); in kvm_mips_handle_mapped_seg_tlb_fault()
1085 *ptep = pte_mkyoung(pte_mkdirty(pfn_pte(pfn, PAGE_SHARED))); in kvm_mips_handle_commpage_tlb_fault()
/arch/nios2/include/asm/
Dpgtable.h191 #define pfn_pte(pfn, prot) (__pte(pfn | pgprot_val(prot))) macro
233 #define mk_pte(page, prot) (pfn_pte(page_to_pfn(page), prot))
/arch/arm/mm/
Dhighmem.c118 set_fixmap_pte(idx, pfn_pte(pfn, kmap_prot)); in kmap_atomic_pfn()
/arch/x86/mm/
Diomap_32.c58 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
/arch/hexagon/include/asm/
Dpgtable.h265 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
365 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) macro
/arch/arc/include/asm/
Dpgtable.h273 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot)
274 #define pfn_pte(pfn, prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) macro
/arch/xtensa/mm/
Dkasan_init.c64 set_pte(pte + j, pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate()

1234