Searched refs:ru (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | compat.c | 511 int put_compat_rusage(const struct rusage *r, struct compat_rusage __user *ru) in put_compat_rusage() argument 513 if (!access_ok(VERIFY_WRITE, ru, sizeof(*ru)) || in put_compat_rusage() 514 __put_user(r->ru_utime.tv_sec, &ru->ru_utime.tv_sec) || in put_compat_rusage() 515 __put_user(r->ru_utime.tv_usec, &ru->ru_utime.tv_usec) || in put_compat_rusage() 516 __put_user(r->ru_stime.tv_sec, &ru->ru_stime.tv_sec) || in put_compat_rusage() 517 __put_user(r->ru_stime.tv_usec, &ru->ru_stime.tv_usec) || in put_compat_rusage() 518 __put_user(r->ru_maxrss, &ru->ru_maxrss) || in put_compat_rusage() 519 __put_user(r->ru_ixrss, &ru->ru_ixrss) || in put_compat_rusage() 520 __put_user(r->ru_idrss, &ru->ru_idrss) || in put_compat_rusage() 521 __put_user(r->ru_isrss, &ru->ru_isrss) || in put_compat_rusage() [all …]
|
D | exit.c | 1551 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5() 1589 wo.wo_rusage = ru; in SYSCALL_DEFINE5() 1619 int, options, struct rusage __user *, ru) in SYSCALL_DEFINE4() argument 1648 wo.wo_rusage = ru; in SYSCALL_DEFINE4()
|
D | sys.c | 1610 int getrusage(struct task_struct *p, int who, struct rusage __user *ru) in getrusage() argument 1615 return copy_to_user(ru, &r, sizeof(r)) ? -EFAULT : 0; in getrusage() 1618 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) in SYSCALL_DEFINE2() argument 1623 return getrusage(current, who, ru); in SYSCALL_DEFINE2() 1627 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE2() argument 1636 return put_compat_rusage(&r, ru); in COMPAT_SYSCALL_DEFINE2()
|