Searched refs:tv (Results 1 – 9 of 9) sorted by relevance
190 struct timeval tv; in raid6_jiffies() local191 gettimeofday(&tv, NULL); in raid6_jiffies()192 return tv.tv_sec*1000 + tv.tv_usec/1000; in raid6_jiffies()
200 const struct ceph_timespec *tv) in ceph_decode_timespec64() argument208 ts->tv_sec = (time64_t)le32_to_cpu(tv->tv_sec); in ceph_decode_timespec64()209 ts->tv_nsec = (long)le32_to_cpu(tv->tv_nsec); in ceph_decode_timespec64()211 static inline void ceph_encode_timespec64(struct ceph_timespec *tv, in ceph_encode_timespec64() argument214 tv->tv_sec = cpu_to_le32((u32)ts->tv_sec); in ceph_encode_timespec64()215 tv->tv_nsec = cpu_to_le32((u32)ts->tv_nsec); in ceph_encode_timespec64()
20 extern int do_sys_settimeofday64(const struct timespec64 *tv,43 extern void ktime_get_real_ts64(struct timespec64 *tv);
747 asmlinkage long compat_sys_gettimeofday(struct old_timeval32 __user *tv,749 asmlinkage long compat_sys_settimeofday(struct old_timeval32 __user *tv,909 struct __kernel_old_timeval tv; in ns_to_old_timeval32() local912 tv = ns_to_kernel_old_timeval(nsec); in ns_to_old_timeval32()913 ctv.tv_sec = tv.tv_sec; in ns_to_old_timeval32()914 ctv.tv_usec = tv.tv_usec; in ns_to_old_timeval32()
115 extern u64 select_estimate_accuracy(struct timespec64 *tv);
775 asmlinkage long sys_gettimeofday(struct __kernel_old_timeval __user *tv,777 asmlinkage long sys_settimeofday(struct __kernel_old_timeval __user *tv,
1202 struct timespec64 *tv) in snd_pcm_gettime() argument1206 ktime_get_ts64(tv); in snd_pcm_gettime()1209 ktime_get_raw_ts64(tv); in snd_pcm_gettime()1212 ktime_get_real_ts64(tv); in snd_pcm_gettime()
707 struct drm_tv_connector_state tv; member
1075 static inline __u64 v4l2_timeval_to_ns(const struct timeval *tv) in v4l2_timeval_to_ns() argument1077 return (__u64)tv->tv_sec * 1000000000ULL + tv->tv_usec * 1000; in v4l2_timeval_to_ns()