Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dtoken.c410 static int wait_for_pid(pid_t pid) in wait_for_pid() function
455 err = wait_for_pid(child_pid); in parent()
/linux/tools/testing/selftests/pidfd/
H A 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()
H A Dpidfd.h71 static inline int wait_for_pid(pid_t pid) in wait_for_pid() function
H A Dpidfd_getfd_test.c175 ret = wait_for_pid(self->pid); in FIXTURE_TEARDOWN()
H A Dpidfd_fdinfo_test.c134 r = wait_for_pid(child->pid); in child_join()
/linux/tools/testing/selftests/clone3/
H A Dclone3_clear_sighand.c23 static int wait_for_pid(pid_t pid) in wait_for_pid() function
107 ret = wait_for_pid(pid); in test_clone3_clear_sighand()
/linux/tools/testing/selftests/cgroup/
H A 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/tools/testing/selftests/move_mount_set_group/
H A 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/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test_ns.c36 static inline int wait_for_pid(pid_t pid) in wait_for_pid() function
218 ret = wait_for_pid(pid); in test_statmount_mnt_ns_id()
343 child_ret = wait_for_pid(pid); in test_listmount_ns()
/linux/tools/testing/selftests/pid_namespace/
H A Dregression_enomem.c37 EXPECT_EQ(0, wait_for_pid(pid)); in TEST()
/linux/tools/testing/selftests/filesystems/
H A 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/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c188 static int wait_for_pid(pid_t pid) in wait_for_pid() function
489 ret = wait_for_pid(pid); in TEST()
531 ret = wait_for_pid(pid); in TEST()
/linux/tools/testing/selftests/uevent/
H A Duevent_filtering.c54 int wait_for_pid(pid_t pid) in wait_for_pid() function
335 ret = wait_for_pid(pid); in do_test()
/linux/tools/testing/selftests/mount_setattr/
H A 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()