Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/powerpc/include/asm/nohash/32/
Dpte-8xx.h90 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
95 #define pte_wrprotect pte_wrprotect macro
Dhugetlb-8xx.h63 unsigned long clr = ~pte_val(pte_wrprotect(__pte(~0))); in huge_ptep_set_wrprotect()
64 unsigned long set = pte_val(pte_wrprotect(__pte(0))); in huge_ptep_set_wrprotect()
Dpgtable.h190 #ifndef pte_wrprotect
191 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux-6.6.21/arch/s390/include/asm/
Dhugetlb.h79 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte)); in huge_ptep_set_wrprotect()
119 return pte_wrprotect(pte); in huge_pte_wrprotect()
/linux-6.6.21/arch/sparc/include/asm/
Dhugetlb.h37 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
/linux-6.6.21/arch/ia64/include/asm/
Dpgtable.h271 #define pte_wrprotect(pte) (__pte(pte_val(pte) & ~_PAGE_AR_RW)) macro
384 new = pte_val(pte_wrprotect(__pte (old))); in ptep_set_wrprotect()
388 set_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in ptep_set_wrprotect()
/linux-6.6.21/arch/arc/include/asm/
Dhugepage.h23 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
/linux-6.6.21/arch/xtensa/include/asm/
Dpgtable.h255 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.6.21/include/asm-generic/
Dhugetlb.h31 return pte_wrprotect(pte); in huge_pte_wrprotect()
/linux-6.6.21/mm/
Ddebug_vm_pgtable.c107 WARN_ON(pte_dirty(pte_wrprotect(pte))); in pte_basic_tests()
112 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte), args->vma))); in pte_basic_tests()
115 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte, args->vma)))); in pte_basic_tests()
116 WARN_ON(pte_dirty(pte_wrprotect(pte_mkclean(pte)))); in pte_basic_tests()
117 WARN_ON(!pte_dirty(pte_wrprotect(pte_mkdirty(pte)))); in pte_basic_tests()
155 pte = pte_wrprotect(pte); in pte_advanced_tests()
Dmapping_dirty_helpers.c43 ptent = pte_wrprotect(old_pte); in wp_pte()
/linux-6.6.21/arch/parisc/mm/
Dhugetlbpage.c167 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
/linux-6.6.21/arch/parisc/include/asm/
Dpgtable.h322 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } in pte_wrprotect() function
479 set_pte(ptep, pte_wrprotect(*ptep)); in ptep_set_wrprotect()
/linux-6.6.21/arch/m68k/include/asm/
Dsun3_pgtable.h144 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect() function
Dmotorola_pgtable.h156 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect() function
Dmmu_context.h148 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
Dmcf_pgtable.h183 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux-6.6.21/arch/hexagon/include/asm/
Dpgtable.h296 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux-6.6.21/drivers/gpu/drm/
Ddrm_vm.c488 (pte_wrprotect in drm_mmap_dma()
572 (pte_wrprotect in drm_mmap_locked()
/linux-6.6.21/arch/nios2/include/asm/
Dpgtable.h114 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux-6.6.21/arch/csky/include/asm/
Dpgtable.h161 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux-6.6.21/arch/m68k/mm/
Dmcfmmu.c138 set_pte(pte, pte_wrprotect(*pte)); in cf_tlb_miss()
/linux-6.6.21/arch/mips/include/asm/
Dpgtable.h295 static inline pte_t pte_wrprotect(pte_t pte) function
359 static inline pte_t pte_wrprotect(pte_t pte) function
/linux-6.6.21/arch/powerpc/include/asm/nohash/64/
Dpgtable.h103 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/linux-6.6.21/arch/arm64/include/asm/
Dpgtable.h209 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
488 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
978 pte = pte_wrprotect(pte); in ptep_set_wrprotect()

123