| /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/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 178 #ifndef pte_wrprotect 179 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/arc/include/asm/ |
| H A D | hugepage.h | 30 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
|
| /linux/include/asm-generic/ |
| H A D | hugetlb.h | 26 return pte_wrprotect(pte); in huge_pte_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 | 397 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function 413 return pte_wrprotect(__pte(pte_val(pte) | _PAGE_UFFD_WP)); in pte_mkuffd_wp() 854 return pte_pmd(pte_wrprotect(pmd_pte(pmd))); in pmd_wrprotect() 1047 return pte_pud(pte_wrprotect(pud_pte(pud))); in pud_wrprotect()
|
| /linux/arch/parisc/include/asm/ |
| H A D | pgtable.h | 311 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 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/mm/ |
| H A D | mapping_dirty_helpers.c | 43 ptent = pte_wrprotect(old_pte); in wp_pte()
|
| H A D | rmap.c | 1139 entry = pte_wrprotect(entry); in page_vma_mkclean_one()
|
| H A D | hugetlb.c | 4829 entry = pte_wrprotect(entry); in make_huge_pte()
|
| H A D | memory.c | 1091 pte = pte_wrprotect(pte); in __copy_present_ptes()
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgtable.h | 573 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function 901 #define pud_wrprotect(pud) pte_pud(pte_wrprotect(pud_pte(pud))) 1052 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
|
| /linux/arch/arm64/include/asm/ |
| H A D | pgtable.h | 280 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function 351 return pte_wrprotect(set_pte_bit(pte, __pgprot(PTE_UFFD_WP))); in pte_mkuffd_wp() 587 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd))) 1432 pte = pte_wrprotect(pte); in ___ptep_set_wrprotect()
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable.h | 401 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function 421 return pte_wrprotect(pte_set_flags(pte, _PAGE_UFFD_WP)); in pte_mkuffd_wp() 1283 new_pte = pte_wrprotect(old_pte); in ptep_set_wrprotect()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 459 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/Documentation/mm/ |
| H A D | arch_pgtable_helpers.rst | 51 | pte_wrprotect | Creates a write protected PTE |
|
| /linux/arch/riscv/kvm/ |
| H A D | mmu.c | 62 map.pte = pte_wrprotect(map.pte); in kvm_riscv_mmu_ioremap()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 430 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
|
| /linux/arch/s390/include/asm/ |
| H A D | pgtable.h | 1037 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function 1268 ptep_xchg_lazy(mm, addr, ptep, pte_wrprotect(pte)); in ptep_set_wrprotect()
|
| /linux/arch/x86/xen/ |
| H A D | mmu_pv.c | 199 ptev = pte_wrprotect(*pte); in make_lowmem_page_readonly()
|