| /linux/arch/arm64/mm/ |
| H A D | hugetlbpage.c | 132 if (pte_dirty(pte)) in huge_ptep_get() 165 if (pte_dirty(tmp_pte)) in get_clear_contig() 410 if (pte_dirty(pte) != pte_dirty(orig_pte)) in __cont_access_flags_changed() 443 if (pte_dirty(orig_pte)) in huge_ptep_set_access_flags()
|
| /linux/arch/arc/include/asm/ |
| H A D | hugepage.h | 41 #define pmd_dirty(pmd) pte_dirty(pmd_pte(pmd))
|
| H A D | pgtable-bits-arcv2.h | 81 #define pte_dirty(pte) (pte_val(pte) & _PAGE_DIRTY) macro
|
| /linux/arch/powerpc/mm/nohash/ |
| H A D | e500_hugetlbpage.c | 159 if (!pte_dirty(pte)) in book3e_hugetlb_preload()
|
| /linux/mm/ |
| H A D | rmap.c | 751 bool writable = pte_dirty(pteval); in set_tlb_ubc_flush_pending() 1142 if (!pte_dirty(entry) && !pte_write(entry)) in page_vma_mkclean_one() 2344 if (pte_dirty(pteval)) in try_to_unmap_one() 2629 if (pte_dirty(pteval)) in try_to_migrate_one() 2650 if (pte_dirty(pteval)) in try_to_migrate_one() 2747 if (pte_dirty(pteval)) in try_to_migrate_one() 2947 if (pte_dirty(fw.pte)) in make_device_exclusive()
|
| H A D | migrate_device.c | 436 if (pte_present(pte) && pte_dirty(pte)) in migrate_vma_collect_pmd() 452 if (pte_dirty(pte)) in migrate_vma_collect_pmd()
|
| H A D | khugepaged.c | 735 folio_test_lazyfree(folio) && !pte_dirty(pteval)) { in __collapse_huge_page_isolate() 1707 folio_test_lazyfree(folio) && !pte_dirty(pteval)) { in collapse_scan_pmd()
|
| H A D | internal.h | 448 any_dirty |= pte_dirty(pte); in folio_pte_batch_flags()
|
| H A D | ksm.c | 1329 if (pte_write(entry) || pte_dirty(entry) || in write_protect_page() 1364 if (pte_dirty(entry)) in write_protect_page()
|
| H A D | madvise.c | 776 if (pte_young(ptent) || pte_dirty(ptent)) { in madvise_free_pte_range()
|
| /linux/arch/m68k/include/asm/ |
| H A D | sun3_pgtable.h | 135 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } in pte_dirty() function
|
| H A D | mmu_context.h | 147 if (!pte_dirty(*pte) && mmuar <= PAGE_OFFSET) in load_ksp_mmu()
|
| H A D | motorola_pgtable.h | 147 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() function
|
| H A D | mcf_pgtable.h | 167 static inline int pte_dirty(pte_t pte) in pte_dirty() function
|
| /linux/arch/um/kernel/ |
| H A D | trap.c | 219 WARN_ON(!pte_young(*pte) || (is_write && !pte_dirty(*pte))); in handle_page_fault()
|
| /linux/arch/m68k/kernel/ |
| H A D | sys_m68k.c | 493 if (!pte_present(*pte) || !pte_dirty(*pte) in sys_atomic_cmpxchg_32()
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | pgtable.h | 198 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() function
|
| /linux/arch/sh/include/asm/ |
| H A D | pgtable_32.h | 340 #define pte_dirty(pte) ((pte).pte_low & _PAGE_DIRTY) macro
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| H A D | pgtable.h | 395 static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); } in pte_dirty() function
|
| /linux/Documentation/mm/ |
| H A D | arch_pgtable_helpers.rst | 25 | pte_dirty | Tests a dirty PTE |
|
| /linux/arch/parisc/include/asm/ |
| H A D | pgtable.h | 304 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() function
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 1099 if (pte_present(pte) && pte_dirty(pte)) { in kvm_radix_test_clear_dirty() 1111 if (!pte_present(*ptep) || !pte_dirty(*ptep)) { in kvm_radix_test_clear_dirty()
|
| /linux/fs/proc/ |
| H A D | task_mmu.c | 1062 dirty = pte_dirty(ptent); in smaps_pte_entry() 3342 static void gather_stats(struct page *page, struct numa_maps *md, int pte_dirty, in gather_stats() argument 3354 if (pte_dirty || folio_test_dirty(folio)) in gather_stats() 3456 gather_stats(page, md, pte_dirty(ptent), 1); in gather_pte_stats() 3480 gather_stats(page, md, pte_dirty(huge_pte), 1); in gather_hugetlb_stats()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 401 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & (_PAGE_DIRTY | _PAGE_MODIFIED); } in pte_dirty() function
|
| /linux/arch/x86/include/asm/ |
| H A D | pgtable.h | 148 static inline bool pte_dirty(pte_t pte) in pte_dirty() function
|