Home
last modified time | relevance | path

Searched refs:cg_read (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/tools/testing/selftests/cgroup/
Dcgroup_util.c87 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()
Dcgroup_util.h24 extern int cg_read(const char *cgroup, const char *control,
Dtest_memcontrol.c63 if (cg_read(child2, "cgroup.controllers", buf, sizeof(buf))) in test_memcg_subtree_control()