• Home
  • Raw
  • Download

Lines Matching refs:nr_reclaimed

110 	unsigned long nr_reclaimed;  member
955 unsigned long nr_reclaimed = 0; in shrink_page_list() local
1240 nr_reclaimed++; in shrink_page_list()
1262 nr_reclaimed++; in shrink_page_list()
1304 return nr_reclaimed; in shrink_page_list()
1726 unsigned long nr_reclaimed = 0; in shrink_inactive_list() local
1776 nr_reclaimed = shrink_page_list(&page_list, pgdat, sc, TTU_UNMAP, in shrink_inactive_list()
1785 __count_vm_events(PGSTEAL_KSWAPD, nr_reclaimed); in shrink_inactive_list()
1787 __count_vm_events(PGSTEAL_DIRECT, nr_reclaimed); in shrink_inactive_list()
1857 nr_scanned, nr_reclaimed, in shrink_inactive_list()
1859 return nr_reclaimed; in shrink_inactive_list()
2332 unsigned long nr_reclaimed = 0; in shrink_node_memcg() local
2367 nr_reclaimed += shrink_list(lru, nr_to_scan, in shrink_node_memcg()
2374 if (nr_reclaimed < nr_to_reclaim || scan_adjusted) in shrink_node_memcg()
2429 sc->nr_reclaimed += nr_reclaimed; in shrink_node_memcg()
2459 unsigned long nr_reclaimed, in should_continue_reclaim() argument
2479 if (!nr_reclaimed && !nr_scanned) in should_continue_reclaim()
2490 if (!nr_reclaimed) in should_continue_reclaim()
2502 if (sc->nr_reclaimed < pages_for_compaction && in should_continue_reclaim()
2527 unsigned long nr_reclaimed, nr_scanned; in shrink_node() local
2539 nr_reclaimed = sc->nr_reclaimed; in shrink_node()
2554 reclaimed = sc->nr_reclaimed; in shrink_node()
2568 sc->nr_reclaimed - reclaimed); in shrink_node()
2581 sc->nr_reclaimed >= sc->nr_to_reclaim) { in shrink_node()
2597 sc->nr_reclaimed += reclaim_state->reclaimed_slab; in shrink_node()
2604 sc->nr_reclaimed - nr_reclaimed); in shrink_node()
2606 if (sc->nr_reclaimed - nr_reclaimed) in shrink_node()
2609 } while (should_continue_reclaim(pgdat, sc->nr_reclaimed - nr_reclaimed, in shrink_node()
2730 sc->nr_reclaimed += nr_soft_reclaimed; in shrink_zones()
2784 if (sc->nr_reclaimed >= sc->nr_to_reclaim) in do_try_to_free_pages()
2814 if (sc->nr_reclaimed) in do_try_to_free_pages()
2815 return sc->nr_reclaimed; in do_try_to_free_pages()
2966 unsigned long nr_reclaimed; in try_to_free_pages() local
2992 nr_reclaimed = do_try_to_free_pages(zonelist, &sc); in try_to_free_pages()
2994 trace_mm_vmscan_direct_reclaim_end(nr_reclaimed); in try_to_free_pages()
2996 return nr_reclaimed; in try_to_free_pages()
3033 trace_mm_vmscan_memcg_softlimit_reclaim_end(sc.nr_reclaimed); in mem_cgroup_shrink_node()
3036 return sc.nr_reclaimed; in mem_cgroup_shrink_node()
3045 unsigned long nr_reclaimed; in try_to_free_mem_cgroup_pages() local
3074 nr_reclaimed = do_try_to_free_pages(zonelist, &sc); in try_to_free_mem_cgroup_pages()
3077 trace_mm_vmscan_memcg_reclaim_end(nr_reclaimed); in try_to_free_mem_cgroup_pages()
3079 return nr_reclaimed; in try_to_free_mem_cgroup_pages()
3200 if (sc->order && sc->nr_reclaimed >= compact_gap(sc->order)) in kswapd_shrink_node()
3236 unsigned long nr_reclaimed = sc.nr_reclaimed; in balance_pgdat() local
3301 sc.nr_reclaimed += nr_soft_reclaimed; in balance_pgdat()
3328 nr_reclaimed = sc.nr_reclaimed - nr_reclaimed; in balance_pgdat()
3329 if (raise_priority || !nr_reclaimed) in balance_pgdat()
3333 if (!sc.nr_reclaimed) in balance_pgdat()
3577 unsigned long nr_reclaimed; in shrink_all_memory() local
3584 nr_reclaimed = do_try_to_free_pages(zonelist, &sc); in shrink_all_memory()
3590 return nr_reclaimed; in shrink_all_memory()
3781 } while (sc.nr_reclaimed < nr_pages && --sc.priority >= 0); in __node_reclaim()
3787 return sc.nr_reclaimed >= nr_pages; in __node_reclaim()