Home
last modified time | relevance | path

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

/linux-2.6.39/mm/
Dmemcontrol.c3166 u64 curusage, oldusage; in mem_cgroup_resize_limit() local
3215 curusage = res_counter_read_u64(&memcg->res, RES_USAGE); in mem_cgroup_resize_limit()
3217 if (curusage >= oldusage) in mem_cgroup_resize_limit()
3220 oldusage = curusage; in mem_cgroup_resize_limit()
3232 u64 memlimit, memswlimit, oldusage, curusage; in mem_cgroup_resize_memsw_limit() local
3275 curusage = res_counter_read_u64(&memcg->memsw, RES_USAGE); in mem_cgroup_resize_memsw_limit()
3277 if (curusage >= oldusage) in mem_cgroup_resize_memsw_limit()
3280 oldusage = curusage; in mem_cgroup_resize_memsw_limit()