Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/cgroup/
Dtest_memcontrol.c104 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check()
138 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check()
174 current = cg_read_long(memcg, "memory.current"); in test_memcg_current()
299 if (cg_read_long(parent[0], attribute)) { in test_memcg_protection()
351 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_protection()
361 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_protection()
365 c[i] = cg_read_long(children[i], "memory.current"); in test_memcg_protection()
385 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_protection()
448 high = cg_read_long(cgroup, "memory.high"); in alloc_pagecache_max_30M()
449 max = cg_read_long(cgroup, "memory.max"); in alloc_pagecache_max_30M()
[all …]
Dtest_kmem.c77 current = cg_read_long(cg, "memory.current"); in test_kmem_basic()
182 current = cg_read_long(parent, "memory.current"); in test_kmem_memcg_deletion()
383 current = cg_read_long(parent, "memory.current"); in test_percpu_basic()
Dcgroup_util.h34 extern long cg_read_long(const char *cgroup, const char *control);
Dcgroup_util.c134 long cg_read_long(const char *cgroup, const char *control) in cg_read_long() function