Home
last modified time | relevance | path

Searched refs:pte_wrprotect (Results 1 – 22 of 22) sorted by relevance

/linux/arch/powerpc/include/asm/nohash/32/
H A Dhugetlb-8xx.h41 unsigned long clr = ~pte_val(pte_wrprotect(__pte(~0))); in huge_ptep_set_wrprotect()
42 unsigned long set = pte_val(pte_wrprotect(__pte(0))); in huge_ptep_set_wrprotect()
H A Dpte-8xx.h87 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
92 #define pte_wrprotect pte_wrprotect macro
/linux/arch/powerpc/include/asm/nohash/
H A Dpgtable.h178 #ifndef pte_wrprotect
179 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/arch/arc/include/asm/
H A Dhugepage.h30 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
/linux/arch/parisc/mm/
H A Dhugetlbpage.c146 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
/linux/arch/parisc/include/asm/
H A Dpgtable.h311 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } in pte_wrprotect() function
460 set_pte_at(mm, addr, ptep, pte_wrprotect(*ptep)); in ptep_set_wrprotect()
/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h138 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect() function
H A Dmmu_context.h148 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
H A Dmotorola_pgtable.h150 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect() function
H A Dmcf_pgtable.h177 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/arch/x86/include/asm/
H A Dpgtable.h401 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
421 return pte_wrprotect(pte_set_flags(pte, _PAGE_UFFD)); in pte_mkuffd()
1279 new_pte = pte_wrprotect(old_pte); in ptep_set_wrprotect()
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h459 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst51 | pte_wrprotect | Creates a write protected PTE |
/linux/arch/arm64/mm/
H A Dhugetlbpage.c471 pte = pte_wrprotect(pte); in huge_ptep_set_wrprotect()
/linux/arch/loongarch/include/asm/
H A Dpgtable.h437 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/mm/
H A Dinternal.h378 pte = pte_wrprotect(pte); in __pte_batch_clear_ignored()
H A Drmap.c1143 entry = pte_wrprotect(entry); in page_vma_mkclean_one()
H A Dksm.c1369 entry = pte_wrprotect(entry); in write_protect_page()
H A Dhugetlb.c4838 entry = pte_wrprotect(entry); in make_huge_pte()
H A Dmemory.c1192 pte = pte_wrprotect(pte); in __copy_present_ptes()
/linux/arch/x86/xen/
H A Dmmu_pv.c207 ptev = pte_wrprotect(*pte); in make_lowmem_page_readonly()
/linux/fs/proc/
H A Dtask_mmu.c1728 ptent = pte_wrprotect(old_pte); in clear_soft_dirty()