Lines Matching refs:pid
34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() argument
37 return syscall(__NR_waitid, which, pid, info, options, ru); in sys_waitid()
50 pid_t pid; in TEST() local
58 pid = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
59 ASSERT_NE(pid, 0); in TEST()
66 pid = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
67 ASSERT_NE(pid, 0); in TEST()
71 pid = sys_clone3(&args); in TEST()
72 ASSERT_GE(pid, 0); in TEST()
74 if (pid == 0) in TEST()
77 pid = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
78 ASSERT_GE(pid, 0); in TEST()
98 pid_t pid; in TEST() local
103 pid = sys_clone3(&args); in TEST()
104 ASSERT_GE(pid, 0); in TEST()
106 if (pid == 0) { in TEST()
150 pid_t pid; in TEST() local
171 pid = sys_clone3(&args); in TEST()
172 ASSERT_GE(pid, 0); in TEST()
174 if (pid == 0) { in TEST()
179 pidfd = sys_pidfd_open(pid, PIDFD_NONBLOCK); in TEST()