Searched refs:cg_read_long (Results 1 – 3 of 3) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 96 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check() 130 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check() 166 current = cg_read_long(memcg, "memory.current"); in test_memcg_current() 288 if (cg_read_long(parent[0], "memory.min")) { in test_memcg_min() 340 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_min() 350 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min() 354 c[i] = cg_read_long(children[i], "memory.current"); in test_memcg_min() 368 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min() 445 if (cg_read_long(parent[0], "memory.low")) in test_memcg_low() 497 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_low() [all …]
|
D | cgroup_util.h | 29 extern long cg_read_long(const char *cgroup, const char *control);
|
D | cgroup_util.c | 126 long cg_read_long(const char *cgroup, const char *control) in cg_read_long() function
|