Home
last modified time | relevance | path

Searched refs:ru (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dexit.c1559 int options, struct rusage *ru) in kernel_waitid() argument
1612 wo.wo_rusage = ru; in kernel_waitid()
1625 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5()
1629 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5()
1635 if (ru && copy_to_user(ru, &r, sizeof(struct rusage))) in SYSCALL_DEFINE5()
1658 struct rusage *ru) in kernel_wait4() argument
1691 wo.wo_rusage = ru; in kernel_wait4()
1717 int, options, struct rusage __user *, ru) in SYSCALL_DEFINE4() argument
1720 long err = kernel_wait4(upid, stat_addr, options, ru ? &r : NULL); in SYSCALL_DEFINE4()
1723 if (ru && copy_to_user(ru, &r, sizeof(struct rusage))) in SYSCALL_DEFINE4()
[all …]
Dcompat.c83 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()
Dsys.c1832 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) in SYSCALL_DEFINE2() argument
1841 return copy_to_user(ru, &r, sizeof(r)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
1845 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE2() argument
1854 return put_compat_rusage(&r, ru); in COMPAT_SYSCALL_DEFINE2()