/arch/mips/include/asm/ |
D | pgtable-32.h | 160 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
|
D | pgtable-64.h | 309 #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/ |
D | 8xx.c | 27 *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()
|
D | kasan_init_32.c | 28 __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()
|
D | book3s_32.c | 52 pte_t pte = pfn_pte(PHYS_PFN(phys + k_cur - k_nobat), PAGE_KERNEL); in kasan_init_region()
|
/arch/csky/mm/ |
D | tcm.c | 47 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));
|
D | highmem.c | 76 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
|
/arch/riscv/mm/ |
D | kasan_init.c | 24 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/ |
D | dvma.c | 32 ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); in dvma_page()
|
/arch/um/include/asm/ |
D | pgtable-2level.h | 41 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) macro
|
/arch/x86/kernel/ |
D | crash_dump_32.c | 28 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/arch/arm64/mm/ |
D | hugetlbpage.c | 100 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/ |
D | sun3_pgtable.h | 103 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) 129 #define pfn_pte(pfn, pgprot) \ macro
|
D | motorola_pgtable.h | 112 #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/ |
D | highmem.c | 81 set_pte(kmap_pte-idx, pfn_pte(pfn, PAGE_KERNEL)); in kmap_atomic_pfn()
|
/arch/m68k/mm/ |
D | sun3mmu.c | 78 pte_t pte = pfn_pte(virt_to_pfn(address), PAGE_INIT); in paging_init()
|
/arch/x86/xen/ |
D | p2m.c | 351 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/ |
D | prom.c | 123 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
|
/arch/mips/kvm/ |
D | mmu.c | 739 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/ |
D | pgtable.h | 191 #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/ |
D | highmem.c | 118 set_fixmap_pte(idx, pfn_pte(pfn, kmap_prot)); in kmap_atomic_pfn()
|
/arch/x86/mm/ |
D | iomap_32.c | 58 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); in kmap_atomic_prot_pfn()
|
/arch/hexagon/include/asm/ |
D | pgtable.h | 265 #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/ |
D | pgtable.h | 273 #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/ |
D | kasan_init.c | 64 set_pte(pte + j, pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate()
|