Searched refs:cg_read_long (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 109 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check() 143 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check() 179 current = cg_read_long(memcg, "memory.current"); in test_memcg_current() 318 if (cg_read_long(parent[0], attribute)) { in test_memcg_protection() 370 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_protection() 380 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_protection() 384 c[i] = cg_read_long(children[i], "memory.current"); in test_memcg_protection() 405 if (!values_close(cg_read_long(parent[1], "memory.current"), current, 3)) in test_memcg_protection() 471 high = cg_read_long(cgroup, "memory.high"); in alloc_pagecache_max_30M() 472 max = cg_read_long(cgrou in alloc_pagecache_max_30M() [all...] |
H A D | test_kmem.c | 81 current = cg_read_long(cg, "memory.current"); in test_kmem_basic() 186 current = cg_read_long(parent, "memory.current"); in test_kmem_memcg_deletion() 380 current = cg_read_long(parent, "memory.current"); in test_percpu_basic()
|
H A D | cgroup_util.h | 36 extern long cg_read_long(const char *cgroup, const char *control);
|
H A D | cgroup_util.c | 134 long cg_read_long(const char *cgroup, const char *control) in cg_read_long() function
|
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 100 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check() 134 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check() 170 current = cg_read_long(memcg, "memory.current"); in test_memcg_current() 292 if (cg_read_long(parent[0], "memory.min")) { in test_memcg_min() 344 while (!values_close(cg_read_long(parent[1], "memory.current"), in test_memcg_min() 354 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min() 358 c[i] = cg_read_long(children[i], "memory.current"); in test_memcg_min() 372 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min() 449 if (cg_read_long(parent[0], "memory.low")) in test_memcg_low() 501 if (!values_close(cg_read_long(paren in test_memcg_low() [all...] |
H A D | test_kmem.c | 77 current = cg_read_long(cg, "memory.current"); in test_kmem_basic() 182 current = cg_read_long(parent, "memory.current"); in test_kmem_memcg_deletion() 377 current = cg_read_long(parent, "memory.current"); in test_percpu_basic()
|
H A D | cgroup_util.h | 31 extern long cg_read_long(const char *cgroup, const char *control);
|
H A D | cgroup_util.c | 137 long cg_read_long(const char *cgroup, const char *control) in cg_read_long() function
|
Completed in 6 milliseconds