| /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/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 | 191 WARN_ON_ONCE(pte_uffd_wp(pte) && pte_write(pte)); in page_table_check_pte_flags() 212 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 | 1134 if (!pte_dirty(entry) && !pte_write(entry)) in page_vma_mkclean_one() 2572 writable = pte_write(pteval); in try_to_migrate_one() 2593 writable = pte_write(pteval); in try_to_migrate_one() 2874 fw.level != FW_LEVEL_PTE || !pte_write(fw.pte)) { in make_device_exclusive()
|
| /linux/arch/sh/mm/ |
| H A D | tlbex_32.c | 60 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
|
| /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/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 | 149 #define pte_write(pte) (!!(pte_val(pte) & PTE_WRITE)) macro 167 #define pte_hw_dirty(pte) (pte_write(pte) && !pte_rdonly(pte)) 221 …(((pte_val(pte) & (PTE_VALID | PTE_USER)) == (PTE_VALID | PTE_USER)) && (!(write) || pte_write(pte… 274 if (pte_write(pte)) in pte_mkdirty() 428 VM_WARN_ONCE(pte_write(old_pte) && !pte_dirty(pte), in __check_safe_pte_update() 605 #define pmd_write(pmd) pte_write(pmd_pte(pmd)) 637 #define pud_write(pud) pte_write(pud_pte(pud))
|
| /linux/arch/arm64/mm/ |
| H A D | contpte.c | 666 if (pte_write(orig_pte) == pte_write(entry)) { in contpte_ptep_set_access_flags()
|
| /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 | motorola_pgtable.h | 146 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write() function
|
| H A D | mcf_pgtable.h | 157 static inline int pte_write(pte_t pte) in pte_write() function
|
| /linux/arch/riscv/include/asm/ |
| H A D | pgtable.h | 360 static inline int pte_write(pte_t pte) in pte_write() function 803 return pte_write(pmd_pte(pmd)); in pmd_write() 809 return pte_write(pud_pte(pud)); in pud_write()
|
| /linux/arch/loongarch/mm/ |
| H A D | fault.c | 68 return write ? pte_write(ptep_get(pte)) : 1; in spurious_fault()
|
| /linux/arch/m68k/kernel/ |
| H A D | sys_m68k.c | 494 || !pte_write(*pte)) { in sys_atomic_cmpxchg_32()
|
| /linux/arch/powerpc/mm/ptdump/ |
| H A D | ptdump.c | 191 if (!pte_write(pte) || !pte_exec(pte)) in note_prot_wx()
|
| /linux/arch/s390/include/asm/ |
| H A D | pgtable.h | 916 static inline int pte_write(pte_t pte) in pte_write() function 948 if (pte_write(pte)) in pte_pgprot() 1267 if (pte_write(pte)) in ptep_set_wrprotect()
|
| /linux/Documentation/mm/ |
| H A D | arch_pgtable_helpers.rst | 27 | pte_write | Tests a writable PTE |
|
| /linux/arch/parisc/include/asm/ |
| H A D | pgtable.h | 306 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() function
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 392 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() function
|