Searched refs:cg_read (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 86 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() function 114 if (cg_read(cgroup, control, buf, size)) { in cg_read_strcmp() 128 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_strstr() 138 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_long() 159 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_key_long() 176 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_lc() 265 if (cg_read(cgroup, "cgroup.procs", buf, sizeof(buf))) in cg_wait_for_proc_count() 290 if (cg_read(cgroup, "cgroup.procs", buf, sizeof(buf))) in cg_killall()
|
H A D | cgroup_util.h | 30 extern int cg_read(const char *cgroup, const char *control,
|
H A D | test_core.c | 111 if (cg_read(cg_test, "cgroup.procs", buf, sizeof(buf))) in test_cgcore_destroy()
|
H A D | test_memcontrol.c | 67 if (cg_read(child2, "cgroup.controllers", buf, sizeof(buf))) in test_memcg_subtree_control()
|