Home
last modified time | relevance | path

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

123

/openbmc/linux/arch/powerpc/include/asm/nohash/32/
H A Dpte-8xx.h90 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
95 #define pte_wrprotect pte_wrprotect macro
H A 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()
H A Dpgtable.h190 #ifndef pte_wrprotect
191 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/openbmc/linux/arch/s390/include/asm/
H A Dhugetlb.h86 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte));
126 return pte_wrprotect(pte);
/openbmc/linux/arch/ia64/include/asm/
H A 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()
/openbmc/linux/arch/sparc/include/asm/
H A Dhugetlb.h37 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
/openbmc/linux/arch/arc/include/asm/
H A Dhugepage.h23 #define pmd_wrprotect(pmd) pte_pmd(pte_wrprotect(pmd_pte(pmd)))
/openbmc/linux/arch/xtensa/include/asm/
H A 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()
/openbmc/linux/mm/
H A Ddebug_vm_pgtable.c92 WARN_ON(pte_dirty(pte_wrprotect(pte))); in pte_basic_tests()
97 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte), args->vma))); in pte_basic_tests()
100 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte, args->vma)))); in pte_basic_tests()
101 WARN_ON(pte_dirty(pte_wrprotect(pte_mkclean(pte)))); in pte_basic_tests()
102 WARN_ON(!pte_dirty(pte_wrprotect(pte_mkdirty(pte)))); in pte_basic_tests()
140 pte = pte_wrprotect(pte); in pte_advanced_tests()
H A Dmapping_dirty_helpers.c43 ptent = pte_wrprotect(old_pte); in wp_pte()
/openbmc/linux/include/asm-generic/
H A Dhugetlb.h31 return pte_wrprotect(pte); in huge_pte_wrprotect()
/openbmc/linux/arch/parisc/mm/
H A Dhugetlbpage.c167 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(old_pte)); in huge_ptep_set_wrprotect()
/openbmc/linux/arch/parisc/include/asm/
H A Dpgtable.h322 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()
/openbmc/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h144 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~SUN3_PAGE_WRITEABLE; return pte; } in pte_wrprotect() function
H A Dmmu_context.h148 set_pte(pte, pte_wrprotect(*pte)); in load_ksp_mmu()
H A Dmcf_pgtable.h183 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
H A Dmotorola_pgtable.h156 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_RONLY; return pte; } in pte_wrprotect() function
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_vm.c488 (pte_wrprotect in drm_mmap_dma()
572 (pte_wrprotect in drm_mmap_locked()
/openbmc/linux/arch/hexagon/include/asm/
H A Dpgtable.h296 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/openbmc/linux/arch/nios2/include/asm/
H A Dpgtable.h114 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/openbmc/linux/arch/mips/include/asm/
H A Dpgtable.h295 static inline pte_t pte_wrprotect(pte_t pte) function
359 static inline pte_t pte_wrprotect(pte_t pte) function
/openbmc/linux/arch/m68k/mm/
H A Dmcfmmu.c138 set_pte(pte, pte_wrprotect(*pte)); in cf_tlb_miss()
/openbmc/linux/arch/csky/include/asm/
H A Dpgtable.h161 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/openbmc/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable.h103 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() function
/openbmc/linux/arch/arm64/include/asm/
H A 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