Lines Matching refs:infop
1148 struct waitid_info *infop; in wait_task_zombie() local
1253 infop = wo->wo_info; in wait_task_zombie()
1254 if (infop) { in wait_task_zombie()
1256 infop->cause = CLD_EXITED; in wait_task_zombie()
1257 infop->status = status >> 8; in wait_task_zombie()
1259 infop->cause = (status & 0x80) ? CLD_DUMPED : CLD_KILLED; in wait_task_zombie()
1260 infop->status = status & 0x7f; in wait_task_zombie()
1262 infop->pid = pid; in wait_task_zombie()
1263 infop->uid = uid; in wait_task_zombie()
1302 struct waitid_info *infop; in wait_task_stopped() local
1355 infop = wo->wo_info; in wait_task_stopped()
1356 if (infop) { in wait_task_stopped()
1357 infop->cause = why; in wait_task_stopped()
1358 infop->status = exit_code; in wait_task_stopped()
1359 infop->pid = pid; in wait_task_stopped()
1360 infop->uid = uid; in wait_task_stopped()
1373 struct waitid_info *infop; in wait_task_continued() local
1402 infop = wo->wo_info; in wait_task_continued()
1403 if (!infop) { in wait_task_continued()
1406 infop->cause = CLD_CONTINUED; in wait_task_continued()
1407 infop->pid = pid; in wait_task_continued()
1408 infop->uid = uid; in wait_task_continued()
1409 infop->status = SIGCONT; in wait_task_continued()
1706 struct waitid_info *infop, int options, in kernel_waitid_prepare() argument
1757 wo->wo_info = infop; in kernel_waitid_prepare()
1765 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument
1771 ret = kernel_waitid_prepare(&wo, which, upid, infop, options, ru); in kernel_waitid()
1784 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5() argument
1797 if (!infop) in SYSCALL_DEFINE5()
1800 if (!user_write_access_begin(infop, sizeof(*infop))) in SYSCALL_DEFINE5()
1803 unsafe_put_user(signo, &infop->si_signo, Efault); in SYSCALL_DEFINE5()
1804 unsafe_put_user(0, &infop->si_errno, Efault); in SYSCALL_DEFINE5()
1805 unsafe_put_user(info.cause, &infop->si_code, Efault); in SYSCALL_DEFINE5()
1806 unsafe_put_user(info.pid, &infop->si_pid, Efault); in SYSCALL_DEFINE5()
1807 unsafe_put_user(info.uid, &infop->si_uid, Efault); in SYSCALL_DEFINE5()
1808 unsafe_put_user(info.status, &infop->si_status, Efault); in SYSCALL_DEFINE5()
1919 struct compat_siginfo __user *, infop, int, options, in COMPAT_SYSCALL_DEFINE5() argument
1940 if (!infop) in COMPAT_SYSCALL_DEFINE5()
1943 if (!user_write_access_begin(infop, sizeof(*infop))) in COMPAT_SYSCALL_DEFINE5()
1946 unsafe_put_user(signo, &infop->si_signo, Efault); in COMPAT_SYSCALL_DEFINE5()
1947 unsafe_put_user(0, &infop->si_errno, Efault); in COMPAT_SYSCALL_DEFINE5()
1948 unsafe_put_user(info.cause, &infop->si_code, Efault); in COMPAT_SYSCALL_DEFINE5()
1949 unsafe_put_user(info.pid, &infop->si_pid, Efault); in COMPAT_SYSCALL_DEFINE5()
1950 unsafe_put_user(info.uid, &infop->si_uid, Efault); in COMPAT_SYSCALL_DEFINE5()
1951 unsafe_put_user(info.status, &infop->si_status, Efault); in COMPAT_SYSCALL_DEFINE5()