Searched refs:folio_test_anon (Results 1 – 14 of 14) sorted by relevance
750 if (folio_test_anon(folio)) { in page_address_in_vma()918 if (!is_locked && (!folio_test_anon(folio) || folio_test_ksm(folio))) { in folio_referenced()1533 anon_exclusive = folio_test_anon(folio) && in try_to_unmap_one()1537 bool anon = folio_test_anon(folio); in try_to_unmap_one()1651 } else if (folio_test_anon(folio)) { in try_to_unmap_one()1928 anon_exclusive = folio_test_anon(folio) && in try_to_migrate_one()1932 bool anon = folio_test_anon(folio); in try_to_migrate_one()2072 VM_BUG_ON_PAGE(pte_write(pteval) && folio_test_anon(folio) && in try_to_migrate_one()2177 if (!folio_test_ksm(folio) && folio_test_anon(folio)) in try_to_migrate()2309 if (!folio_test_anon(folio)) in folio_make_device_exclusive()[all …]
219 if (folio_test_anon(folio) && !is_readable_migration_entry(entry)) in remove_migration_pte()242 if (folio_test_anon(folio)) in remove_migration_pte()251 if (folio_test_anon(folio)) in remove_migration_pte()1067 if (folio_test_anon(src) && !folio_test_ksm(src)) in __unmap_and_move()1105 VM_BUG_ON_FOLIO(folio_test_anon(src) && in __unmap_and_move()1306 if (folio_test_anon(src)) in unmap_and_move_huge_page()1315 if (!folio_test_anon(src)) { in unmap_and_move_huge_page()
103 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in page_idle_clear_pte_refs()
637 if (folio_test_anon(folio) && folio_test_swapbacked(folio) && in lru_lazyfree_fn()757 if (folio_test_lru(folio) && folio_test_anon(folio) && in mark_page_lazyfree()
1517 (folio_test_anon(folio) && !folio_test_swapbacked(folio))) { in folio_check_dirty_writeback()1814 if (folio_test_anon(folio) && folio_test_swapbacked(folio)) { in shrink_folio_list()2002 if (folio_test_anon(folio) && !folio_test_swapbacked(folio)) { in shrink_folio_list()3926 !(folio_test_anon(folio) && folio_test_swapbacked(folio) && in walk_pte_range()4006 !(folio_test_anon(folio) && folio_test_swapbacked(folio) && in walk_pmd_range_locked()4654 !(folio_test_anon(folio) && folio_test_swapbacked(folio) && in lru_gen_look_around()4738 if (type == LRU_GEN_FILE && folio_test_anon(folio) && folio_test_dirty(folio)) { in sort_folio()4787 (folio_test_anon(folio) && !folio_test_swapcache(folio)))) in isolate_folio()
2373 if (folio_test_anon(folio)) in unmap_folio()2384 if (!folio_test_anon(folio)) in remap_page()2604 if (folio_test_anon(folio)) in can_split_folio()2655 if (folio_test_anon(folio)) { in split_huge_page_to_list()
832 if (!folio_test_anon(folio)) in folio_mapcount()
3420 if (folio_test_anon(folio)) { in do_wp_page()3918 BUG_ON(!folio_test_anon(folio) && folio_test_mappedtodisk(folio)); in do_swap_page()3919 BUG_ON(folio_test_anon(folio) && PageAnonExclusive(page)); in do_swap_page()4006 VM_BUG_ON(!folio_test_anon(folio) || in do_swap_page()
5718 if (folio_test_anon(folio)) { in mem_cgroup_move_account()7130 VM_BUG_ON_FOLIO(folio_test_anon(old) != folio_test_anon(new), new); in mem_cgroup_migrate()
54 if (!folio_test_anon(folio)) in sanity_check_pinned_pages()
53 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in damon_pa_mkold()151 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in damon_pa_young()
20 (folio_test_anon(folio) ? PAGEMAP_ANONYMOUS : PAGEMAP_FILE) | \
656 static __always_inline bool folio_test_anon(struct folio *folio) in folio_test_anon() function663 return folio_test_anon(page_folio(page)); in PageAnon()
191 if (!folio_test_anon(old_folio)) { in __replace_page()