Home
last modified time | relevance | path

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

/kernel/
Dcompat.c511 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 …]
Dexit.c1528 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5()
1566 wo.wo_rusage = ru; in SYSCALL_DEFINE5()
1596 int, options, struct rusage __user *, ru) in SYSCALL_DEFINE4() argument
1629 wo.wo_rusage = ru; in SYSCALL_DEFINE4()
Dsys.c1618 int getrusage(struct task_struct *p, int who, struct rusage __user *ru) in getrusage() argument
1623 return copy_to_user(ru, &r, sizeof(r)) ? -EFAULT : 0; in getrusage()
1626 SYSCALL_DEFINE2(getrusage, int, who, struct rusage __user *, ru) in SYSCALL_DEFINE2() argument
1631 return getrusage(current, who, ru); in SYSCALL_DEFINE2()
1635 COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE2() argument
1644 return put_compat_rusage(&r, ru); in COMPAT_SYSCALL_DEFINE2()