Lines Matching refs:child
32 const char *child = cgroup; in do_controller_fn() local
38 if (!cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
44 if (cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
50 if (!cg_read_strstr(child, "cgroup.controllers", "cpuset")) in do_controller_fn()
169 char *parent = NULL, *child = NULL; in test_cpuset_perms_subtree() local
187 child = cg_name(parent, "cpuset_test_1"); in test_cpuset_perms_subtree()
188 if (!child) in test_cpuset_perms_subtree()
190 child_procs = cg_name(child, "cgroup.procs"); in test_cpuset_perms_subtree()
193 if (cg_create(child)) in test_cpuset_perms_subtree()
208 object_pid = cg_run_nowait(child, idle_process_fn, NULL); in test_cpuset_perms_subtree()
212 if (cg_run(child, do_controller_fn, parent) != EXIT_SUCCESS) in test_cpuset_perms_subtree()
223 cg_destroy(child); in test_cpuset_perms_subtree()
225 free(child); in test_cpuset_perms_subtree()