Lines Matching refs:root
65 static int test_cpuset_perms_object(const char *root, bool allow) in test_cpuset_perms_object() argument
73 parent = cg_name(root, "cpuset_test_0"); in test_cpuset_perms_object()
152 static int test_cpuset_perms_object_allow(const char *root) in test_cpuset_perms_object_allow() argument
154 return test_cpuset_perms_object(root, true); in test_cpuset_perms_object_allow()
157 static int test_cpuset_perms_object_deny(const char *root) in test_cpuset_perms_object_deny() argument
159 return test_cpuset_perms_object(root, false); in test_cpuset_perms_object_deny()
167 static int test_cpuset_perms_subtree(const char *root) in test_cpuset_perms_subtree() argument
175 parent = cg_name(root, "cpuset_test_0"); in test_cpuset_perms_subtree()
238 int (*fn)(const char *root);
249 char root[PATH_MAX]; in main() local
252 if (cg_find_unified_root(root, sizeof(root), NULL)) in main()
255 if (cg_read_strstr(root, "cgroup.subtree_control", "cpuset")) in main()
256 if (cg_write(root, "cgroup.subtree_control", "+cpuset")) in main()
260 switch (tests[i].fn(root)) { in main()