Lines Matching refs:upid
1647 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument
1668 if (upid <= 0) in kernel_waitid()
1671 pid = find_get_pid(upid); in kernel_waitid()
1675 if (upid < 0) in kernel_waitid()
1678 if (upid) in kernel_waitid()
1679 pid = find_get_pid(upid); in kernel_waitid()
1685 if (upid < 0) in kernel_waitid()
1688 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid()
1713 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1718 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5()
1746 long kernel_wait4(pid_t upid, int __user *stat_addr, int options, in kernel_wait4() argument
1759 if (upid == INT_MIN) in kernel_wait4()
1762 if (upid == -1) in kernel_wait4()
1764 else if (upid < 0) { in kernel_wait4()
1766 pid = find_get_pid(-upid); in kernel_wait4()
1767 } else if (upid == 0) { in kernel_wait4()
1772 pid = find_get_pid(upid); in kernel_wait4()
1805 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument
1809 long err = kernel_wait4(upid, stat_addr, options, ru ? &r : NULL); in SYSCALL_DEFINE4()