Home
last modified time | relevance | path

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

12

/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/mm/
H A Ddebug_vm_pgtable.c95 WARN_ON(pte_dirty(pte_wrprotect(pte))); in pte_basic_tests()
100 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte), args->vma))); in pte_basic_tests()
103 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte, args->vma)))); in pte_basic_tests()
104 WARN_ON(pte_dirty(pte_wrprotect(pte_mkclean(pte)))); in pte_basic_tests()
105 WARN_ON(!pte_dirty(pte_wrprotect(pte_mkdirty(pte)))); in pte_basic_tests()
110 WARN_ON(!pte_write(pte_mkwrite_novma(pte_wrprotect(pte)))); in pte_basic_tests()
111 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite_novma(pte)))); in pte_basic_tests()
149 pte = pte_wrprotect(pte); in pte_advanced_tests()
H A Dmapping_dirty_helpers.c43 ptent = pte_wrprotect(old_pte); in wp_pte()
/linux/arch/arc/include/asm/
H A Dhugepage.h30 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
/linux/arch/powerpc/include/asm/nohash/
H A Dpgtable.h172 #ifndef pte_wrprotect
173 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/arch/s390/include/asm/
H A Dhugetlb.h83 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte)); in huge_ptep_set_wrprotect()
/linux/include/asm-generic/
H A Dhugetlb.h26 return pte_wrprotect(pte); in huge_pte_wrprotect()
/linux/arch/xtensa/include/asm/
H A Dpgtable.h254 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
334 update_pte(ptep, pte_wrprotect(pte)); in ptep_set_wrprotect()
/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/riscv/include/asm/
H A Dpgtable.h411 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
427 return pte_wrprotect(__pte(pte_val(pte) | _PAGE_UFFD_WP)); in pte_mkuffd_wp()
843 return pte_pmd(pte_wrprotect(pmd_pte(pmd))); in pmd_wrprotect()
1036 return pte_pud(pte_wrprotect(pud_pte(pud))); in pud_wrprotect()
/linux/arch/parisc/include/asm/
H A Dpgtable.h322 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } in pte_wrprotect() function
470 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/hexagon/include/asm/
H A Dpgtable.h293 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/arch/nios2/include/asm/
H A Dpgtable.h117 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/arch/csky/include/asm/
H A Dpgtable.h161 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/arch/mips/include/asm/
H A Dpgtable.h295 static inline pte_t pte_wrprotect(pte_t pte) function
359 static inline pte_t pte_wrprotect(pte_t pte) function
/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h558 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
886 #define pud_wrprotect(pud) pte_pud(pte_wrprotect(pud_pte(pud)))
1031 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
/linux/arch/alpha/include/asm/
H A Dpgtable.h226 extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } in pte_wrprotect() function
/linux/arch/um/include/asm/
H A Dpgtable.h172 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/arch/openrisc/include/asm/
H A Dpgtable.h206 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux/arch/arm/include/asm/
H A Dpgtable.h228 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function

12