/arch/mips/include/asm/ |
D | pgtable-32.h | 159 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
|
D | pgtable-64.h | 308 #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/ |
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/arm/mm/ |
D | kasan_init.c | 61 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()
|
D | flush.c | 43 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/ |
D | crash_dump_32.c | 26 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/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));
|
/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 | 40 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) macro
|
/arch/arc/include/asm/ |
D | pgtable-levels.h | 180 #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/ |
D | trans_pgd.c | 272 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()
|
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() 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/ |
D | kfence.h | 22 set_pte(pte + i, pfn_pte(pfn + i, PAGE_KERNEL)); in split_pmd_page()
|
/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 | 114 #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/ |
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/riscv/mm/ |
D | kasan_init.c | 25 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/ |
D | prom.c | 119 #define ENTRYLO(x) ((pte_val(pfn_pte((x) >> _PFN_SHIFT, PAGE_KERNEL_UNCACHED)) >> 6) | 1)
|
/arch/nios2/include/asm/ |
D | pgtable.h | 189 #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/ |
D | pgtable.h | 261 #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/ |
D | kasan_init.c | 64 set_pte(pte + j, pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate()
|
/arch/powerpc/mm/nohash/ |
D | book3e_pgtable.c | 113 set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot)); in map_kernel_page()
|