Searched refs:ru (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | exit.c | 1648 int options, struct rusage *ru) in kernel_waitid() argument 1701 wo.wo_rusage = ru; in kernel_waitid() 1714 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5() 1718 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5() 1724 if (ru && copy_to_user(ru, &r, sizeof(struct rusage))) in SYSCALL_DEFINE5() 1747 struct rusage *ru) in kernel_wait4() argument 1780 wo.wo_rusage = ru; in kernel_wait4() 1806 int, options, struct rusage __user *, ru) in SYSCALL_DEFINE4() argument 1809 long err = kernel_wait4(upid, stat_addr, options, ru ? &r : NULL); in SYSCALL_DEFINE4() 1812 if (ru && copy_to_user(ru, &r, sizeof(struct rusage))) in SYSCALL_DEFINE4() [all …]
|
D | compat.c | 83 int put_compat_rusage(const struct rusage *r, struct compat_rusage __user *ru) in put_compat_rusage() argument 105 if (copy_to_user(ru, &r32, sizeof(r32))) in put_compat_rusage()
|
D | sys.c | 1853 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) in SYSCALL_DEFINE2() argument 1862 return copy_to_user(ru, &r, sizeof(r)) ? -EFAULT : 0; in SYSCALL_DEFINE2() 1866 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE2() argument 1875 return put_compat_rusage(&r, ru); in COMPAT_SYSCALL_DEFINE2()
|