Home
last modified time | relevance | path

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

123

/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()
/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()
/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()
/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()
Dsun3mmu.c81 set_pte (pg_table, pte); in paging_init()
/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()
/arch/sparc/include/asm/
Dpgtable_32.h118 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function
123 #define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
176 set_pte(ptep, __pte(0)); in __pte_clear()
201 set_pte((pte_t *)&pmd_val(*pmdp), __pte(0)); in pmd_clear()
221 set_pte((pte_t *)pudp, __pte(0)); in pud_clear()
Dpgalloc_32.h33 set_pte((pte_t *)pudp, __pte((SRMMU_ET_PTD | (pa >> 4)))); in pud_set()
/arch/riscv/mm/
Dkasan_init.c24 set_pte(kasan_early_shadow_pte + i, in kasan_early_init()
68 set_pte(ptep, pfn_pte(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pte()
198 set_pte(&kasan_early_shadow_pte[i], in kasan_init()
/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()
/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()
/arch/mips/include/asm/
Dhighmem.h54 #define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) set_pte(ptep, ptev)
/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()
668 set_pte(ptep, entry); in kvm_mips_map_page()
/arch/csky/include/asm/
Dpgtable.h34 #define pte_clear(mm, addr, ptep) set_pte((ptep), \
103 static inline void set_pte(pte_t *p, pte_t pte) in set_pte() function
112 #define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval)
/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()
/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()
272 set_pte(ptep, pfn_pte(virt_to_pfn(page), pgprot)); in trans_pgd_map_page()
/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()
/arch/nds32/mm/
Dinit.c91 set_pte(pte, __pte(p + pgprot_val(PAGE_KERNEL))); in map_ram()
258 set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); in __set_fixmap()
/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)
/arch/riscv/kernel/
Defi.c75 set_pte(ptep, pte); in set_permissions()
/arch/x86/boot/compressed/
Dident_map_64.c198 set_pte(&pte[i], __pte(address | page_flags)); in split_large_pmd()
293 set_pte(ptep, pte); in set_clr_page_flags()
/arch/nios2/include/asm/
Dpgtable.h195 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte() function
206 set_pte(ptep, pteval); in set_pte_at()

123