• Home
  • Raw
  • Download

Lines Matching refs:ru

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()
522 __put_user(r->ru_minflt, &ru->ru_minflt) || in put_compat_rusage()
523 __put_user(r->ru_majflt, &ru->ru_majflt) || in put_compat_rusage()
524 __put_user(r->ru_nswap, &ru->ru_nswap) || in put_compat_rusage()
525 __put_user(r->ru_inblock, &ru->ru_inblock) || in put_compat_rusage()
526 __put_user(r->ru_oublock, &ru->ru_oublock) || in put_compat_rusage()
527 __put_user(r->ru_msgsnd, &ru->ru_msgsnd) || in put_compat_rusage()
528 __put_user(r->ru_msgrcv, &ru->ru_msgrcv) || in put_compat_rusage()
529 __put_user(r->ru_nsignals, &ru->ru_nsignals) || in put_compat_rusage()
530 __put_user(r->ru_nvcsw, &ru->ru_nvcsw) || in put_compat_rusage()
531 __put_user(r->ru_nivcsw, &ru->ru_nivcsw)) in put_compat_rusage()
540 struct compat_rusage __user *, ru) in COMPAT_SYSCALL_DEFINE4() argument
542 if (!ru) { in COMPAT_SYSCALL_DEFINE4()
558 if (put_compat_rusage(&r, ru)) in COMPAT_SYSCALL_DEFINE4()
573 struct rusage ru; in COMPAT_SYSCALL_DEFINE5() local
581 uru ? (struct rusage __user *)&ru : NULL); in COMPAT_SYSCALL_DEFINE5()
590 ret = copy_to_user(uru, &ru, sizeof(ru)); in COMPAT_SYSCALL_DEFINE5()
592 ret = put_compat_rusage(&ru, uru); in COMPAT_SYSCALL_DEFINE5()