Searched refs:nr_file (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | vmscan.c | 2226 unsigned long nr_anon, nr_file, percentage; in shrink_lruvec() local 2249 nr_file = nr[LRU_INACTIVE_FILE] + nr[LRU_ACTIVE_FILE]; in shrink_lruvec() 2258 if (!nr_file || !nr_anon) in shrink_lruvec() 2261 if (nr_file > nr_anon) { in shrink_lruvec() 2270 percentage = nr_file * 100 / scan_target; in shrink_lruvec()
|
D | memcontrol.c | 5560 unsigned long nr_anon, unsigned long nr_file, in uncharge_batch() argument 5563 unsigned long nr_pages = nr_anon + nr_file; in uncharge_batch() 5575 __this_cpu_sub(memcg->stat->count[MEM_CGROUP_STAT_CACHE], nr_file); in uncharge_batch() 5590 unsigned long nr_file = 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() 5633 nr_file += nr_pages; in uncharge_list() 5641 uncharge_batch(memcg, pgpgout, nr_anon, nr_file, in uncharge_list()
|