Searched refs:ts64 (Results 1 – 10 of 10) sorted by relevance
14 struct timespec64 ts64; in current_kernel_time() local16 ktime_get_coarse_real_ts64(&ts64); in current_kernel_time()18 return timespec64_to_timespec(ts64); in current_kernel_time()26 struct timespec64 ts64; in do_settimeofday() local28 ts64 = timespec_to_timespec64(*ts); in do_settimeofday()29 return do_settimeofday64(&ts64); in do_settimeofday()34 struct timespec64 ts64; in getnstimeofday() local36 ktime_get_real_ts64(&ts64); in getnstimeofday()37 *ts = timespec64_to_timespec(ts64); in getnstimeofday()42 struct timespec64 ts64; in ktime_get_ts() local[all …]
19 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument21 return *(const struct timespec *)&ts64; in timespec64_to_timespec()30 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument34 ret.tv_sec = (time_t)ts64.tv_sec; in timespec64_to_timespec()35 ret.tv_nsec = ts64.tv_nsec; in timespec64_to_timespec()
88 struct timespec64 ts64 = in sync_print_fence() local91 seq_printf(s, "@%lld.%09ld", (s64)ts64.tv_sec, ts64.tv_nsec); in sync_print_fence()
887 int __compat_get_timespec64(struct timespec64 *ts64, in __compat_get_timespec64() argument897 ts64->tv_sec = ts.tv_sec; in __compat_get_timespec64()898 ts64->tv_nsec = ts.tv_nsec; in __compat_get_timespec64()903 int __compat_put_timespec64(const struct timespec64 *ts64, in __compat_put_timespec64() argument907 .tv_sec = ts64->tv_sec, in __compat_put_timespec64()908 .tv_nsec = ts64->tv_nsec in __compat_put_timespec64()
672 struct timespec64 ts64; in common_timer_get() local694 kc->clock_get(timr->it_clock, &ts64); in common_timer_get()695 now = timespec64_to_ktime(ts64); in common_timer_get()
1500 void __weak read_persistent_clock64(struct timespec64 *ts64) in read_persistent_clock64() argument1505 *ts64 = timespec_to_timespec64(ts); in read_persistent_clock64()
419 struct timespec64 ts64; in packet_irq_handler() local426 ktime_get_real_ts64(&ts64); in packet_irq_handler()427 timestamp = ts64.tv_nsec / NSEC_PER_USEC; in packet_irq_handler()449 struct timespec64 ts64; in bus_reset_irq_handler() local452 ktime_get_real_ts64(&ts64); in bus_reset_irq_handler()453 timestamp = ts64.tv_nsec / NSEC_PER_USEC; in bus_reset_irq_handler()
160 __le32 ts64[2]; member
687 le32_to_cpu(ts->ts64[1])); in pcan_usb_pro_handle_ts()
854 struct timespec64 ts64; in dummy_g_get_frame() local856 ktime_get_ts64(&ts64); in dummy_g_get_frame()857 return ts64.tv_nsec / NSEC_PER_MSEC; in dummy_g_get_frame()