Home
last modified time | relevance | path

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

12345

/linux-6.12.1/arch/powerpc/mm/kasan/
Dinit_book3e_64.c61 __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()
Dinit_32.c28 __set_pte_at(&init_mm, va, ptep, pfn_pte(PHYS_PFN(pa), prot), 1); 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()
Dinit_book3s_64.c57 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()
D8xx.c30 pte_t pte = pte_mkhuge(pfn_pte(PHYS_PFN(__pa(block + i * PAGE_SIZE)), PAGE_KERNEL)); in kasan_init_shadow_8M()
68 pte_t pte = pfn_pte(PHYS_PFN(__pa(va)), PAGE_KERNEL); in kasan_init_region()
Dbook3s_32.c52 pte_t pte = pfn_pte(PHYS_PFN(phys + k_cur - k_nobat), PAGE_KERNEL); in kasan_init_region()
/linux-6.12.1/arch/mips/include/asm/
Dpgtable-32.h158 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-6.12.1/arch/arm/mm/
Dkasan_init.c66 entry = pfn_pte(virt_to_pfn(p), in kasan_pte_populate()
76 entry = pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_pte_populate()
295 pfn_pte(virt_to_pfn(kasan_early_shadow_page), in kasan_init()
/linux-6.12.1/mm/
Ddebug_vm_pgtable.c81 pte_t pte = pfn_pte(args->fixed_pte_pfn, prot); in pte_basic_tests()
130 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests()
140 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()
602 pte_t pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_clear_tests()
655 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot); in pte_special_tests()
666 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot_none); in pte_protnone_tests()
699 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot); in pte_devmap_tests()
745 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot); in pte_soft_dirty_tests()
757 pte_t pte = pfn_pte(args->fixed_pte_pfn, args->page_prot); in pte_swap_soft_dirty_tests()
[all …]
/linux-6.12.1/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));
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_mm.c60 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-6.12.1/arch/arc/include/asm/
Dpgtable-levels.h179 #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-6.12.1/arch/x86/kernel/
Dcrash_dump_32.c25 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
/linux-6.12.1/arch/m68k/include/asm/
Dsun3_pgtable.h83 #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))
110 #define pfn_pte(pfn, pgprot) \ macro
Dmcf_pgtable.h103 #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
Dmotorola_pgtable.h88 #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-6.12.1/arch/arm64/mm/
Dcontpte.c59 pte = pfn_pte(ALIGN_DOWN(pte_pfn(pte), CONT_PTES), pte_pgprot(pte)); in contpte_convert()
123 expected_pte = pfn_pte(pfn, prot); in __contpte_try_fold()
266 pte = pfn_pte(pfn, prot); in contpte_set_ptes()
Dtrans_pgd.c245 prev_level_entry = pte_val(pfn_pte(pfn, PAGE_KERNEL_ROX)); in trans_pgd_idmap_page()
260 prev_level_entry = pte_val(pfn_pte(pfn, in trans_pgd_idmap_page()
/linux-6.12.1/arch/x86/xen/
Dp2m.c347 pfn_pte(PFN_DOWN(__pa(p2m_missing)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list()
349 pfn_pte(PFN_DOWN(__pa(p2m_identity)), PAGE_KERNEL_RO)); in xen_rebuild_p2m_list()
382 pfn_pte(PFN_DOWN(__pa(mfns)), PAGE_KERNEL)); in xen_rebuild_p2m_list()
392 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-6.12.1/arch/powerpc/lib/
Dcode-patching.c300 __set_pte_at(patching_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in __do_patch_mem_mm()
339 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in __do_patch_mem()
486 __set_pte_at(patching_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in __do_patch_instructions_mm()
529 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in __do_patch_instructions()
/linux-6.12.1/arch/hexagon/include/asm/
Dpgtable.h242 #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-6.12.1/arch/m68k/sun3/
Ddvma.c32 ptep = pfn_pte(virt_to_pfn((void *)kaddr), PAGE_KERNEL); in dvma_page()
/linux-6.12.1/arch/arm/include/asm/
Dkfence.h21 set_pte_ext(pte + i, pfn_pte(pfn + i, PAGE_KERNEL), 0); in split_pmd_page()
/linux-6.12.1/arch/um/include/asm/
Dpgtable-2level.h40 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) macro
/linux-6.12.1/arch/nios2/include/asm/
Dpgtable.h173 #define pfn_pte(pfn, prot) (__pte(pfn | pgprot_val(prot))) macro
224 #define mk_pte(page, prot) (pfn_pte(page_to_pfn(page), prot))
/linux-6.12.1/arch/csky/include/asm/
Dpgtable.h39 #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))

12345