/openbmc/linux/kernel/time/ |
H A D | posix-stubs.c | 119 texp = timespec64_to_ktime(t); in SYSCALL_DEFINE4() 202 texp = timespec64_to_ktime(t); in SYSCALL_DEFINE4()
|
H A D | itimer.c | 229 expires = timespec64_to_ktime(value->it_value); in do_setitimer() 232 timespec64_to_ktime(value->it_interval); in do_setitimer()
|
H A D | namespace.c | 30 offset = timespec64_to_ktime(ns_offsets->monotonic); in do_timens_ktime_to_host() 34 offset = timespec64_to_ktime(ns_offsets->boottime); in do_timens_ktime_to_host()
|
H A D | posix-timers.c | 889 timr->it_interval = timespec64_to_ktime(new_setting->it_interval); in common_timer_set() 890 expires = timespec64_to_ktime(new_setting->it_value); in common_timer_set() 1348 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep() 1363 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep_timens()
|
H A D | posix-cpu-timers.c | 649 new_expires = ktime_to_ns(timespec64_to_ktime(new->it_value)); in posix_cpu_timer_set() 745 timer->it_interval = timespec64_to_ktime(new->it_interval); in posix_cpu_timer_set()
|
H A D | timekeeping.c | 161 WARN_ON_ONCE(tk->offs_real != timespec64_to_ktime(tmp)); in tk_set_wall_to_mono() 164 tk->offs_real = timespec64_to_ktime(tmp); in tk_set_wall_to_mono() 1699 tk_update_sleep_time(tk, timespec64_to_ktime(*delta)); in __timekeeping_inject_sleeptime()
|
H A D | hrtimer.c | 2139 return hrtimer_nanosleep(timespec64_to_ktime(tu), HRTIMER_MODE_REL, in SYSCALL_DEFINE2() 2161 return hrtimer_nanosleep(timespec64_to_ktime(tu), HRTIMER_MODE_REL, in SYSCALL_DEFINE2()
|
H A D | alarmtimer.c | 863 exp = timespec64_to_ktime(*tsreq); in alarm_timer_nsleep()
|
/openbmc/linux/io_uring/ |
H A D | timeout.c | 83 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts), data->mode); in io_timeout_complete() 398 hrtimer_start(&io->timer, timespec64_to_ktime(*ts), mode); in io_linked_timeout_update() 419 hrtimer_start(&data->timer, timespec64_to_ktime(*ts), mode); in io_timeout_update() 617 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts), data->mode); in io_timeout() 636 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts), in io_queue_linked_timeout()
|
H A D | cancel.c | 306 timeout = ktime_add_ns(timespec64_to_ktime(ts), ktime_get_ns()); in io_sync_cancel()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_kvm_common.c | 51 *device_time = timespec64_to_ktime(tspec); in ptp_kvm_get_time_fn()
|
H A D | ptp_clock.c | 128 kt = timespec64_to_ktime(ts); in ptp_clock_adjtime()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ptp.c | 92 current_time_ns = timespec64_to_ktime(current_time); in stmmac_adjust_time() 95 basetime = timespec64_to_ktime(time); in stmmac_adjust_time()
|
/openbmc/linux/arch/um/drivers/ |
H A D | rtc_kern.c | 39 rtc_time64_to_tm(timespec64_to_ktime(ts) / NSEC_PER_SEC, tm); in uml_rtc_read_time()
|
/openbmc/linux/include/linux/ |
H A D | ktime.h | 71 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime() function
|
H A D | timekeeping.h | 121 return timespec64_to_ktime(ts); in ktime_get_coarse()
|
/openbmc/linux/drivers/net/ethernet/renesas/ |
H A D | rcar_gen4_ptp.c | 108 now = ktime_to_ns(timespec64_to_ktime(ts)); in rcar_gen4_ptp_adjtime()
|
H A D | ravb_ptp.c | 131 u64 now = ktime_to_ns(timespec64_to_ktime(ts)); in ravb_ptp_adjtime()
|
/openbmc/linux/fs/ |
H A D | timerfd.c | 199 texp = timespec64_to_ktime(ktmr->it_value); in timerfd_setup() 202 ctx->tintv = timespec64_to_ktime(ktmr->it_interval); in timerfd_setup()
|
H A D | select.c | 603 expire = timespec64_to_ktime(*end_time); in do_select() 961 expire = timespec64_to_ktime(*end_time); in do_poll()
|
/openbmc/linux/kernel/futex/ |
H A D | syscalls.c | 156 *t = timespec64_to_ktime(*ts); in futex_init_timeout()
|
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_tai.c | 368 hwtstamp->hwtstamp = timespec64_to_ktime(ts); in mvpp22_tai_tstamp()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_taprio.c | 382 current_time = timespec64_to_ktime(ts); in lan966x_taprio_new_base_time()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_qos.c | 36 current_time = timespec64_to_ktime(ts); in sparx5_new_base_time()
|
H A D | sparx5_ptp.c | 553 now = ktime_to_ns(timespec64_to_ktime(ts)); in sparx5_ptp_adjtime()
|