Home
last modified time | relevance | path

Searched refs:tms (Results 1 – 1 of 1) sorted by relevance

/kernel/
Dsys.c978 static void do_sys_times(struct tms *tms) in do_sys_times() argument
985 tms->tms_utime = nsec_to_clock_t(tgutime); in do_sys_times()
986 tms->tms_stime = nsec_to_clock_t(tgstime); in do_sys_times()
987 tms->tms_cutime = nsec_to_clock_t(cutime); in do_sys_times()
988 tms->tms_cstime = nsec_to_clock_t(cstime); in do_sys_times()
991 SYSCALL_DEFINE1(times, struct tms __user *, tbuf) in SYSCALL_DEFINE1()
994 struct tms tmp; in SYSCALL_DEFINE1()
997 if (copy_to_user(tbuf, &tmp, sizeof(struct tms))) in SYSCALL_DEFINE1()
1013 struct tms tms; in COMPAT_SYSCALL_DEFINE1() local
1016 do_sys_times(&tms); in COMPAT_SYSCALL_DEFINE1()
[all …]