• Home
  • Raw
  • Download

Lines Matching refs:priority

137 	s8 priority;  member
442 struct shrinker *shrinker, int priority) in do_shrink_slab() argument
471 delta = freeable >> priority; in do_shrink_slab()
516 freeable, delta, total_scan, priority); in do_shrink_slab()
573 struct mem_cgroup *memcg, int priority) in shrink_slab_memcg() argument
610 ret = do_shrink_slab(&sc, shrinker, priority); in shrink_slab_memcg()
629 ret = do_shrink_slab(&sc, shrinker, priority); in shrink_slab_memcg()
648 struct mem_cgroup *memcg, int priority) in shrink_slab_memcg() argument
676 int priority) in shrink_slab() argument
682 trace_android_vh_shrink_slab_bypass(gfp_mask, nid, memcg, priority, &bypass); in shrink_slab()
694 return shrink_slab_memcg(gfp_mask, nid, memcg, priority); in shrink_slab()
706 ret = do_shrink_slab(&sc, shrinker, priority); in shrink_slab()
1567 .priority = DEF_PRIORITY, in reclaim_clean_pages_from_list()
2073 nr_scanned, nr_reclaimed, &stat, sc->priority, file); in shrink_inactive_list()
2185 nr_deactivate, nr_rotated, sc->priority, file); in shrink_active_list()
2197 .priority = DEF_PRIORITY, in reclaim_pages()
2365 if (!sc->priority && swappiness) { in get_scan_count()
2490 scan >>= sc->priority; in get_scan_count()
2559 sc->priority == DEF_PRIORITY); in shrink_lruvec()
2648 sc->priority < DEF_PRIORITY - 2)) in in_reclaim_compaction()
2766 sc->priority); in shrink_node_memcgs()
2836 if (file >> sc->priority && !(sc->may_deactivate & DEACTIVATE_FILE)) in shrink_node()
2877 anon >> sc->priority; in shrink_node()
3125 int initial_priority = sc->priority; in do_try_to_free_pages()
3137 sc->priority); in do_try_to_free_pages()
3151 if (sc->priority < DEF_PRIORITY - 2) in do_try_to_free_pages()
3153 } while (--sc->priority >= 0); in do_try_to_free_pages()
3192 sc->priority = initial_priority; in do_try_to_free_pages()
3200 sc->priority = initial_priority; in do_try_to_free_pages()
3353 .priority = DEF_PRIORITY, in try_to_free_pages()
3441 .priority = DEF_PRIORITY, in try_to_free_mem_cgroup_pages()
3692 sc.priority = DEF_PRIORITY; in balance_pgdat()
3744 if (nr_boost_reclaim && sc.priority == DEF_PRIORITY - 2) in balance_pgdat()
3768 if (sc.priority < DEF_PRIORITY - 2) in balance_pgdat()
3818 sc.priority--; in balance_pgdat()
3819 } while (sc.priority >= 1); in balance_pgdat()
4160 .priority = DEF_PRIORITY, in shrink_all_memory()
4332 .priority = NODE_RECLAIM_PRIORITY, in __node_reclaim()
4360 } while (sc.nr_reclaimed < nr_pages && --sc.priority >= 0); in __node_reclaim()