Lines Matching defs:tms
1051 static void do_sys_times(struct tms *tms)
1058 tms->tms_utime = nsec_to_clock_t(tgutime);
1059 tms->tms_stime = nsec_to_clock_t(tgstime);
1060 tms->tms_cutime = nsec_to_clock_t(cutime);
1061 tms->tms_cstime = nsec_to_clock_t(cstime);
1064 SYSCALL_DEFINE1(times, struct tms __user *, tbuf)
1067 struct tms tmp;
1070 if (copy_to_user(tbuf, &tmp, sizeof(struct tms)))
1086 struct tms tms;
1089 do_sys_times(&tms);
1090 /* Convert our struct tms to the compat version. */
1091 tmp.tms_utime = clock_t_to_compat_clock_t(tms.tms_utime);
1092 tmp.tms_stime = clock_t_to_compat_clock_t(tms.tms_stime);
1093 tmp.tms_cutime = clock_t_to_compat_clock_t(tms.tms_cutime);
1094 tmp.tms_cstime = clock_t_to_compat_clock_t(tms.tms_cstime);