Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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.h62 unsigned long clr = ~pte_val(pte_wrprotect(__pte(~0))); in huge_ptep_set_wrprotect()
63 unsigned long set = pte_val(pte_wrprotect(__pte(0))); in huge_ptep_set_wrprotect()
Dpgtable.h191 #ifndef pte_wrprotect
192 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
314 unsigned long clr = ~pte_val(pte_wrprotect(__pte(~0))); in ptep_set_wrprotect()
315 unsigned long set = pte_val(pte_wrprotect(__pte(0))); in ptep_set_wrprotect()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dhugetlb.h77 set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte)); in huge_ptep_set_wrprotect()
112 return pte_wrprotect(pte); in huge_pte_wrprotect()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dhugetlb.h34 set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dpgtable.h306 #define pte_wrprotect(pte) (__pte(pte_val(pte) & ~_PAGE_AR_RW)) macro
421 new = pte_val(pte_wrprotect(__pte (old))); in ptep_set_wrprotect()
425 set_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in ptep_set_wrprotect()
/kernel/linux/linux-5.10/mm/
Ddebug_vm_pgtable.c76 WARN_ON(pte_dirty(pte_wrprotect(pte))); in pte_basic_tests()
81 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte)))); in pte_basic_tests()
84 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte)))); in pte_basic_tests()
85 WARN_ON(pte_dirty(pte_wrprotect(pte_mkclean(pte)))); in pte_basic_tests()
86 WARN_ON(!pte_dirty(pte_wrprotect(pte_mkdirty(pte)))); in pte_basic_tests()
113 pte = pte_wrprotect(pte); in pte_advanced_tests()
Dmapping_dirty_helpers.c41 ptent = pte_wrprotect(old_pte); in wp_pte()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Dhugepage.h23 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dpgtable.h270 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
359 update_pte(ptep, pte_wrprotect(pte)); in ptep_set_wrprotect()
/kernel/linux/linux-5.10/include/asm-generic/
Dhugetlb.h86 return pte_wrprotect(pte); in huge_pte_wrprotect()
/kernel/linux/linux-5.10/arch/parisc/mm/
Dhugetlbpage.c167 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dpgtable.h356 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } in pte_wrprotect() function
462 set_pte_at(mm, addr, ptep, pte_wrprotect(*ptep)); in ptep_set_wrprotect()
/kernel/linux/linux-5.10/arch/m68k/mm/
Dmcfmmu.c150 set_pte(pte, pte_wrprotect(*pte)); in cf_tlb_miss()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dsun3_pgtable.h162 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect() function
Dmmu_context.h152 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
Dmotorola_pgtable.h178 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect() function
Dmcf_pgtable.h238 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vm.c493 (pte_wrprotect in drm_mmap_dma()
577 (pte_wrprotect in drm_mmap_locked()
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dpgtable.h135 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dpgtable.h319 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgtable.h309 static inline pte_t pte_wrprotect(pte_t pte) function
373 static inline pte_t pte_wrprotect(pte_t pte) function
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpgtable.h199 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
424 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
865 pte = pte_wrprotect(pte); in ptep_set_wrprotect()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dpgtable.h181 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/64/
Dpgtable.h118 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function

123