| /linux/arch/powerpc/include/asm/nohash/32/ |
| H A D | pte-8xx.h | 101 static inline int pte_write(pte_t pte) in pte_write() function 106 #define pte_write pte_write macro
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 192 #ifndef pte_write 193 static inline int pte_write(pte_t pte) in pte_write() function 246 if (write && !pte_write(pte)) in pte_access_permitted()
|
| /linux/arch/powerpc/include/asm/nohash/64/ |
| H A D | pgtable.h | 140 #define pud_write(pud) pte_write(pud_pte(pud)) 141 #define p4d_write(pgd) pte_write(p4d_pte(p4d))
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgtable.h | 391 static inline int pte_write(pte_t pte) in pte_write() function 405 if (pte_write(*ptep)) in ptep_set_wrprotect() 413 if (pte_write(*ptep)) in huge_ptep_set_wrprotect() 546 if (write && !pte_write(pte)) in pte_access_permitted() 906 #define pud_write(pud) pte_write(pud_pte(pud)) 939 #define p4d_write(p4d) pte_write(p4d_pte(p4d)) 1077 #define pmd_write(pmd) pte_write(pmd_pte(pmd))
|
| /linux/mm/ |
| H A D | page_table_check.c | 194 WARN_ON_ONCE(pte_uffd_wp(pte) && pte_write(pte)); in page_table_check_pte_flags() 215 page_table_check_set(pte_pfn(pte), nr, pte_write(pte)); in __page_table_check_ptes_set()
|
| H A D | debug_vm_pgtable.c | 100 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte), args->vma))); in pte_basic_tests() 103 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte, args->vma)))); in pte_basic_tests() 109 WARN_ON(!pte_write(pte_mkdirty(pte_mkwrite_novma(pte)))); in pte_basic_tests() 110 WARN_ON(!pte_write(pte_mkwrite_novma(pte_wrprotect(pte)))); in pte_basic_tests() 111 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite_novma(pte)))); in pte_basic_tests() 143 WARN_ON(pte_write(pte)); in pte_advanced_tests() 157 WARN_ON(!(pte_write(pte) && pte_dirty(pte))); in pte_advanced_tests()
|
| H A D | mapping_dirty_helpers.c | 40 if (pte_write(ptent)) { in wp_pte()
|
| /linux/arch/sh/mm/ |
| H A D | tlbex_32.c | 60 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
|
| /linux/arch/powerpc/mm/ |
| H A D | ioremap.c | 43 if (pte_write(pte)) in ioremap_prot()
|
| /linux/arch/arc/include/asm/ |
| H A D | hugepage.h | 39 #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
|
| /linux/include/asm-generic/ |
| H A D | hugetlb.h | 10 return pte_write(pte); in huge_pte_write()
|
| /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
|
| /linux/arch/sparc/include/asm/ |
| H A D | pgtable_64.h | 377 static inline unsigned long pte_write(pte_t pte) in pte_write() function 492 return pte_write(pte) ? __pte_mkhwwrite(pte) : pte; in pte_mkdirty() 701 return pte_write(pte); in pmd_write() 704 #define pud_write(pud) pte_write(__pte(pud_val(pud)))
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 390 static inline bool pte_write(pte_t pte) in pte_write() function 435 if (write && !pte_write(pte)) in pte_access_permitted()
|
| /linux/arch/arm64/include/asm/ |
| H A D | pgtable.h | 155 #define pte_write(pte) (!!(pte_val(pte) & PTE_WRITE)) macro 173 #define pte_hw_dirty(pte) (pte_write(pte) && !pte_rdonly(pte)) 227 …(((pte_val(pte) & (PTE_VALID | PTE_USER)) == (PTE_VALID | PTE_USER)) && (!(write) || pte_write(pte… 280 if (pte_write(pte)) in pte_mkdirty() 432 VM_WARN_ONCE(pte_write(old_pte) && !pte_dirty(pte), in __check_safe_pte_update() 608 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) 638 #define pud_write(pud) pte_write(pud_pte(pud))
|
| /linux/arch/arm64/mm/ |
| H A D | contpte.c | 667 if (pte_write(orig_pte) == pte_write(entry)) { in contpte_ptep_set_access_flags()
|
| H A D | hugetlbpage.c | 404 if (pte_write(pte) != pte_write(__ptep_get(ptep))) in __cont_access_flags_changed()
|
| /linux/arch/m68k/include/asm/ |
| H A D | sun3_pgtable.h | 134 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 | 157 static inline int pte_write(pte_t pte) in pte_write() function
|
| H A D | motorola_pgtable.h | 146 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write() function
|
| /linux/arch/hexagon/include/asm/ |
| H A D | pgtable.h | 320 static inline int pte_write(pte_t pte) in pte_write() function
|
| /linux/arch/arm/lib/ |
| H A D | uaccess_with_memcpy.c | 81 !pte_write(*pte) || !pte_dirty(*pte))) { in pin_page_for_write()
|
| /linux/arch/um/kernel/ |
| H A D | tlb.c | 70 w = pte_write(*pte); in update_pte_range()
|
| /linux/arch/mips/include/asm/ |
| H A D | pgtable.h | 291 static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; } function 355 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } function
|