Home
last modified time | relevance | path

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

/mm/
Dvmscan.c2595 unsigned long nr_anon, nr_file, percentage; in shrink_node_memcg() local
2621 nr_anon = nr[LRU_INACTIVE_ANON] + nr[LRU_ACTIVE_ANON]; in shrink_node_memcg()
2629 if (!nr_file || !nr_anon) in shrink_node_memcg()
2632 if (nr_file > nr_anon) { in shrink_node_memcg()
2636 percentage = nr_anon * 100 / scan_target; in shrink_node_memcg()
Dmemcontrol.c6597 unsigned long nr_anon; member
6612 unsigned long nr_pages = ug->nr_anon + ug->nr_file + ug->nr_kmem; in uncharge_batch()
6625 __mod_memcg_state(ug->memcg, MEMCG_RSS, -ug->nr_anon); in uncharge_batch()
6669 ug->nr_anon += nr_pages; in uncharge_page()