Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_cpuset.c67 char *parent = NULL, *child_src = NULL, *child_dst = NULL; in test_cpuset_perms_object() local
91 child_dst = cg_name(parent, "cpuset_test_2"); in test_cpuset_perms_object()
92 if (!child_dst) in test_cpuset_perms_object()
94 child_dst_procs = cg_name(child_dst, "cgroup.procs"); in test_cpuset_perms_object()
97 if (cg_create(child_dst)) in test_cpuset_perms_object()
104 cg_read_strstr(child_dst, "cgroup.controllers", "cpuset")) in test_cpuset_perms_object()
126 if (allow ^ (cg_run(child_dst, do_migration_fn, (void *)(size_t)object_pid) == EXIT_SUCCESS)) in test_cpuset_perms_object()
137 cg_destroy(child_dst); in test_cpuset_perms_object()
139 free(child_dst); in test_cpuset_perms_object()