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

/linux-4.4.14/mm/
H A Dmemcontrol.c5463 unsigned long nr_anon, unsigned long nr_file, uncharge_batch()
5466 unsigned long nr_pages = nr_anon + nr_file; uncharge_batch()
5477 __this_cpu_sub(memcg->stat->count[MEM_CGROUP_STAT_RSS], nr_anon); uncharge_batch()
5492 unsigned long nr_anon = 0; uncharge_list() local
5520 uncharge_batch(memcg, pgpgout, nr_anon, nr_file, uncharge_list()
5522 pgpgout = nr_anon = nr_file = nr_huge = 0; uncharge_list()
5534 nr_anon += nr_pages; uncharge_list()
5544 uncharge_batch(memcg, pgpgout, nr_anon, nr_file, uncharge_list()
5462 uncharge_batch(struct mem_cgroup *memcg, unsigned long pgpgout, unsigned long nr_anon, unsigned long nr_file, unsigned long nr_huge, struct page *dummy_page) uncharge_batch() argument
H A Dvmscan.c2218 unsigned long nr_anon, nr_file, percentage; shrink_lruvec() local
2242 nr_anon = nr[LRU_INACTIVE_ANON] + nr[LRU_ACTIVE_ANON];
2250 if (!nr_file || !nr_anon)
2253 if (nr_file > nr_anon) {
2257 percentage = nr_anon * 100 / scan_target;

Completed in 104 milliseconds