Searched refs:ns_to_timespec (Results 1 – 13 of 13) sorted by relevance
389 struct timespec ns_to_timespec(const s64 nsec) in ns_to_timespec() function406 EXPORT_SYMBOL(ns_to_timespec);416 struct timespec ts = ns_to_timespec(nsec); in ns_to_timeval()
73 *tp = ns_to_timespec(expires); in sample_to_timespec()1424 t = ns_to_timespec(restart_block->nanosleep.expires); in posix_cpu_nsleep_restart()
487 *tp = ns_to_timespec(nsec); in sgi_clock_get()671 cur_setting->it_interval = ns_to_timespec(timr->it.mmtimer.incr * sgi_clock_period); in sgi_timer_get()672 cur_setting->it_value = ns_to_timespec((timr->it.mmtimer.expires - rtc_time()) * sgi_clock_period); in sgi_timer_get()
215 extern struct timespec ns_to_timespec(const s64 nsec);
74 # define ns_to_timespec64 ns_to_timespec
99 #define ktime_to_timespec(kt) ns_to_timespec((kt).tv64)
172 host_ts = ns_to_timespec(host_tns); in do_adj_guesttime()
198 *tv = ns_to_timespec(nsec); in adfs_adfs2unix_time()
859 *audio_ts = ns_to_timespec(nsec); in skl_get_time_info()
358 *audio_ts = ns_to_timespec(nsec); in azx_get_time_info()
265 *audio_tstamp = ns_to_timespec(audio_nsecs); in update_audio_tstamp()
106 return ns_to_timespec(be64_to_cpu(betime)); in be64_to_timespec()
1180 struct timespec ts = ns_to_timespec(kvm->arch.kvmclock_offset); in kvm_write_wall_clock()