Searched refs:nr_file (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | vmscan.c | 2359 unsigned long nr_anon, nr_file, percentage; in shrink_node_memcg() local 2384 nr_file = nr[LRU_INACTIVE_FILE] + nr[LRU_ACTIVE_FILE]; in shrink_node_memcg() 2393 if (!nr_file || !nr_anon) in shrink_node_memcg() 2396 if (nr_file > nr_anon) { in shrink_node_memcg() 2405 percentage = nr_file * 100 / scan_target; in shrink_node_memcg()
|
D | memcontrol.c | 5484 unsigned long nr_anon, unsigned long nr_file, in uncharge_batch() argument 5488 unsigned long nr_pages = nr_anon + nr_file + nr_kmem; in uncharge_batch() 5502 __this_cpu_sub(memcg->stat->count[MEM_CGROUP_STAT_CACHE], nr_file); in uncharge_batch() 5517 unsigned long nr_file = 0; in uncharge_list() local 5547 uncharge_batch(memcg, pgpgout, nr_anon, nr_file, in uncharge_list() 5549 pgpgout = nr_anon = nr_file = in uncharge_list() 5565 nr_file += nr_pages; in uncharge_list() 5576 uncharge_batch(memcg, pgpgout, nr_anon, nr_file, in uncharge_list()
|