Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Ddeny_namespace.c9 static int wait_for_pid(pid_t pid) in wait_for_pid() function
46 return wait_for_pid(pid); in create_user_ns()
/linux-6.6.21/tools/testing/selftests/pidfd/
Dpidfd_test.c118 ret = wait_for_pid(pid); in test_pidfd_send_signal_exited_fail()
223 if (wait_for_pid(pid2)) in test_pidfd_send_signal_recycled_pid_fail()
273 (void)wait_for_pid(recycled_pid); in test_pidfd_send_signal_recycled_pid_fail()
296 if (wait_for_pid(recycled_pid)) in test_pidfd_send_signal_recycled_pid_fail()
324 ret = wait_for_pid(pid1); in test_pidfd_send_signal_recycled_pid_fail()
Dpidfd.h71 static inline int wait_for_pid(pid_t pid) in wait_for_pid() function
Dpidfd_getfd_test.c171 EXPECT_EQ(0, wait_for_pid(self->pid)); in FIXTURE_TEARDOWN()
Dpidfd_fdinfo_test.c134 r = wait_for_pid(child->pid); in child_join()
/linux-6.6.21/tools/testing/selftests/clone3/
Dclone3_clear_sighand.c27 static int wait_for_pid(pid_t pid) in wait_for_pid() function
111 ret = wait_for_pid(pid); in test_clone3_clear_sighand()
/linux-6.6.21/tools/testing/selftests/cgroup/
Dtest_kill.c86 wait_for_pid(pids[i]); in test_cgkill_simple()
190 wait_for_pid(pids[i]); in test_cgkill_tree()
251 wait_for_pid(pid); in test_cgkill_forkbomb()
/linux-6.6.21/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c283 static int wait_for_pid(pid_t pid) in wait_for_pid() function
360 ASSERT_EQ(wait_for_pid(pid), 0); in TEST_F()
364 ASSERT_EQ(wait_for_pid(pid), 0); in TEST_F()
/linux-6.6.21/tools/testing/selftests/pid_namespace/
Dregression_enomem.c37 EXPECT_EQ(0, wait_for_pid(pid)); in TEST()
/linux-6.6.21/tools/testing/selftests/filesystems/
Ddevpts_pts.c62 static int wait_for_pid(pid_t pid) in wait_for_pid() function
172 ret = wait_for_pid(pid); in do_tiocgptpeer()
/linux-6.6.21/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c187 static int wait_for_pid(pid_t pid) in wait_for_pid() function
488 ret = wait_for_pid(pid); in TEST()
530 ret = wait_for_pid(pid); in TEST()
/linux-6.6.21/tools/testing/selftests/uevent/
Duevent_filtering.c54 int wait_for_pid(pid_t pid) in wait_for_pid() function
333 ret = wait_for_pid(pid); in do_test()
/linux-6.6.21/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c1192 static int wait_for_pid(pid_t pid) in wait_for_pid() function
1228 wait_for_pid(pid); in get_userns_fd()