Searched refs:timespec64_to_ktime (Results 1 – 25 of 31) sorted by relevance
12
| /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 | 248 expires = timespec64_to_ktime(value->it_value); in do_setitimer() 251 timespec64_to_ktime(value->it_interval); in do_setitimer()
|
| H A D | timekeeping.c | 255 WARN_ON_ONCE(tk->offs_real != timespec64_to_ktime(tmp)); in tk_set_wall_to_mono() 259 WRITE_ONCE(tk->offs_real, timespec64_to_ktime(tmp)); in tk_set_wall_to_mono() 1651 offs = ktime_add(tks->offs_aux, timespec64_to_ktime(*ts)); in __timekeeping_inject_offset() 2022 tk_update_sleep_time(tk, timespec64_to_ktime(*delta)); in __timekeeping_inject_sleeptime() 2610 coarse = timespec64_to_ktime(*ts); in ktime_get_coarse_real_ts64_mg() 3117 tk_update_aux_offs(aux_tks, ktime_sub(timespec64_to_ktime(*tnew), tnow)); in aux_clock_set()
|
| H A D | alarmtimer.c | 795 exp = timespec64_to_ktime(*tsreq); in alarm_timer_nsleep()
|
| H A D | hrtimer.c | 2374 return hrtimer_nanosleep(timespec64_to_ktime(tu), HRTIMER_MODE_REL, CLOCK_MONOTONIC); in SYSCALL_DEFINE2() 2395 return hrtimer_nanosleep(timespec64_to_ktime(tu), HRTIMER_MODE_REL, CLOCK_MONOTONIC); in SYSCALL_DEFINE2()
|
| /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_vmclock.c | 254 *device_time = timespec64_to_ktime(tspec); in ptp_vmclock_get_time_fn()
|
| H A D | ptp_clock.c | 158 kt = timespec64_to_ktime(ts); in ptp_clock_adjtime()
|
| /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()
|
| /linux/include/linux/ |
| H A D | ktime.h | 69 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime() function
|
| H A D | timekeeping.h | 134 return timespec64_to_ktime(ts); in ktime_get_coarse()
|
| /linux/fs/ |
| H A D | timerfd.c | 197 texp = timespec64_to_ktime(ktmr->it_value); in timerfd_setup() 200 ctx->tintv = timespec64_to_ktime(ktmr->it_interval); in timerfd_setup()
|
| H A D | select.c | 599 expire = timespec64_to_ktime(*end_time); in do_select() 961 expire = timespec64_to_ktime(*end_time); in do_poll()
|
| /linux/io_uring/ |
| H A D | wait.c | 232 iowq.timeout = timespec64_to_ktime(ext_arg->ts); in io_cqring_wait()
|
| H A D | cancel.c | 317 timeout = ktime_add_ns(timespec64_to_ktime(ts), ktime_get_ns()); in io_sync_cancel()
|
| H A D | timeout.c | 70 *time = timespec64_to_ktime(ts); in io_parse_user_time()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_tai.c | 368 hwtstamp->hwtstamp = timespec64_to_ktime(ts); in mvpp22_tai_tstamp()
|
| /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()
|
| H A D | lan966x_ptp.c | 784 now = ktime_to_ns(timespec64_to_ktime(ts)); in lan966x_ptp_adjtime()
|
| /linux/kernel/futex/ |
| H A D | syscalls.c | 180 *t = timespec64_to_ktime(*ts); in futex_init_timeout()
|
| /linux/drivers/net/ethernet/renesas/ |
| H A D | rtsn.c | 131 shhwtstamps.hwtstamp = timespec64_to_ktime(ts); in rtsn_tx_free() 200 shhwtstamps->hwtstamp = timespec64_to_ktime(ts); in rtsn_rx()
|
| H A D | rswitch_main.c | 857 shhwtstamps->hwtstamp = timespec64_to_ktime(ts); in rswitch_rx() 1070 shhwtstamps.hwtstamp = timespec64_to_ktime(ts); in rswitch_ts()
|
| /linux/ipc/ |
| H A D | mqueue.c | 1055 expires = timespec64_to_ktime(*ts); in do_mq_timedsend() 1155 expires = timespec64_to_ktime(*ts); in do_mq_timedreceive()
|
| /linux/drivers/net/phy/ |
| H A D | microchip_rds_ptp.c | 664 now = ktime_to_ns(timespec64_to_ktime(ts)); in mchp_rds_ptp_ltc_adjtime()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_ptp.c | 451 return timespec64_to_ktime(ts); in ksz_tstamp_reconstruct()
|
12