| /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/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/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/mm/ |
| 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 | 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/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/mm/ |
| H A D | rmap.c | 1142 if (!pte_dirty(entry) && !pte_write(entry)) in page_vma_mkclean_one() 2631 writable = pte_write(pteval); in try_to_migrate_one() 2652 writable = pte_write(pteval); in try_to_migrate_one() 2933 fw.level != FW_LEVEL_PTE || !pte_write(fw.pte)) { in make_device_exclusive()
|
| H A D | memory.c | 1175 writable = pte_write(pte); in __copy_present_ptes() 4076 BUG_ON(unshare && pte_write(entry)); in wp_page_copy() 5223 (pte_write(pte) && !PageAnonExclusive(page))); in do_swap_page() 5255 if ((vmf->flags & FAULT_FLAG_WRITE) && !pte_write(pte) && !rwp_restore) { in do_swap_page() 5716 else if (pte_write(entry) && folio_test_dirty(folio)) in set_pte_range() 6249 writable = pte_write(ptent); in numa_rebuild_large_mapping() 6278 if (!pte_write(pte) && in do_uffd_rwp() 6319 writable = pte_write(pte); in do_numa_page() 6581 if (!pte_write(entry)) in handle_pte_fault() 7117 pte_pfn(pte), PAGE_MASK, pte_write(pte), in follow_pfnmap_start()
|
| H A D | gup.c | 790 if (pte_write(pte)) in can_follow_write_pte() 849 if (!pte_write(pte) && gup_must_unshare(vma, flags, page)) { in follow_page_pte() 2879 if (!pte_write(pte) && gup_must_unshare(NULL, flags, page)) { in gup_fast_pte_range()
|
| H A D | hmm.c | 239 return pte_write(pte) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : HMM_PFN_VALID; in pte_to_hmm_pfn_flags()
|
| H A D | internal.h | 445 any_writable |= pte_write(pte); in folio_pte_batch_flags()
|
| H A D | migrate_device.c | 378 mpfn |= pte_write(pte) ? MIGRATE_PFN_WRITE : 0; in migrate_vma_collect_pmd()
|
| H A D | ksm.c | 1329 if (pte_write(entry) || pte_dirty(entry) || in write_protect_page() 1368 if (pte_write(entry)) in write_protect_page()
|
| /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 | 399 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() function
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 814 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc()
|