Searched refs:cg_read (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 87 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() function 116 if (cg_read(cgroup, control, buf, size)) { in cg_read_strcmp() 130 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_strstr() 140 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_long() 151 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_key_long() 217 if (cg_read(cgroup, "cgroup.procs", buf, sizeof(buf))) in cg_wait_for_proc_count() 238 if (cg_read(cgroup, "cgroup.procs", buf, sizeof(buf))) in cg_killall()
|
D | cgroup_util.h | 24 extern int cg_read(const char *cgroup, const char *control,
|
D | test_memcontrol.c | 63 if (cg_read(child2, "cgroup.controllers", buf, sizeof(buf))) in test_memcg_subtree_control()
|