Home
last modified time | relevance | path

Searched refs:pte_dirty (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.15/arch/arm64/mm/
H A Dhugetlbpage.c136 if (pte_dirty(pte)) in huge_ptep_get()
169 if (pte_dirty(tmp_pte)) in get_clear_contig()
420 if (pte_dirty(pte) != pte_dirty(orig_pte)) in __cont_access_flags_changed()
453 if (pte_dirty(orig_pte)) in huge_ptep_set_access_flags()
H A Dcontpte.c64 if (pte_dirty(ptent)) in contpte_convert()
172 if (pte_dirty(pte)) in contpte_ptep_get()
229 if (pte_dirty(pte)) in contpte_ptep_get_lockless()
/linux-6.15/arch/riscv/mm/
H A Dhugetlbpage.c20 if (pte_dirty(pte)) in huge_ptep_get()
163 if (pte_dirty(tmp_pte)) in get_clear_contig()
293 if (pte_dirty(orig_pte)) in huge_ptep_set_access_flags()
/linux-6.15/arch/arc/include/asm/
H A Dhugepage.h41 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd))
H A Dpgtable-bits-arcv2.h81 #define pte_dirty(pte) (pte_val(pte) & _PAGE_DIRTY) macro
/linux-6.15/include/linux/
H A Dksm.h33 #define is_ksm_zero_pte(pte) (is_zero_pfn(pte_pfn(pte)) && pte_dirty(pte))
/linux-6.15/include/asm-generic/
H A Dhugetlb.h20 return pte_dirty(pte); in huge_pte_dirty()
/linux-6.15/mm/
H A Ddebug_vm_pgtable.c93 WARN_ON(pte_dirty(pte_wrprotect(pte))); in pte_basic_tests()
97 WARN_ON(!pte_dirty(pte_mkdirty(pte_mkclean(pte)))); in pte_basic_tests()
100 WARN_ON(pte_dirty(pte_mkclean(pte_mkdirty(pte)))); in pte_basic_tests()
102 WARN_ON(pte_dirty(pte_wrprotect(pte_mkclean(pte)))); in pte_basic_tests()
103 WARN_ON(!pte_dirty(pte_wrprotect(pte_mkdirty(pte)))); in pte_basic_tests()
149 WARN_ON(!(pte_write(pte) && pte_dirty(pte))); in pte_advanced_tests()
H A Drmap.c679 bool writable = pte_dirty(pteval); in set_tlb_ubc_flush_pending()
1055 if (!pte_dirty(entry) && !pte_write(entry)) in page_vma_mkclean_one()
2024 if (pte_dirty(pteval)) in try_to_unmap_one()
2047 if (pte_dirty(pteval)) in try_to_unmap_one()
2414 if (pte_dirty(pteval)) in try_to_migrate_one()
2435 if (pte_dirty(pteval)) in try_to_migrate_one()
2529 if (pte_dirty(pteval)) in try_to_migrate_one()
2729 if (pte_dirty(fw.pte)) in make_device_exclusive()
H A Dmapping_dirty_helpers.c96 if (pte_dirty(ptent)) { in clean_record_pte()
/linux-6.15/arch/powerpc/mm/nohash/
H A De500_hugetlbpage.c159 if (!pte_dirty(pte)) in book3e_hugetlb_preload()
/linux-6.15/arch/m68k/include/asm/
H A Dsun3_pgtable.h141 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } in pte_dirty() function
H A Dmcf_pgtable.h173 static inline int pte_dirty(pte_t pte) in pte_dirty() function
H A Dmotorola_pgtable.h153 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() function
H A Dmmu_context.h147 if (!pte_dirty(*pte) && mmuar <= PAGE_OFFSET) in load_ksp_mmu()
/linux-6.15/arch/um/kernel/
H A Dtlb.c75 } else if (!pte_dirty(*pte)) in update_pte_range()
H A Dtrap.c115 WARN_ON(!pte_young(*pte) || (is_write && !pte_dirty(*pte))); in handle_page_fault()
/linux-6.15/arch/hexagon/include/asm/
H A Dpgtable.h282 static inline int pte_dirty(pte_t pte) in pte_dirty() function
/linux-6.15/arch/sparc/include/asm/
H A Dpgtable_64.h361 static inline unsigned long pte_dirty(pte_t pte) in pte_dirty() function
537 return pte_dirty(pte) ? __pte_mkhwwrite(pte) : pte; in pte_mkwrite_novma()
714 return pte_dirty(pte); in pmd_dirty()
/linux-6.15/arch/arm/lib/
H A Duaccess_with_memcpy.c81 !pte_write(*pte) || !pte_dirty(*pte))) { in pin_page_for_write()
/linux-6.15/arch/nios2/include/asm/
H A Dpgtable.h89 static inline int pte_dirty(pte_t pte) \ in pte_dirty() function
/linux-6.15/arch/m68k/mm/
H A Dmcfmmu.c130 if (!pte_dirty(*pte) && !KMAPAREA(mmuar)) in cf_tlb_miss()
/linux-6.15/arch/csky/include/asm/
H A Dpgtable.h151 static inline int pte_dirty(pte_t pte) in pte_dirty() function
/linux-6.15/arch/mips/include/asm/
H A Dpgtable.h292 static inline int pte_dirty(pte_t pte) { return pte.pte_low & _PAGE_MODIFIED; } function
356 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; } function
/linux-6.15/arch/sparc/mm/
H A Dtlb.c120 pte_dirty(orig)) { in tlb_batch_add()

123