/Linux-v6.6/arch/powerpc/mm/kasan/ |
D | init_book3e_64.c | 61 __set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot), 0); in kasan_map_kernel_page() 87 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL); in kasan_early_init() 112 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL_RO); in kasan_init()
|
D | init_32.c | 28 __set_pte_at(&init_mm, va, ptep, pfn_pte(PHYS_PFN(pa), prot), 1); in kasan_populate_pte() 74 pte_t pte = pfn_pte(PHYS_PFN(__pa(va)), PAGE_KERNEL); in kasan_init_region() 108 pfn_pte(PHYS_PFN(pa), prot)); in kasan_remap_early_shadow_ro()
|
D | init_book3s_64.c | 57 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL); in kasan_init() 83 zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL_RO); in kasan_init()
|
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 | book3s_32.c | 52 pte_t pte = pfn_pte(PHYS_PFN(phys + k_cur - k_nobat), PAGE_KERNEL); in kasan_init_region()
|
/Linux-v6.6/arch/mips/include/asm/ |
D | pgtable-32.h | 158 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() function 174 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() function 188 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) macro
|
/Linux-v6.6/arch/arm/mm/ |
D | kasan_init.c | 60 entry = pfn_pte(virt_to_pfn(p), in kasan_pte_populate() 70 entry = pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_pte_populate() 289 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()
|
/Linux-v6.6/mm/ |
D | debug_vm_pgtable.c | 95 pte_t pte = pfn_pte(args->fixed_pte_pfn, prot); in pte_basic_tests() 144 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests() 154 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests() 168 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests() 611 pte_t pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_clear_tests() 667 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot); in pte_special_tests() 678 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot_none); in pte_protnone_tests() 711 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot); in pte_devmap_tests() 757 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot); in pte_soft_dirty_tests() 769 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot); in pte_swap_soft_dirty_tests() [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/ |
D | i915_mm.c | 60 pte_mkspecial(pfn_pte(sgt_pfn(r), r->prot))); in remap_sg() 78 set_pte_at(r->mm, addr, pte, pte_mkspecial(pfn_pte(r->pfn, r->prot))); in remap_pfn()
|
/Linux-v6.6/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));
|
/Linux-v6.6/arch/arc/include/asm/ |
D | pgtable-levels.h | 179 #define pfn_pte(pfn, prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) macro 180 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot)
|
/Linux-v6.6/arch/x86/xen/ |
D | p2m.c | 346 pfn_pte(PFN_DOWN(__pa(p2m_missing)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list() 348 pfn_pte(PFN_DOWN(__pa(p2m_identity)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list() 381 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL)); in xen_rebuild_p2m_list() 391 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list() 601 pfn_pte(PFN_DOWN(__pa(p2m)), PAGE_KERNEL)); in xen_alloc_p2m_entry()
|
/Linux-v6.6/arch/x86/kernel/ |
D | crash_dump_32.c | 25 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/Linux-v6.6/arch/m68k/include/asm/ |
D | sun3_pgtable.h | 83 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) 110 #define pfn_pte(pfn, pgprot) \ macro
|
D | mcf_pgtable.h | 103 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) 298 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
|
D | motorola_pgtable.h | 88 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) 118 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) macro
|
/Linux-v6.6/arch/hexagon/include/asm/ |
D | pgtable.h | 242 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) 343 #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) macro
|
/Linux-v6.6/arch/arm/include/asm/ |
D | kfence.h | 21 set_pte_ext(pte + i, pfn_pte(pfn + i, PAGE_KERNEL), 0); in split_pmd_page()
|
/Linux-v6.6/arch/um/include/asm/ |
D | pgtable-2level.h | 40 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) macro
|
/Linux-v6.6/arch/m68k/sun3/ |
D | dvma.c | 32 ptep = pfn_pte(virt_to_pfn((void *)kaddr), PAGE_KERNEL); in dvma_page()
|
/Linux-v6.6/arch/nios2/include/asm/ |
D | pgtable.h | 170 #define pfn_pte(pfn, prot) (__pte(pfn | pgprot_val(prot))) macro 219 #define mk_pte(page, prot) (pfn_pte(page_to_pfn(page), prot))
|
/Linux-v6.6/arch/csky/include/asm/ |
D | pgtable.h | 39 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << PAGE_SHIFT) \ macro 256 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
|
/Linux-v6.6/arch/arm64/mm/ |
D | trans_pgd.c | 243 prev_level_entry = pte_val(pfn_pte(pfn, PAGE_KERNEL_ROX)); in trans_pgd_idmap_page() 258 prev_level_entry = pte_val(pfn_pte(pfn, in trans_pgd_idmap_page()
|
/Linux-v6.6/drivers/xen/ |
D | xlate_mmu.c | 100 pte_t pte = pte_mkspecial(pfn_pte(page_to_pfn(page), info->prot)); in remap_pte_fn() 276 pte_t pte = pte_mkspecial(pfn_pte(page_to_pfn(page), r->prot)); in remap_pfn_fn()
|