Searched refs:folio_test_anon (Results 1 – 16 of 16) sorted by relevance
748 if (folio_test_anon(folio)) { in page_address_in_vma()920 if (!is_locked && (!folio_test_anon(folio) || folio_test_ksm(folio))) { in folio_referenced()1139 if (folio_test_anon(folio)) in __page_set_anon_rmap()1436 if (folio_test_anon(folio)) in page_remove_rmap()1445 idx = folio_test_anon(folio) ? NR_ANON_MAPPED : NR_FILE_MAPPED; in page_remove_rmap()1453 if (folio_test_pmd_mappable(folio) && folio_test_anon(folio)) in page_remove_rmap()1540 anon_exclusive = folio_test_anon(folio) && in try_to_unmap_one()1544 bool anon = folio_test_anon(folio); in try_to_unmap_one()1654 } else if (folio_test_anon(folio)) { in try_to_unmap_one()1910 anon_exclusive = folio_test_anon(folio) && in try_to_migrate_one()[all …]
227 if (folio_test_anon(folio) && !is_readable_migration_entry(entry)) in remove_migration_pte()251 if (folio_test_anon(folio)) in remove_migration_pte()261 if (folio_test_anon(folio)) in remove_migration_pte()1202 if (folio_test_anon(src) && !folio_test_ksm(src)) in migrate_folio_unmap()1241 VM_BUG_ON_FOLIO(folio_test_anon(src) && in migrate_folio_unmap()1408 if (folio_test_anon(src)) in unmap_and_move_huge_page()1417 if (!folio_test_anon(src)) { in unmap_and_move_huge_page()
104 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in page_idle_clear_pte_refs()
612 if (folio_test_anon(folio) && folio_test_swapbacked(folio) && in lru_lazyfree_fn()728 if (folio_test_lru(folio) && folio_test_anon(folio) && in folio_mark_lazyfree()
389 if (pageout_anon_only_filter && !folio_test_anon(folio)) in madvise_cold_or_pageout_pte_range()464 if (pageout_anon_only_filter && !folio_test_anon(folio)) in madvise_cold_or_pageout_pte_range()494 if (pageout_anon_only_filter && !folio_test_anon(folio)) in madvise_cold_or_pageout_pte_range()
2351 if (folio_test_anon(folio)) in unmap_folio()2362 if (!folio_test_anon(folio)) in remap_page()2502 if (folio_test_anon(folio) && folio_test_swapcache(folio)) { in __split_huge_page()2587 if (folio_test_anon(folio)) in can_split_folio()2639 if (folio_test_anon(folio)) { in split_huge_page_to_list()
936 if (page && folio_test_anon(folio)) { in copy_present_pte()965 VM_BUG_ON(page && folio_test_anon(folio) && PageAnonExclusive(page)); in copy_present_pte()2982 VM_BUG_ON_FOLIO(folio_test_anon(folio), folio); in fault_dirty_shared_page()3135 if (!folio_test_anon(old_folio)) { in wp_page_copy()3403 if (folio && folio_test_anon(folio)) { in do_wp_page()3955 BUG_ON(!folio_test_anon(folio) && folio_test_mappedtodisk(folio)); in do_swap_page()3956 BUG_ON(folio_test_anon(folio) && PageAnonExclusive(page)); in do_swap_page()4043 VM_BUG_ON(!folio_test_anon(folio) || in do_swap_page()
742 if (!folio_test_anon(folio) || in __migrate_device_pages()
1595 (folio_test_anon(folio) && !folio_test_swapbacked(folio))) { in folio_check_dirty_writeback()1890 if (folio_test_anon(folio) && folio_test_swapbacked(folio)) { in shrink_folio_list()2088 if (folio_test_anon(folio) && !folio_test_swapbacked(folio)) { in shrink_folio_list()4035 !(folio_test_anon(folio) && folio_test_swapbacked(folio) && in walk_pte_range()4115 !(folio_test_anon(folio) && folio_test_swapbacked(folio) && in walk_pmd_range_locked()4725 !(folio_test_anon(folio) && folio_test_swapbacked(folio) && in lru_gen_look_around()4927 if (type == LRU_GEN_FILE && folio_test_anon(folio) && folio_test_dirty(folio)) { in sort_folio()4978 (folio_test_anon(folio) && !folio_test_swapcache(folio)))) in isolate_folio()
1909 if (folio_test_anon(folio)) in free_huge_folio()5144 if (!folio_test_anon(pte_folio)) { in copy_hugetlb_page_range()5609 if (folio_mapcount(old_folio) == 1 && folio_test_anon(old_folio)) { in hugetlb_wp()5618 VM_BUG_ON_PAGE(folio_test_anon(old_folio) && in hugetlb_wp()
5810 if (folio_test_anon(folio)) { in mem_cgroup_move_account()7286 VM_BUG_ON_FOLIO(folio_test_anon(old) != folio_test_anon(new), new); in mem_cgroup_migrate()
56 !folio_test_anon(folio)) in sanity_check_pinned_pages()
51 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()196 matched = folio_test_anon(folio); in __damos_pa_filter_out()
20 (folio_test_anon(folio) ? PAGEMAP_ANONYMOUS : PAGEMAP_FILE) | \
670 static __always_inline bool folio_test_anon(struct folio *folio) in folio_test_anon() function677 return folio_test_anon(page_folio(page)); in PageAnon()
190 if (!folio_test_anon(old_folio)) { in __replace_page()