waitid 1549 kernel/exit.c SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, waitid 1667 kernel/exit.c COMPAT_SYSCALL_DEFINE5(waitid, waitid 45 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) waitid 87 tools/testing/selftests/x86/ptrace_syscall.c if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0)