Home
last modified time | relevance | path

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

/linux-6.15/mm/
H A Dswapfile.c220 bool need_reclaim; in __try_to_reclaim_swap() local
252 need_reclaim = ((flags & TTRS_ANYWAY) || in __try_to_reclaim_swap()
255 if (!need_reclaim || !folio_swapcache_freeable(folio)) in __try_to_reclaim_swap()
264 need_reclaim = swap_only_has_cache(si, offset, nr_pages); in __try_to_reclaim_swap()
266 if (!need_reclaim) in __try_to_reclaim_swap()
720 bool *need_reclaim) in cluster_scan_range() argument
735 *need_reclaim = true; in cluster_scan_range()
781 bool need_reclaim, ret; in alloc_swap_scan_cluster() local
789 need_reclaim = false; in alloc_swap_scan_cluster()
790 if (!cluster_scan_range(si, ci, offset, nr_pages, &need_reclaim)) in alloc_swap_scan_cluster()
[all …]