/openbmc/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | pte-8xx.h | 104 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 D | pgtable.h | 22 #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 D | pgtable.h | 105 #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 D | page_table_check.c | 207 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 D | mapping_dirty_helpers.c | 40 if (pte_write(ptent)) { in wp_pte()
|
H A D | rmap.c | 958 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 D | debug_vm_pgtable.c | 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() 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 D | pgtable.h | 405 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 D | tlbex_32.c | 59 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
|
/openbmc/linux/arch/powerpc/include/asm/nohash/64/ |
H A D | pgtable.h | 165 #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 D | ioremap.c | 50 if (pte_write(pte)) in ioremap_prot()
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | hugepage.h | 32 #define pmd_write(pmd) pte_write(pmd_pte(pmd))
|
H A D | pgtable-bits-arcv2.h | 80 #define pte_write(pte) (pte_val(pte) & _PAGE_WRITE) macro
|
/openbmc/linux/include/asm-generic/ |
H A D | hugetlb.h | 15 return pte_write(pte); in huge_pte_write()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | hugetlb.h | 99 return pte_write(pte); in huge_pte_write()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | pgtable_64.h | 379 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 D | pgtable_32.h | 345 #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 D | pgtable.h | 405 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 D | hugetlbpage.c | 434 if (pte_write(pte) != pte_write(ptep_get(ptep))) in __cont_access_flags_changed()
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | sun3_pgtable.h | 140 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write() function
|
H A D | mcf_pgtable.h | 163 static inline int pte_write(pte_t pte) in pte_write() function
|
H A D | motorola_pgtable.h | 152 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 D | pgtable.h | 323 static inline int pte_write(pte_t pte) in pte_write() function
|
/openbmc/linux/arch/nios2/include/asm/ |
H A D | pgtable.h | 84 static inline int pte_write(pte_t pte) \ in pte_write() function
|
/openbmc/linux/arch/arm/lib/ |
H A D | uaccess_with_memcpy.c | 81 !pte_write(*pte) || !pte_dirty(*pte))) { in pin_page_for_write()
|