Home
last modified time | relevance | path

Searched refs:pte_write (Results 1 – 25 of 70) sorted by relevance

123

/openbmc/linux/arch/powerpc/include/asm/nohash/32/
H A Dpte-8xx.h104 static inline int pte_write(pte_t pte) in pte_write() function
109 #define pte_write pte_write macro
/openbmc/linux/arch/powerpc/include/asm/nohash/
H A Dpgtable.h22 #ifndef pte_write
23 static inline int pte_write(pte_t pte) in pte_write() function
91 if (write && !pte_write(pte)) in pte_access_permitted()
/openbmc/linux/arch/arm64/include/asm/
H A Dpgtable.h105 #define pte_write(pte) (!!(pte_val(pte) & PTE_WRITE)) macro
124 #define pte_hw_dirty(pte) (pte_write(pte) && !pte_rdonly(pte))
154 …(((pte_val(pte) & (PTE_VALID | PTE_USER)) == (PTE_VALID | PTE_USER)) && (!(write) || pte_write(pte…
203 if (pte_write(pte)) in pte_mkdirty()
320 VM_WARN_ONCE(pte_write(old_pte) && !pte_dirty(pte), in __check_safe_pte_update()
505 #define pmd_write(pmd) pte_write(pmd_pte(pmd))
525 #define pud_write(pud) pte_write(pud_pte(pud))
/openbmc/linux/mm/
H A Dpage_table_check.c207 WARN_ON_ONCE(pte_write(pte)); in page_table_check_pte_flags()
225 page_table_check_set(pte_pfn(pte), nr, pte_write(pte)); in __page_table_check_ptes_set()
H A Dmapping_dirty_helpers.c40 if (pte_write(ptent)) { in wp_pte()
H A Drmap.c958 if (!pte_dirty(entry) && !pte_write(entry)) in page_vma_mkclean_one()
2065 VM_BUG_ON_PAGE(pte_write(pteval) && folio_test_anon(folio) && in try_to_migrate_one()
2086 if (pte_write(pteval)) in try_to_migrate_one()
2230 pte_write(pteval)) in page_make_device_exclusive_one()
2238 if (pte_write(pteval)) in page_make_device_exclusive_one()
H A Ddebug_vm_pgtable.c97 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()
134 WARN_ON(pte_write(pte)); in pte_advanced_tests()
148 WARN_ON(!(pte_write(pte) && pte_dirty(pte))); in pte_advanced_tests()
/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h405 static inline int pte_write(pte_t pte) in pte_write() function
419 if (pte_write(*ptep)) in ptep_set_wrprotect()
427 if (pte_write(*ptep)) in huge_ptep_set_wrprotect()
552 if (write && !pte_write(pte)) in pte_access_permitted()
935 #define pud_write(pud) pte_write(pud_pte(pud))
962 #define p4d_write(p4d) pte_write(p4d_pte(p4d))
1112 #define pmd_write(pmd) pte_write(pmd_pte(pmd))
/openbmc/linux/arch/sh/mm/
H A Dtlbex_32.c59 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
/openbmc/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable.h165 #define pud_write(pud) pte_write(pud_pte(pud))
166 #define p4d_write(pgd) pte_write(p4d_pte(p4d))
/openbmc/linux/arch/powerpc/mm/
H A Dioremap.c50 if (pte_write(pte)) in ioremap_prot()
/openbmc/linux/arch/arc/include/asm/
H A Dhugepage.h32 #define pmd_write(pmd) pte_write(pmd_pte(pmd))
H A Dpgtable-bits-arcv2.h80 #define pte_write(pte) (pte_val(pte) & _PAGE_WRITE) macro
/openbmc/linux/include/asm-generic/
H A Dhugetlb.h15 return pte_write(pte); in huge_pte_write()
/openbmc/linux/arch/s390/include/asm/
H A Dhugetlb.h99 return pte_write(pte); in huge_pte_write()
/openbmc/linux/arch/sparc/include/asm/
H A Dpgtable_64.h379 static inline unsigned long pte_write(pte_t pte) in pte_write() function
494 return pte_write(pte) ? __pte_mkhwwrite(pte) : pte; in pte_mkdirty()
703 return pte_write(pte); in pmd_write()
706 #define pud_write(pud) pte_write(__pte(pud_val(pud)))
/openbmc/linux/arch/sh/include/asm/
H A Dpgtable_32.h345 #define pte_write(pte) \ macro
348 #define pte_write(pte) ((pte).pte_low & _PAGE_RW) macro
/openbmc/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h405 static inline int pte_write(pte_t pte) { return !!(pte_val(pte) & _PAGE_RW);} in pte_write() function
447 if (write && !pte_write(pte)) in pte_access_permitted()
/openbmc/linux/arch/arm64/mm/
H A Dhugetlbpage.c434 if (pte_write(pte) != pte_write(ptep_get(ptep))) in __cont_access_flags_changed()
/openbmc/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h140 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write() function
H A Dmcf_pgtable.h163 static inline int pte_write(pte_t pte) in pte_write() function
H A Dmotorola_pgtable.h152 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write() function
/openbmc/linux/arch/hexagon/include/asm/
H A Dpgtable.h323 static inline int pte_write(pte_t pte) in pte_write() function
/openbmc/linux/arch/nios2/include/asm/
H A Dpgtable.h84 static inline int pte_write(pte_t pte) \ in pte_write() function
/openbmc/linux/arch/arm/lib/
H A Duaccess_with_memcpy.c81 !pte_write(*pte) || !pte_dirty(*pte))) { in pin_page_for_write()

123