Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dtimekeeping32.h14 struct timespec64 ts64; in current_kernel_time() local
16 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() local
28 ts64 = timespec_to_timespec64(*ts); in do_settimeofday()
29 return do_settimeofday64(&ts64); in do_settimeofday()
34 struct timespec64 ts64; in getnstimeofday() local
36 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 …]
Dtime32.h19 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() argument
21 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() argument
34 ret.tv_sec = (time_t)ts64.tv_sec; in timespec64_to_timespec()
35 ret.tv_nsec = ts64.tv_nsec; in timespec64_to_timespec()
/Linux-v4.19/drivers/dma-buf/
Dsync_debug.c88 struct timespec64 ts64 = in sync_print_fence() local
91 seq_printf(s, "@%lld.%09ld", (s64)ts64.tv_sec, ts64.tv_nsec); in sync_print_fence()
/Linux-v4.19/kernel/time/
Dtime.c887 int __compat_get_timespec64(struct timespec64 *ts64, in __compat_get_timespec64() argument
897 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() argument
907 .tv_sec = ts64->tv_sec, in __compat_put_timespec64()
908 .tv_nsec = ts64->tv_nsec in __compat_put_timespec64()
Dposix-timers.c672 struct timespec64 ts64; in common_timer_get() local
694 kc->clock_get(timr->it_clock, &ts64); in common_timer_get()
695 now = timespec64_to_ktime(ts64); in common_timer_get()
Dtimekeeping.c1500 void __weak read_persistent_clock64(struct timespec64 *ts64) in read_persistent_clock64() argument
1505 *ts64 = timespec_to_timespec64(ts); in read_persistent_clock64()
/Linux-v4.19/drivers/firewire/
Dnosy.c419 struct timespec64 ts64; in packet_irq_handler() local
426 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() local
452 ktime_get_real_ts64(&ts64); in bus_reset_irq_handler()
453 timestamp = ts64.tv_nsec / NSEC_PER_USEC; in bus_reset_irq_handler()
/Linux-v4.19/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.h160 __le32 ts64[2]; member
Dpcan_usb_pro.c687 le32_to_cpu(ts->ts64[1])); in pcan_usb_pro_handle_ts()
/Linux-v4.19/drivers/usb/gadget/udc/
Ddummy_hcd.c854 struct timespec64 ts64; in dummy_g_get_frame() local
856 ktime_get_ts64(&ts64); in dummy_g_get_frame()
857 return ts64.tv_nsec / NSEC_PER_MSEC; in dummy_g_get_frame()