Lines Matching refs:nr_reclaimed
1944 unsigned long nr_reclaimed = 0; in reclaim_high() local
1956 nr_reclaimed += try_to_free_mem_cgroup_pages(memcg, nr_pages, in reclaim_high()
1964 return nr_reclaimed; in reclaim_high()
2121 unsigned long nr_reclaimed; in mem_cgroup_handle_over_high() local
2154 nr_reclaimed = reclaim_high(memcg, in mem_cgroup_handle_over_high()
2189 if (nr_reclaimed || nr_retries--) { in mem_cgroup_handle_over_high()
2217 unsigned long nr_reclaimed; in try_charge_memcg() local
2264 nr_reclaimed = try_to_free_mem_cgroup_pages(mem_over_limit, nr_pages, in try_charge_memcg()
2288 if (nr_reclaimed && nr_pages <= (1 << PAGE_ALLOC_COSTLY_ORDER)) in try_charge_memcg()
4316 unsigned long nr_to_reclaim, nr_reclaimed = 0; in memory_reclaim() local
4347 while (nr_reclaimed < nr_to_reclaim) { in memory_reclaim()
4349 unsigned long batch_size = (nr_to_reclaim - nr_reclaimed) / 4; in memory_reclaim()
4371 nr_reclaimed += reclaimed; in memory_reclaim()