Home
last modified time | relevance | path

Searched refs:set_pte (Results 1 – 25 of 87) sorted by relevance

1234

/Linux-v6.1/arch/riscv/include/asm/
Dkfence.h22 set_pte(pte + i, pfn_pte(pfn + i, PAGE_KERNEL)); in split_pmd_page()
54 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page()
56 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
/Linux-v6.1/arch/xtensa/mm/
Dkasan_init.c26 set_pte(kasan_early_shadow_pte + i, in kasan_early_init()
64 set_pte(pte + j, pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate()
94 set_pte(kasan_early_shadow_pte + i, in kasan_init()
/Linux-v6.1/arch/parisc/include/asm/
Dkfence.h35 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page()
37 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
/Linux-v6.1/arch/x86/include/asm/
Dkfence.h57 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kfence_protect_page()
59 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kfence_protect_page()
/Linux-v6.1/arch/sparc/include/asm/
Dpgtable_32.h99 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function
104 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
162 set_pte(ptep, __pte(0)); in __pte_clear()
187 set_pte((pte_t *)&pmd_val(*pmdp), __pte(0)); in pmd_clear()
207 set_pte((pte_t *)pudp, __pte(0)); in pud_clear()
/Linux-v6.1/arch/m68k/mm/
Dmcfmmu.c76 set_pte(pg_table, pte); in paging_init()
144 set_pte(pte, pte_mkdirty(*pte)); in cf_tlb_miss()
147 set_pte(pte, pte_mkyoung(*pte)); in cf_tlb_miss()
150 set_pte(pte, pte_wrprotect(*pte)); in cf_tlb_miss()
/Linux-v6.1/arch/m68k/include/asm/
Dpgtable_mm.h30 #define set_pte(pteptr, pteval) \ macro
34 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
Dmmu_context.h145 set_pte(pte, pte_mkyoung(*pte)); in load_ksp_mmu()
148 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
/Linux-v6.1/arch/mips/kvm/
Dmmu.c167 set_pte(pte + i, __pte(0)); in kvm_mips_flush_gpa_pte()
296 set_pte(pte + i, new); \
465 set_pte(gpa_pte, hva_pte); in kvm_set_spte_gfn()
533 set_pte(ptep, pte_mkyoung(*ptep)); in _kvm_mips_map_page_fast()
545 set_pte(ptep, pte_mkdirty(*ptep)); in _kvm_mips_map_page_fast()
669 set_pte(ptep, entry); in kvm_mips_map_page()
/Linux-v6.1/arch/s390/include/asm/
Dhugetlb.h50 set_pte(ptep, __pte(_REGION3_ENTRY_EMPTY)); in huge_pte_clear()
52 set_pte(ptep, __pte(_SEGMENT_ENTRY_EMPTY)); in huge_pte_clear()
/Linux-v6.1/arch/csky/include/asm/
Dpgtable.h33 #define pte_clear(mm, addr, ptep) set_pte((ptep), \
84 static inline void set_pte(pte_t *p, pte_t pte) in set_pte() function
93 #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval)
/Linux-v6.1/arch/x86/power/
Dhibernate_32.c124 set_pte(pte, pfn_pte(pfn, PAGE_KERNEL_EXEC)); in resume_physical_mapping_init()
164 set_pte(pte + pte_index(restore_jump_address), in set_up_temporary_text_mapping()
/Linux-v6.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));
Dinit.c140 set_pte(&kernel_pte_tables[i], __pte(_PAGE_GLOBAL)); in mmu_init()
143 set_pte(&kernel_pte_tables[i - PFN_DOWN(va_pa_offset)], pfn_pte(i, PAGE_KERNEL)); in mmu_init()
/Linux-v6.1/arch/s390/mm/
Dkasan_init.c197 set_pte(pt_dir, __pte(__pa(page) | pgt_prot)); in kasan_early_pgtable_populate()
202 set_pte(pt_dir, __pte(__pa(page) | pgt_prot)); in kasan_early_pgtable_populate()
206 set_pte(pt_dir, __pte(__pa(page) | pgt_prot_zero)); in kasan_early_pgtable_populate()
Dpgtable.c118 set_pte(ptep, set_pte_bit(*ptep, __pgprot(_PAGE_INVALID))); in ptep_flush_lazy()
235 set_pte(ptep, entry); in pgste_set_pte()
283 set_pte(ptep, new); in ptep_xchg_commit()
355 set_pte(ptep, pte); in ptep_modify_prot_commit()
582 set_pte(ptep, __pte(_PAGE_INVALID)); in pgtable_trans_huge_withdraw()
584 set_pte(ptep, __pte(_PAGE_INVALID)); in pgtable_trans_huge_withdraw()
779 set_pte(ptep, pte); in ptep_test_and_clear_uc()
/Linux-v6.1/arch/x86/xen/
Dp2m.c350 set_pte(p2m_missing_pte + i, in xen_rebuild_p2m_list()
352 set_pte(p2m_identity_pte + i, in xen_rebuild_p2m_list()
385 set_pte(ptep, in xen_rebuild_p2m_list()
395 set_pte(ptep, in xen_rebuild_p2m_list()
605 set_pte(ptep, in xen_alloc_p2m_entry()
/Linux-v6.1/arch/mips/include/asm/
Dhighmem.h54 #define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) set_pte(ptep, ptev)
/Linux-v6.1/arch/sh/include/asm/
Dpgtable_32.h300 static inline void set_pte(pte_t *ptep, pte_t pte) in set_pte() function
307 #define set_pte(pteptr, pteval) (*(pteptr) = pteval) macro
310 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
/Linux-v6.1/arch/hexagon/include/asm/
Dpgtable.h146 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function
351 #define set_pte_at(mm, addr, ptep, pte) set_pte(ptep, pte)
/Linux-v6.1/arch/nios2/include/asm/
Dpgtable.h176 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function
187 set_pte(ptep, pteval); in set_pte_at()
/Linux-v6.1/arch/sh/mm/
Dkmap.c45 set_pte(kmap_coherent_pte - idx, mk_pte(page, PAGE_KERNEL)); in kmap_coherent()
Dtlbex_32.c66 set_pte(pte, entry); in handle_tlbmiss()
/Linux-v6.1/arch/x86/boot/compressed/
Dident_map_64.c204 set_pte(&pte[i], __pte(address | page_flags)); in split_large_pmd()
307 set_pte(ptep, pte); in set_clr_page_flags()
/Linux-v6.1/arch/arm64/mm/
Dtrans_pgd.c43 set_pte(dst_ptep, pte_mkwrite(pte)); in _copy_pte()
56 set_pte(dst_ptep, pte_mkpresent(pte_mkwrite(pte))); in _copy_pte()

1234