Searched refs:cg_read (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 77 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() function 106 if (cg_read(cgroup, control, buf, size)) { in cg_read_strcmp() 120 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_strstr() 130 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_long() 141 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_key_long() 204 if (cg_read(cgroup, "cgroup.procs", buf, sizeof(buf))) in cg_killall()
|
D | cgroup_util.h | 23 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()
|