Home
last modified time | relevance | path

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

/mm/
Dvmscan.c2226 unsigned long nr_anon, nr_file, percentage; in shrink_lruvec() local
2250 nr_anon = nr[LRU_INACTIVE_ANON] + nr[LRU_ACTIVE_ANON]; in shrink_lruvec()
2258 if (!nr_file || !nr_anon) in shrink_lruvec()
2261 if (nr_file > nr_anon) { in shrink_lruvec()
2265 percentage = nr_anon * 100 / scan_target; in shrink_lruvec()
Dmemcontrol.c5560 unsigned long nr_anon, unsigned long nr_file, in uncharge_batch() argument
5563 unsigned long nr_pages = nr_anon + nr_file; in uncharge_batch()
5574 __this_cpu_sub(memcg->stat->count[MEM_CGROUP_STAT_RSS], nr_anon); in uncharge_batch()
5589 unsigned long nr_anon = 0; in uncharge_list() local
5617 uncharge_batch(memcg, pgpgout, nr_anon, nr_file, in uncharge_list()
5619 pgpgout = nr_anon = nr_file = nr_huge = 0; in uncharge_list()
5631 nr_anon += nr_pages; in uncharge_list()
5641 uncharge_batch(memcg, pgpgout, nr_anon, nr_file, in uncharge_list()