Lines Matching refs:object_pid
17 int object_pid = (int)(size_t)arg; in do_migration_fn() local
23 if (cg_enter(cgroup, object_pid) || in do_migration_fn()
70 int object_pid = 0; in test_cpuset_perms_object() local
116 object_pid = cg_run_nowait(child_src, idle_process_fn, NULL); in test_cpuset_perms_object()
117 if (object_pid < 0) 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()
132 if (object_pid > 0) { in test_cpuset_perms_object()
133 (void)kill(object_pid, SIGTERM); in test_cpuset_perms_object()
134 (void)clone_reap(object_pid, WEXITED); in test_cpuset_perms_object()
172 int object_pid = 0; in test_cpuset_perms_subtree() local
208 object_pid = cg_run_nowait(child, idle_process_fn, NULL); in test_cpuset_perms_subtree()
209 if (object_pid < 0) in test_cpuset_perms_subtree()
218 if (object_pid > 0) { in test_cpuset_perms_subtree()
219 (void)kill(object_pid, SIGTERM); in test_cpuset_perms_subtree()
220 (void)clone_reap(object_pid, WEXITED); in test_cpuset_perms_subtree()