Lines Matching refs:tms
992 static void do_sys_times(struct tms *tms) in do_sys_times() argument
999 tms->tms_utime = nsec_to_clock_t(tgutime); in do_sys_times()
1000 tms->tms_stime = nsec_to_clock_t(tgstime); in do_sys_times()
1001 tms->tms_cutime = nsec_to_clock_t(cutime); in do_sys_times()
1002 tms->tms_cstime = nsec_to_clock_t(cstime); in do_sys_times()
1005 SYSCALL_DEFINE1(times, struct tms __user *, tbuf) in SYSCALL_DEFINE1()
1008 struct tms tmp; in SYSCALL_DEFINE1()
1011 if (copy_to_user(tbuf, &tmp, sizeof(struct tms))) in SYSCALL_DEFINE1()
1027 struct tms tms; in COMPAT_SYSCALL_DEFINE1() local
1030 do_sys_times(&tms); in COMPAT_SYSCALL_DEFINE1()
1032 tmp.tms_utime = clock_t_to_compat_clock_t(tms.tms_utime); in COMPAT_SYSCALL_DEFINE1()
1033 tmp.tms_stime = clock_t_to_compat_clock_t(tms.tms_stime); in COMPAT_SYSCALL_DEFINE1()
1034 tmp.tms_cutime = clock_t_to_compat_clock_t(tms.tms_cutime); in COMPAT_SYSCALL_DEFINE1()
1035 tmp.tms_cstime = clock_t_to_compat_clock_t(tms.tms_cstime); in COMPAT_SYSCALL_DEFINE1()