| /linux/arch/powerpc/include/asm/nohash/32/ |
| H A D | hugetlb-8xx.h | 41 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 D | pte-8xx.h | 87 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function 92 #define pte_wrprotect pte_wrprotect macro
|
| /linux/mm/ |
| H A D | debug_vm_pgtable.c | 95 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 D | mapping_dirty_helpers.c | 43 ptent = pte_wrprotect(old_pte); in wp_pte()
|
| /linux/arch/arc/include/asm/ |
| H A D | hugepage.h | 30 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 172 #ifndef pte_wrprotect 173 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/s390/include/asm/ |
| H A D | hugetlb.h | 83 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte)); in huge_ptep_set_wrprotect()
|
| /linux/include/asm-generic/ |
| H A D | hugetlb.h | 26 return pte_wrprotect(pte); in huge_pte_wrprotect()
|
| /linux/arch/xtensa/include/asm/ |
| H A D | pgtable.h | 254 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 D | hugetlbpage.c | 146 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable.h | 411 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 D | pgtable.h | 322 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 D | sun3_pgtable.h | 138 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect() function
|
| H A D | mmu_context.h | 148 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
|
| H A D | motorola_pgtable.h | 150 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect() function
|
| H A D | mcf_pgtable.h | 177 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/hexagon/include/asm/ |
| H A D | pgtable.h | 293 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/nios2/include/asm/ |
| H A D | pgtable.h | 117 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/csky/include/asm/ |
| H A D | pgtable.h | 161 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/mips/include/asm/ |
| H A D | pgtable.h | 295 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 D | pgtable.h | 558 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 D | pgtable.h | 226 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 D | pgtable.h | 172 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/openrisc/include/asm/ |
| H A D | pgtable.h | 206 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/arm/include/asm/ |
| H A D | pgtable.h | 228 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|