/linux-4.4.14/include/linux/ |
D | ktime.h | 38 s64 tv64; member 53 return (ktime_t){ .tv64 = KTIME_MAX }; in ktime_set() 55 return (ktime_t) { .tv64 = secs * NSEC_PER_SEC + (s64)nsecs }; in ktime_set() 60 ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; }) 64 ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; }) 71 ({ (ktime_t){ .tv64 = (kt).tv64 + (nsval) }; }) 78 ({ (ktime_t){ .tv64 = (kt).tv64 - (nsval) }; }) 99 #define ktime_to_timespec(kt) ns_to_timespec((kt).tv64) 102 #define ktime_to_timespec64(kt) ns_to_timespec64((kt).tv64) 105 #define ktime_to_timeval(kt) ns_to_timeval((kt).tv64) [all …]
|
D | hrtimer.h | 229 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64() argument 231 timer->node.expires.tv64 = tv64; in hrtimer_set_expires_tv64() 232 timer->_softexpires.tv64 = tv64; in hrtimer_set_expires_tv64() 259 return timer->node.expires.tv64; in hrtimer_get_expires_tv64() 263 return timer->_softexpires.tv64; in hrtimer_get_softexpires_tv64() 300 # define KTIME_HIGH_RES (ktime_t) { .tv64 = HIGH_RES_NSEC } 336 rem.tv64 -= hrtimer_resolution; in __hrtimer_expires_remaining_adjusted()
|
D | tick.h | 115 ktime_t len = { .tv64 = NSEC_PER_SEC/HZ }; in tick_nohz_get_sleep_length()
|
D | wait.h | 470 if ((timeout).tv64 != KTIME_MAX) \
|
/linux-4.4.14/kernel/time/ |
D | hrtimer.c | 174 return expires.tv64 <= new_base->cpu_base->expires_next.tv64; in hrtimer_check_target() 316 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe() 472 ktime_t expires, expires_next = { .tv64 = KTIME_MAX }; in __hrtimer_get_next_event() 486 if (expires.tv64 < expires_next.tv64) { in __hrtimer_get_next_event() 496 if (expires_next.tv64 < 0) in __hrtimer_get_next_event() 497 expires_next.tv64 = 0; in __hrtimer_get_next_event() 574 if (skip_equal && expires_next.tv64 == cpu_base->expires_next.tv64) in hrtimer_force_reprogram() 577 cpu_base->expires_next.tv64 = expires_next.tv64; in hrtimer_force_reprogram() 635 if (expires.tv64 < 0) in hrtimer_reprogram() 636 expires.tv64 = 0; in hrtimer_reprogram() [all …]
|
D | tick-broadcast.c | 607 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 608 next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 614 if (td->evtdev->next_event.tv64 <= now.tv64) { in tick_handle_oneshot_broadcast() 622 } else if (td->evtdev->next_event.tv64 < next_event.tv64) { in tick_handle_oneshot_broadcast() 623 next_event.tv64 = td->evtdev->next_event.tv64; in tick_handle_oneshot_broadcast() 660 if (next_event.tv64 != KTIME_MAX) in tick_handle_oneshot_broadcast() 675 if (bc->next_event.tv64 == KTIME_MAX) in broadcast_needs_cpu() 691 if (dev->next_event.tv64 < bc->next_event.tv64) in broadcast_shutdown_local() 757 } else if (dev->next_event.tv64 < bc->next_event.tv64) { in __tick_broadcast_oneshot_control() 792 if (dev->next_event.tv64 == KTIME_MAX) in __tick_broadcast_oneshot_control() [all …]
|
D | alarmtimer.c | 251 if (!min.tv64 || (delta.tv64 < min.tv64)) in alarmtimer_suspend() 254 if (min.tv64 == 0) in alarmtimer_suspend() 290 if (!freezer_delta.tv64 || (delta.tv64 < freezer_delta.tv64)) in alarmtimer_freezerset() 408 if (delta.tv64 < 0) in alarm_forward() 411 if (unlikely(delta.tv64 >= interval.tv64)) { in alarm_forward() 419 if (alarm->node.expires.tv64 > now.tv64) in alarm_forward() 476 if (ptr->it.alarm.interval.tv64) { in alarm_handle_timer() 686 if (rem.tv64 <= 0) in update_rmtp() 711 exp.tv64 = restart->nanosleep.expires; in alarm_timer_nsleep_restart() 791 restart->nanosleep.expires = exp.tv64; in alarm_timer_nsleep()
|
D | tick-sched.c | 61 if (delta.tv64 < tick_period.tv64) in tick_do_update_jiffies64() 68 if (delta.tv64 >= tick_period.tv64) { in tick_do_update_jiffies64() 75 if (unlikely(delta.tv64 >= tick_period.tv64)) { in tick_do_update_jiffies64() 104 if (last_jiffies_update.tv64 == 0) in tick_init_jiffy_update() 582 basemono = last_jiffies_update.tv64; in tick_nohz_stop_sched_tick() 610 tick.tv64 = 0; in tick_nohz_stop_sched_tick() 655 tick.tv64 = expires; in tick_nohz_stop_sched_tick() 658 if (ts->tick_stopped && (expires == dev->next_event.tv64)) in tick_nohz_stop_sched_tick() 748 ts->sleep_length = (ktime_t) { .tv64 = NSEC_PER_SEC/HZ }; in can_stop_idle_tick() 798 if (expires.tv64 > 0LL) { in __tick_nohz_idle_enter() [all …]
|
D | itimer.c | 37 if (rem.tv64 <= 0) in itimer_get_remtime() 38 rem.tv64 = NSEC_PER_USEC; in itimer_get_remtime() 40 rem.tv64 = 0; in itimer_get_remtime() 219 if (expires.tv64 != 0) { in do_setitimer() 224 tsk->signal->it_real_incr.tv64 = 0; in do_setitimer()
|
D | posix-timers.c | 362 if (timr->it.real.interval.tv64 == 0) in schedule_next_timer() 452 if (timr->it.real.interval.tv64 != 0) in posix_timer_fn() 461 if (timr->it.real.interval.tv64 != 0) { in posix_timer_fn() 490 if (timr->it.real.interval.tv64 < kj.tv64) in posix_timer_fn() 746 if (iv.tv64) in common_timer_get() 759 if (iv.tv64 && (timr->it_requeue_pending & REQUEUE_PENDING || in common_timer_get() 765 if (remaining.tv64 <= 0) { in common_timer_get() 842 timr->it.real.interval.tv64 = 0; in common_timer_set() 927 timer->it.real.interval.tv64 = 0; in common_timer_del()
|
D | tick-broadcast-hrtimer.c | 99 if (ce_broadcast_hrtimer.next_event.tv64 != KTIME_MAX) in bc_handler()
|
D | tick-oneshot.c | 31 if (unlikely(expires.tv64 == KTIME_MAX)) { in tick_program_event()
|
D | clockevents.c | 182 dev->next_event.tv64 = KTIME_MAX; in clockevents_shutdown() 216 dev->next_event.tv64 = KTIME_MAX; in clockevents_increase_min_delta() 313 if (unlikely(expires.tv64 < 0)) { in clockevents_program_event()
|
D | timekeeping.c | 107 WARN_ON_ONCE(tk->offs_real.tv64 != timespec64_to_ktime(tmp).tv64); in tk_set_wall_to_mono() 522 if (tk->next_leap_ktime.tv64 != KTIME_MAX) in tk_update_leap_state() 1963 if (unlikely(base.tv64 >= tk->next_leap_ktime.tv64)) in ktime_get_update_offsets_now()
|
D | ntp.c | 379 ret.tv64 = KTIME_MAX; in ntp_get_next_leap()
|
/linux-4.4.14/drivers/rtc/ |
D | hctosys.c | 31 struct timespec64 tv64 = { in rtc_hctosys() local 50 tv64.tv_sec = rtc_tm_to_time64(&tm); in rtc_hctosys() 52 err = do_settimeofday64(&tv64); in rtc_hctosys() 59 (long long) tv64.tv_sec); in rtc_hctosys()
|
D | interface.c | 387 if (alarm->enabled && (rtc_tm_to_ktime(now).tv64 < in rtc_initialize_alarm() 388 rtc->aie_timer.node.expires.tv64)) { in rtc_initialize_alarm() 839 if (next->expires.tv64 > now.tv64) in rtc_timer_do_work()
|
/linux-4.4.14/lib/ |
D | timerqueue.c | 51 if (node->expires.tv64 < ptr->expires.tv64) in timerqueue_add() 59 if (!head->next || node->expires.tv64 < head->next->expires.tv64) { in timerqueue_add()
|
/linux-4.4.14/fs/ |
D | timerfd.c | 96 ktime_t moffs = ktime_mono_to_real((ktime_t){ .tv64 = 0 }); in timerfd_clock_was_set() 105 if (ctx->moffs.tv64 != moffs.tv64) { in timerfd_clock_was_set() 106 ctx->moffs.tv64 = KTIME_MAX; in timerfd_clock_was_set() 127 if (!ctx->might_cancel || ctx->moffs.tv64 != KTIME_MAX) in timerfd_canceled() 129 ctx->moffs = ktime_mono_to_real((ktime_t){ .tv64 = 0 }); in timerfd_canceled() 158 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; in timerfd_get_remaining() 187 if (texp.tv64 != 0) { in timerfd_setup() 264 if (ctx->expired && ctx->tintv.tv64) { in timerfd_read() 408 ctx->moffs = ktime_mono_to_real((ktime_t){ .tv64 = 0 }); in SYSCALL_DEFINE2() 462 if (ctx->expired && ctx->tintv.tv64) { in do_timerfd_settime() [all …]
|
D | aio.c | 1264 ktime_t until = { .tv64 = KTIME_MAX }; in read_events() 1290 if (until.tv64 == 0) in read_events()
|
/linux-4.4.14/include/trace/events/ |
D | timer.h | 180 __entry->expires = hrtimer_get_expires(hrtimer).tv64; 181 __entry->softexpires = hrtimer_get_softexpires(hrtimer).tv64; 187 .tv64 = __entry->expires }), 189 .tv64 = __entry->softexpires })) 214 __entry->now = now->tv64; 219 (unsigned long long)ktime_to_ns((ktime_t) { .tv64 = __entry->now }))
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | timing.c | 49 vcpu->arch.timing_exit.tv64 = 0; in kvmppc_init_timing_stats() 50 vcpu->arch.timing_last_enter.tv64 = 0; in kvmppc_init_timing_stats() 96 u64 enter = vcpu->arch.timing_last_enter.tv64; in kvmppc_update_timing_stats() 99 vcpu->arch.timing_last_exit = vcpu->arch.timing_exit.tv64; in kvmppc_update_timing_stats()
|
/linux-4.4.14/net/can/ |
D | bcm.c | 190 if (op->kt_ival1.tv64) in bcm_proc_show() 195 if (op->kt_ival2.tv64) in bcm_proc_show() 216 if (op->kt_ival1.tv64) in bcm_proc_show() 220 if (op->kt_ival2.tv64) in bcm_proc_show() 355 if (op->kt_ival1.tv64 && op->count) in bcm_tx_start_timer() 359 else if (op->kt_ival2.tv64) in bcm_tx_start_timer() 370 if (op->kt_ival1.tv64 && (op->count > 0)) { in bcm_tx_timeout_tsklet() 388 } else if (op->kt_ival2.tv64) in bcm_tx_timeout_tsklet() 449 if (!op->kt_ival2.tv64) { in bcm_rx_update_and_send() 460 if (!op->kt_lastmsg.tv64) in bcm_rx_update_and_send() [all …]
|
D | gw.c | 432 nskb->tstamp.tv64 = 0; in can_can_gw_rcv()
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | otg_fsm.c | 225 (ci->hr_timeouts[ci->next_otg_timer].tv64 > in ci_otg_add_timer() 226 ci->hr_timeouts[t].tv64)) { in ci_otg_add_timer() 260 (ci->hr_timeouts[next_timer].tv64 < in ci_otg_del_timer() 261 ci->hr_timeouts[cur_timer].tv64)) in ci_otg_del_timer() 381 if (now.tv64 >= ci->hr_timeouts[cur_timer].tv64) { in ci_otg_hrtimer_func() 387 (ci->hr_timeouts[cur_timer].tv64 < in ci_otg_hrtimer_func() 388 ci->hr_timeouts[next_timer].tv64)) in ci_otg_hrtimer_func()
|
/linux-4.4.14/include/net/ |
D | red.h | 210 return v->qidlestart.tv64 != 0; in red_is_idling() 220 v->qidlestart.tv64 = 0; in red_end_of_idle_period()
|
D | sock.h | 2151 (kt.tv64 && sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE) || in sock_recv_timestamp() 2152 (hwtstamps->hwtstamp.tv64 && in sock_recv_timestamp()
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-timer.c | 425 if (now.tv64 >= ehci->hr_timeouts[e].tv64) in ehci_hrtimer_func()
|
D | fotg210-hcd.c | 1384 if (now.tv64 >= fotg210->hr_timeouts[e].tv64) in fotg210_hrtimer_func()
|
/linux-4.4.14/net/netfilter/ |
D | xt_time.c | 171 if (skb->tstamp.tv64 == 0) in time_mt()
|
D | nfnetlink_queue.c | 334 if (entskb->tstamp.tv64) in nfqnl_build_packet_message() 502 if (entskb->tstamp.tv64) { in nfqnl_build_packet_message()
|
D | nfnetlink_log.c | 542 if (skb->tstamp.tv64) { in __build_packet_message()
|
D | nf_conntrack_core.c | 670 if (skb->tstamp.tv64 == 0) in __nf_conntrack_confirm()
|
/linux-4.4.14/Documentation/ |
D | gdb-kernel-debugging.txt | 128 tv64 = 1835268000000 132 tv64 = 1835268000000
|
/linux-4.4.14/drivers/base/power/ |
D | wakeup.c | 1003 if (active_time.tv64 > max_time.tv64) in print_wakeup_source_stats()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | kvm_host.h | 166 u64 tv64; member
|
/linux-4.4.14/net/ipv6/ |
D | exthdrs.c | 229 if (skb->tstamp.tv64 == 0) in ipv6_dest_hao()
|
/linux-4.4.14/kernel/ |
D | futex.c | 2339 restart->futex.time = abs_time->tv64; in futex_wait() 2360 t.tv64 = restart->futex.time; in futex_wait_restart()
|
D | signal.c | 587 tsk->signal->it_real_incr.tv64 != 0) { in dequeue_signal()
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | heartbeat.c | 1108 before_hb.tv64, after_hb.tv64, elapsed_msec, ret); in o2hb_thread()
|
/linux-4.4.14/net/sched/ |
D | sch_netem.c | 649 skb->tstamp.tv64 = 0; in netem_dequeue()
|
/linux-4.4.14/net/ipv4/ |
D | tcp_output.c | 1022 skb->tstamp.tv64 = 0; in tcp_transmit_skb() 3034 skb->tstamp.tv64 = 0; in tcp_make_synack()
|
/linux-4.4.14/net/sunrpc/ |
D | svcsock.c | 612 if (skb->tstamp.tv64 == 0) { in svc_udp_recvfrom()
|
/linux-4.4.14/net/ipx/ |
D | af_ipx.c | 1812 if (skb->tstamp.tv64) in ipx_recvmsg()
|
/linux-4.4.14/net/core/ |
D | dev.c | 1715 skb->tstamp.tv64 = 0; in net_timestamp_set() 1722 if ((COND) && !(SKB)->tstamp.tv64) \
|
D | skbuff.c | 4235 skb->tstamp.tv64 = 0; in skb_scrub_packet()
|
/linux-4.4.14/net/ |
D | socket.c | 647 if (need_software_tstamp && skb->tstamp.tv64 == 0) in __sock_recv_timestamp()
|