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.c17 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
[all …]