Lines Matching refs:upid
1643 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument
1664 if (upid <= 0) in kernel_waitid()
1667 pid = find_get_pid(upid); in kernel_waitid()
1671 if (upid < 0) in kernel_waitid()
1674 if (upid) in kernel_waitid()
1675 pid = find_get_pid(upid); in kernel_waitid()
1681 if (upid < 0) in kernel_waitid()
1684 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid()
1709 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1714 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5()
1742 long kernel_wait4(pid_t upid, int __user *stat_addr, int options, in kernel_wait4() argument
1755 if (upid == INT_MIN) in kernel_wait4()
1758 if (upid == -1) in kernel_wait4()
1760 else if (upid < 0) { in kernel_wait4()
1762 pid = find_get_pid(-upid); in kernel_wait4()
1763 } else if (upid == 0) { in kernel_wait4()
1768 pid = find_get_pid(upid); in kernel_wait4()
1801 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument
1805 long err = kernel_wait4(upid, stat_addr, options, ru ? &r : NULL); in SYSCALL_DEFINE4()