Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c209 bool need_reclaim; in __try_to_reclaim_swap() local
239 need_reclaim = ((flags & TTRS_ANYWAY) || in __try_to_reclaim_swap()
242 if (!need_reclaim || !folio_swapcache_freeable(folio)) in __try_to_reclaim_swap()
251 need_reclaim = swap_only_has_cache(si, ci, offset, nr_pages); in __try_to_reclaim_swap()
253 if (!need_reclaim) in __try_to_reclaim_swap()
817 bool *need_reclaim) in cluster_scan_range() argument
833 *need_reclaim = true; in cluster_scan_range()
923 bool need_reclaim, ret, usable; in alloc_swap_scan_cluster() local
932 need_reclaim = false; in alloc_swap_scan_cluster()
933 if (!cluster_scan_range(si, ci, offset, nr_pages, &need_reclaim)) in alloc_swap_scan_cluster()
[all …]