Home
last modified time | relevance | path

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

/mm/
Dvmscan.c354 unsigned long lru_size = 0; in lruvec_lru_size() local
359 lru_size += mem_cgroup_get_zone_lru_size(lruvec, lru, zid); in lruvec_lru_size()
361 lru_size = node_page_state(lruvec_pgdat(lruvec), NR_LRU_BASE + lru); in lruvec_lru_size()
375 lru_size -= min(size, lru_size); in lruvec_lru_size()
378 return lru_size; in lruvec_lru_size()
Dmemcontrol.c1281 unsigned long *lru_size; in mem_cgroup_update_lru_size() local
1288 lru_size = &mz->lru_zone_size[zid][lru]; in mem_cgroup_update_lru_size()
1291 *lru_size += nr_pages; in mem_cgroup_update_lru_size()
1293 size = *lru_size; in mem_cgroup_update_lru_size()
1298 *lru_size = 0; in mem_cgroup_update_lru_size()
1302 *lru_size += nr_pages; in mem_cgroup_update_lru_size()