Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset.c23 int object_pid = (int)(size_t)arg; in do_migration_fn() local
29 if (cg_enter(cgroup, object_pid) || in do_migration_fn()
76 int object_pid = 0; in test_cpuset_perms_object() local
122 object_pid = cg_run_nowait(child_src, idle_process_fn, NULL); in test_cpuset_perms_object()
123 if (object_pid < 0) in test_cpuset_perms_object()
132 if (allow ^ (cg_run(child_dst, do_migration_fn, (void *)(size_t)object_pid) == EXIT_SUCCESS)) in test_cpuset_perms_object()
138 if (object_pid > 0) { in test_cpuset_perms_object()
139 (void)kill(object_pid, SIGTERM); in test_cpuset_perms_object()
140 (void)clone_reap(object_pid, WEXITED); in test_cpuset_perms_object()
178 int object_pid = 0; in test_cpuset_perms_subtree() local
[all …]