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