Lines Matching defs:tms
1016 static void do_sys_times(struct tms *tms)
1023 tms->tms_utime = nsec_to_clock_t(tgutime);
1024 tms->tms_stime = nsec_to_clock_t(tgstime);
1025 tms->tms_cutime = nsec_to_clock_t(cutime);
1026 tms->tms_cstime = nsec_to_clock_t(cstime);
1029 SYSCALL_DEFINE1(times, struct tms __user *, tbuf)
1032 struct tms tmp;
1035 if (copy_to_user(tbuf, &tmp, sizeof(struct tms)))
1051 struct tms tms;
1054 do_sys_times(&tms);
1055 /* Convert our struct tms to the compat version. */
1056 tmp.tms_utime = clock_t_to_compat_clock_t(tms.tms_utime);
1057 tmp.tms_stime = clock_t_to_compat_clock_t(tms.tms_stime);
1058 tmp.tms_cutime = clock_t_to_compat_clock_t(tms.tms_cutime);
1059 tmp.tms_cstime = clock_t_to_compat_clock_t(tms.tms_cstime);