Home
last modified time | relevance | path

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

1234

/arch/mips/include/asm/
Dpgtable-32.h159 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() function
175 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() function
190 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) macro
193 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) macro
Dpgtable-64.h308 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) macro
311 #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/arm/mm/
Dkasan_init.c61 entry = pfn_pte(virt_to_pfn(p), in kasan_pte_populate()
71 entry = pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_pte_populate()
290 pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_init()
Dflush.c43 set_top_pte(to, pfn_pte(pfn, PAGE_KERNEL)); in flush_pfn_alias()
58 set_top_pte(va, pfn_pte(pfn, PAGE_KERNEL)); in flush_icache_alias()
/arch/x86/kernel/
Dcrash_dump_32.c26 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/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));
/arch/m68k/sun3/
Ddvma.c32 ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); in dvma_page()
/arch/um/include/asm/
Dpgtable-2level.h40 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) macro
/arch/arc/include/asm/
Dpgtable-levels.h180 #define pfn_pte(pfn, prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) macro
181 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot)
/arch/arm64/mm/
Dtrans_pgd.c272 set_pte(ptep, pfn_pte(virt_to_pfn(page), pgprot)); in trans_pgd_map_page()
298 prev_level_entry = pte_val(pfn_pte(pfn, PAGE_KERNEL_EXEC)); in trans_pgd_idmap_page()
313 prev_level_entry = pte_val(pfn_pte(pfn, in trans_pgd_idmap_page()
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()
443 set_pte_at(vma->vm_mm, addr, ptep, pfn_pte(pfn, hugeprot)); in huge_ptep_set_access_flags()
472 set_pte_at(mm, addr, ptep, pfn_pte(pfn, hugeprot)); in huge_ptep_set_wrprotect()
/arch/riscv/include/asm/
Dkfence.h22 set_pte(pte + i, pfn_pte(pfn + i, PAGE_KERNEL)); in split_pmd_page()
/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.h114 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
143 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
/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/riscv/mm/
Dkasan_init.c25 pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL)); in kasan_early_init()
68 set_pte(ptep, pfn_pte(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pte()
/arch/mips/bcm47xx/
Dprom.c119 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
/arch/nios2/include/asm/
Dpgtable.h189 #define pfn_pte(pfn, prot) (__pte(pfn | pgprot_val(prot))) macro
231 #define mk_pte(page, prot) (pfn_pte(page_to_pfn(page), prot))
/arch/hexagon/include/asm/
Dpgtable.h261 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
361 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) macro
/arch/xtensa/mm/
Dkasan_init.c64 set_pte(pte + j, pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate()
/arch/powerpc/mm/nohash/
Dbook3e_pgtable.c113 set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot)); in map_kernel_page()

1234