Searched refs:tms (Results 1 – 2 of 2) sorted by relevance
916 void do_sys_times(struct tms *tms) in do_sys_times() argument926 tms->tms_utime = cputime_to_clock_t(cputime.utime); in do_sys_times()927 tms->tms_stime = cputime_to_clock_t(cputime.stime); in do_sys_times()928 tms->tms_cutime = cputime_to_clock_t(cutime); in do_sys_times()929 tms->tms_cstime = cputime_to_clock_t(cstime); in do_sys_times()932 SYSCALL_DEFINE1(times, struct tms __user *, tbuf) in SYSCALL_DEFINE1()935 struct tms tmp; in SYSCALL_DEFINE1()938 if (copy_to_user(tbuf, &tmp, sizeof(struct tms))) in SYSCALL_DEFINE1()
221 struct tms tms; in compat_sys_times() local224 do_sys_times(&tms); in compat_sys_times()226 tmp.tms_utime = clock_t_to_compat_clock_t(tms.tms_utime); in compat_sys_times()227 tmp.tms_stime = clock_t_to_compat_clock_t(tms.tms_stime); in compat_sys_times()228 tmp.tms_cutime = clock_t_to_compat_clock_t(tms.tms_cutime); in compat_sys_times()229 tmp.tms_cstime = clock_t_to_compat_clock_t(tms.tms_cstime); in compat_sys_times()