Home
last modified time | relevance | path

Searched refs:timespec64_to_ktime (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.1/kernel/time/
Dposix-stubs.c152 texp = timespec64_to_ktime(t); in SYSCALL_DEFINE4()
245 texp = timespec64_to_ktime(t); in SYSCALL_DEFINE4()
Ditimer.c229 expires = timespec64_to_ktime(value->it_value); in do_setitimer()
232 timespec64_to_ktime(value->it_interval); in do_setitimer()
Dnamespace.c30 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()
Dposix-timers.c887 timr->it_interval = timespec64_to_ktime(new_setting->it_interval); in common_timer_set()
888 expires = timespec64_to_ktime(new_setting->it_value); in common_timer_set()
1234 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep()
1244 ktime_t texp = timespec64_to_ktime(*rqtp); in common_nsleep_timens()
Dposix-cpu-timers.c650 new_expires = ktime_to_ns(timespec64_to_ktime(new->it_value)); in posix_cpu_timer_set()
746 timer->it_interval = timespec64_to_ktime(new->it_interval); in posix_cpu_timer_set()
Dtimekeeping.c161 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()
Dhrtimer.c2131 return hrtimer_nanosleep(timespec64_to_ktime(tu), HRTIMER_MODE_REL, in SYSCALL_DEFINE2()
2152 return hrtimer_nanosleep(timespec64_to_ktime(tu), HRTIMER_MODE_REL, in SYSCALL_DEFINE2()
Dalarmtimer.c839 exp = timespec64_to_ktime(*tsreq); in alarm_timer_nsleep()
/Linux-v6.1/io_uring/
Dtimeout.c364 hrtimer_start(&io->timer, timespec64_to_ktime(*ts), mode); in io_linked_timeout_update()
385 hrtimer_start(&data->timer, timespec64_to_ktime(*ts), mode); in io_timeout_update()
572 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts), data->mode); in io_timeout()
591 hrtimer_start(&data->timer, timespec64_to_ktime(data->ts), in io_queue_linked_timeout()
Dcancel.c277 timeout = ktime_add_ns(timespec64_to_ktime(ts), ktime_get_ns()); in io_sync_cancel()
/Linux-v6.1/drivers/ptp/
Dptp_kvm_common.c51 *device_time = timespec64_to_ktime(tspec); in ptp_kvm_get_time_fn()
Dptp_clock.c127 kt = timespec64_to_ktime(ts); in ptp_clock_adjtime()
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c101 current_time_ns = timespec64_to_ktime(current_time); in stmmac_adjust_time()
104 basetime = timespec64_to_ktime(time); in stmmac_adjust_time()
/Linux-v6.1/arch/um/drivers/
Drtc_kern.c39 rtc_time64_to_tm(timespec64_to_ktime(ts) / NSEC_PER_SEC, tm); in uml_rtc_read_time()
/Linux-v6.1/include/linux/
Dktime.h71 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime() function
Dtimekeeping.h121 return timespec64_to_ktime(ts); in ktime_get_coarse()
/Linux-v6.1/fs/
Dtimerfd.c199 texp = timespec64_to_ktime(ktmr->it_value); in timerfd_setup()
202 ctx->tintv = timespec64_to_ktime(ktmr->it_interval); in timerfd_setup()
Dselect.c603 expire = timespec64_to_ktime(*end_time); in do_select()
961 expire = timespec64_to_ktime(*end_time); in do_poll()
/Linux-v6.1/kernel/futex/
Dsyscalls.c156 *t = timespec64_to_ktime(*ts); in futex_init_timeout()
/Linux-v6.1/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_tai.c368 hwtstamp->hwtstamp = timespec64_to_ktime(ts); in mvpp22_tai_tstamp()
/Linux-v6.1/drivers/net/ethernet/renesas/
Dravb_ptp.c138 u64 now = ktime_to_ns(timespec64_to_ktime(ts)); in ravb_ptp_adjtime()
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_taprio.c382 current_time = timespec64_to_ktime(ts); in lan966x_taprio_new_base_time()
Dlan966x_ptp.c543 now = ktime_to_ns(timespec64_to_ktime(ts)); in lan966x_ptp_adjtime()
/Linux-v6.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c556 now = ktime_to_ns(timespec64_to_ktime(ts)); in sparx5_ptp_adjtime()
/Linux-v6.1/ipc/
Dmqueue.c1079 expires = timespec64_to_ktime(*ts); in do_mq_timedsend()
1194 expires = timespec64_to_ktime(*ts); in do_mq_timedreceive()

12