Home
last modified time | relevance | path

Searched refs:folio_test_ksm (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/mm/damon/
Dpaddr.c51 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in damon_pa_mkold()
136 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in damon_pa_young()
/Linux-v6.6/mm/
Dpage_idle.c104 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in page_idle_clear_pte_refs()
Drmap.c920 if (!is_locked && (!folio_test_anon(folio) || folio_test_ksm(folio))) { in folio_referenced()
1247 if (likely(!folio_test_ksm(folio))) { in page_add_anon_rmap()
2165 if (!folio_test_ksm(folio) && folio_test_anon(folio)) in try_to_migrate()
2516 if (unlikely(folio_test_ksm(folio))) in rmap_walk()
2528 VM_BUG_ON_FOLIO(folio_test_ksm(folio), folio); in rmap_walk_locked()
Dmemory.c3401 if (folio_test_ksm(folio) || folio_ref_count(folio) > 3) in do_wp_page()
3415 if (folio_test_ksm(folio) || folio_ref_count(folio) != 1) { in do_wp_page()
3449 if (folio && folio_test_ksm(folio)) in do_wp_page()
3643 return (fault_flags & FAULT_FLAG_WRITE) && !folio_test_ksm(folio) && in should_try_to_free_swap()
3896 !folio_test_ksm(folio) && !folio_test_lru(folio)) in do_swap_page()
3930 if (!folio_test_ksm(folio)) { in do_swap_page()
3988 if (!folio_test_ksm(folio) && in do_swap_page()
Dmigrate.c1194 if (folio_test_anon(src) && !folio_test_ksm(src)) in migrate_folio_unmap()
1234 !folio_test_ksm(src) && !anon_vma, src); in migrate_folio_unmap()
Dksm.c906 return folio_test_ksm(folio) ? folio_raw_mapping(folio) : NULL; in folio_stable_node()
2844 VM_BUG_ON_FOLIO(!folio_test_ksm(folio), folio); in rmap_walk_ksm()
/Linux-v6.6/include/linux/
Dpage-flags.h679 static __always_inline bool folio_test_ksm(struct folio *folio) in folio_test_ksm() function
687 return folio_test_ksm(page_folio(page)); in PageKsm()