Home
last modified time | relevance | path

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

/kernel/
Dexit.c1619 int options, struct rusage *ru) in kernel_waitid() argument
1672 wo.wo_rusage = ru; in kernel_waitid()
1685 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5()
1689 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5()
1695 if (ru && copy_to_user(ru, &r, sizeof(struct rusage))) in SYSCALL_DEFINE5()
1718 struct rusage *ru) in kernel_wait4() argument
1751 wo.wo_rusage = ru; in kernel_wait4()
1777 int, options, struct rusage __user *, ru) in SYSCALL_DEFINE4() argument
1780 long err = kernel_wait4(upid, stat_addr, options, ru ? &r : NULL); in SYSCALL_DEFINE4()
1783 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.c1845 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) in SYSCALL_DEFINE2() argument
1854 return copy_to_user(ru, &r, sizeof(r)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
1858 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE2() argument
1867 return put_compat_rusage(&r, ru); in COMPAT_SYSCALL_DEFINE2()