Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/include/asm/nohash/32/
H A Dpte-8xx.h101 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 Dpgtable.h192 #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 Dtlbex_32.c60 if (unlikely(error_code && !pte_write(entry))) in handle_tlbmiss()
/linux/arch/arc/include/asm/
H A Dhugepage.h39 #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
/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
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h390 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 Dhugetlbpage.c404 if (pte_write(pte) != pte_write(__ptep_get(ptep))) in __cont_access_flags_changed()
/linux/arch/m68k/include/asm/
H A Dsun3_pgtable.h134 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write() function
H A Dmotorola_pgtable.h146 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write() function
H A Dmcf_pgtable.h157 static inline int pte_write(pte_t pte) in pte_write() function
/linux/arch/loongarch/mm/
H A Dfault.c68 return write ? pte_write(ptep_get(pte)) : 1; in spurious_fault()
/linux/arch/m68k/kernel/
H A Dsys_m68k.c494 || !pte_write(*pte)) { in sys_atomic_cmpxchg_32()
/linux/arch/powerpc/mm/ptdump/
H A Dptdump.c191 if (!pte_write(pte) || !pte_exec(pte)) in note_prot_wx()
/linux/mm/
H A Drmap.c1142 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 Dmemory.c1175 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 Dgup.c790 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 Dhmm.c239 return pte_write(pte) ? (HMM_PFN_VALID | HMM_PFN_WRITE) : HMM_PFN_VALID; in pte_to_hmm_pfn_flags()
H A Dinternal.h445 any_writable |= pte_write(pte); in folio_pte_batch_flags()
H A Dmigrate_device.c378 mpfn |= pte_write(pte) ? MIGRATE_PFN_WRITE : 0; in migrate_vma_collect_pmd()
H A Dksm.c1329 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 Darch_pgtable_helpers.rst27 | pte_write | Tests a writable PTE |
/linux/arch/parisc/include/asm/
H A Dpgtable.h306 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 Dpgtable.h399 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() function
/linux/arch/powerpc/kvm/
H A Dbook3s_64_mmu_radix.c814 if (ptep && pte_present(*ptep) && (!writing || pte_write(*ptep))) { in kvmppc_hv_handle_set_rc()

12