Searched refs:nr_to_reclaim (Results 1 – 5 of 5) sorted by relevance
2420 unsigned long nr_to_reclaim = sc->nr_to_reclaim; in shrink_lruvec() local2461 if (nr_reclaimed < nr_to_reclaim || proportional_reclaim) in shrink_lruvec()3032 if (sc->nr_reclaimed >= sc->nr_to_reclaim) in do_try_to_free_pages()3239 .nr_to_reclaim = SWAP_CLUSTER_MAX, in try_to_free_pages()3287 .nr_to_reclaim = SWAP_CLUSTER_MAX, in mem_cgroup_shrink_node()3340 .nr_to_reclaim = max(nr_pages, SWAP_CLUSTER_MAX), in try_to_free_mem_cgroup_pages()3515 sc->nr_to_reclaim = 0; in kswapd_shrink_node()3521 sc->nr_to_reclaim += max(high_wmark_pages(zone), SWAP_CLUSTER_MAX); in kswapd_shrink_node()3544 return sc->nr_scanned >= sc->nr_to_reclaim; in kswapd_shrink_node()4031 unsigned long shrink_all_memory(unsigned long nr_to_reclaim) in shrink_all_memory() argument[all …]
208 if (sc->nr_reclaimed >= sc->nr_to_reclaim || in shrink_anon_memcg()304 if (sc->nr_reclaimed >= sc->nr_to_reclaim || in shrink_anon()
632 if (sc->nr_reclaimed >= sc->nr_to_reclaim) { in zswapd_shrink_anon()638 return sc->nr_scanned >= sc->nr_to_reclaim; in zswapd_shrink_anon()683 sc.nr_to_reclaim = __calc_nr_to_reclaim(); in zswapd_shrink_node()
399 sc.nr_to_reclaim = div_u64(reclaim_size, PAGE_SIZE); in memcg_force_shrink_purgeable_bysize()
53 unsigned long nr_to_reclaim; member