Lines Matching refs:tv
54 asmlinkage long compat_sys_gettimeofday(struct compat_timeval __user *tv, in compat_sys_gettimeofday() argument
57 if (tv) { in compat_sys_gettimeofday()
60 if (compat_put_timeval(tv, &ktv)) in compat_sys_gettimeofday()
71 asmlinkage long compat_sys_settimeofday(struct compat_timeval __user *tv, in compat_sys_settimeofday() argument
77 if (tv) { in compat_sys_settimeofday()
78 if (compat_get_timeval(&kts, tv)) in compat_sys_settimeofday()
86 return do_sys_settimeofday(tv ? &kts : NULL, tz ? &ktz : NULL); in compat_sys_settimeofday()
892 struct timeval tv; in compat_sys_time() local
894 do_gettimeofday(&tv); in compat_sys_time()
895 i = tv.tv_sec; in compat_sys_time()
907 struct timespec tv; in compat_sys_stime() local
910 if (get_user(tv.tv_sec, tptr)) in compat_sys_stime()
913 tv.tv_nsec = 0; in compat_sys_stime()
915 err = security_settime(&tv, NULL); in compat_sys_stime()
919 do_settimeofday(&tv); in compat_sys_stime()