Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c211 bool need_reclaim; in __try_to_reclaim_swap() local
234 need_reclaim = ((flags & TTRS_ANYWAY) || in __try_to_reclaim_swap()
237 if (!need_reclaim || !folio_swapcache_freeable(folio)) in __try_to_reclaim_swap()
246 need_reclaim = swap_is_has_cache(si, offset, nr_pages); in __try_to_reclaim_swap()
248 if (!need_reclaim) in __try_to_reclaim_swap()
728 bool *need_reclaim) in cluster_scan_range() argument
740 *need_reclaim = true; in cluster_scan_range()
786 bool need_reclaim, ret; in alloc_swap_scan_cluster() local
794 need_reclaim = false; in alloc_swap_scan_cluster()
795 if (!cluster_scan_range(si, ci, offset, nr_pages, &need_reclaim)) in alloc_swap_scan_cluster()
[all …]