| /linux-6.15/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-6.15/arch/sparc/include/asm/ |
| H A D | hugetlb.h | 37 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
|
| /linux-6.15/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-6.15/arch/arc/include/asm/ |
| H A D | hugepage.h | 30 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
|
| /linux-6.15/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-6.15/arch/xtensa/include/asm/ |
| H A D | pgtable.h | 255 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function 341 update_pte(ptep, pte_wrprotect(pte)); in ptep_set_wrprotect()
|
| /linux-6.15/include/asm-generic/ |
| H A D | hugetlb.h | 31 return pte_wrprotect(pte); in huge_pte_wrprotect()
|
| /linux-6.15/mm/ |
| H A D | debug_vm_pgtable.c | 93 WARN_ON(pte_dirty(pte_wrprotect(pte))); in pte_basic_tests() 98 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte), args->vma))); in pte_basic_tests() 101 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte, args->vma)))); in pte_basic_tests() 102 WARN_ON(pte_dirty(pte_wrprotect(pte_mkclean(pte)))); in pte_basic_tests() 103 WARN_ON(!pte_dirty(pte_wrprotect(pte_mkdirty(pte)))); in pte_basic_tests() 141 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-6.15/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-6.15/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 475 set_pte(ptep, pte_wrprotect(*ptep)); in ptep_set_wrprotect()
|
| /linux-6.15/arch/m68k/include/asm/ |
| H A D | sun3_pgtable.h | 144 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect() function
|
| H A D | mcf_pgtable.h | 183 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| H A D | motorola_pgtable.h | 156 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect() function
|
| H A D | mmu_context.h | 148 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
|
| /linux-6.15/arch/hexagon/include/asm/ |
| H A D | pgtable.h | 296 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux-6.15/arch/nios2/include/asm/ |
| H A D | pgtable.h | 117 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux-6.15/arch/m68k/mm/ |
| H A D | mcfmmu.c | 131 set_pte(pte, pte_wrprotect(*pte)); in cf_tlb_miss()
|
| /linux-6.15/arch/csky/include/asm/ |
| H A D | pgtable.h | 161 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux-6.15/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-6.15/arch/um/include/asm/ |
| H A D | pgtable.h | 170 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux-6.15/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgtable.h | 559 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function 905 #define pud_wrprotect(pud) pte_pud(pte_wrprotect(pud_pte(pud))) 1050 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
|
| /linux-6.15/arch/alpha/include/asm/ |
| H A D | pgtable.h | 256 extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } in pte_wrprotect() function
|
| /linux-6.15/arch/openrisc/include/asm/ |
| H A D | pgtable.h | 223 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|