/linux-4.1.27/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 | 218 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64() argument 220 timer->node.expires.tv64 = tv64; in hrtimer_set_expires_tv64() 221 timer->_softexpires.tv64 = tv64; in hrtimer_set_expires_tv64() 248 return timer->node.expires.tv64; in hrtimer_get_expires_tv64() 252 return timer->_softexpires.tv64; in hrtimer_get_softexpires_tv64() 292 # define KTIME_HIGH_RES (ktime_t) { .tv64 = HIGH_RES_NSEC }
|
D | tick.h | 108 ktime_t len = { .tv64 = NSEC_PER_SEC/HZ }; in tick_nohz_get_sleep_length()
|
D | wait.h | 457 if ((timeout).tv64 != KTIME_MAX) \
|
/linux-4.1.27/kernel/time/ |
D | hrtimer.c | 187 return expires.tv64 <= new_base->cpu_base->expires_next.tv64; in hrtimer_check_target() 301 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe() 449 ktime_t expires, expires_next = { .tv64 = KTIME_MAX }; in __hrtimer_get_next_event() 462 if (expires.tv64 < expires_next.tv64) in __hrtimer_get_next_event() 470 if (expires_next.tv64 < 0) in __hrtimer_get_next_event() 471 expires_next.tv64 = 0; in __hrtimer_get_next_event() 526 if (skip_equal && expires_next.tv64 == cpu_base->expires_next.tv64) in hrtimer_force_reprogram() 529 cpu_base->expires_next.tv64 = expires_next.tv64; in hrtimer_force_reprogram() 548 if (cpu_base->expires_next.tv64 != KTIME_MAX) in hrtimer_force_reprogram() 591 if (expires.tv64 < 0) in hrtimer_reprogram() [all …]
|
D | tick-broadcast.c | 586 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 587 next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 593 if (td->evtdev->next_event.tv64 <= now.tv64) { in tick_handle_oneshot_broadcast() 601 } else if (td->evtdev->next_event.tv64 < next_event.tv64) { in tick_handle_oneshot_broadcast() 602 next_event.tv64 = td->evtdev->next_event.tv64; in tick_handle_oneshot_broadcast() 639 if (next_event.tv64 != KTIME_MAX) { in tick_handle_oneshot_broadcast() 654 if (bc->next_event.tv64 == KTIME_MAX) in broadcast_needs_cpu() 670 if (dev->next_event.tv64 < bc->next_event.tv64) in broadcast_shutdown_local() 728 dev->next_event.tv64 < bc->next_event.tv64) in tick_broadcast_oneshot_control() 760 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() 411 if (delta.tv64 < 0) in alarm_forward() 414 if (unlikely(delta.tv64 >= interval.tv64)) { in alarm_forward() 422 if (alarm->node.expires.tv64 > now.tv64) in alarm_forward() 479 if (ptr->it.alarm.interval.tv64) { in alarm_handle_timer() 689 if (rem.tv64 <= 0) in update_rmtp() 714 exp.tv64 = restart->nanosleep.expires; in alarm_timer_nsleep_restart() 794 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() 572 ktime_t last_update, expires, ret = { .tv64 = 0 }; in tick_nohz_stop_sched_tick() 656 tick_period.tv64 * delta_jiffies); in tick_nohz_stop_sched_tick() 662 expires.tv64 = KTIME_MAX; in tick_nohz_stop_sched_tick() 690 if (unlikely(expires.tv64 == KTIME_MAX)) { in tick_nohz_stop_sched_tick() 754 ts->sleep_length = (ktime_t) { .tv64 = NSEC_PER_SEC/HZ }; in can_stop_idle_tick() 804 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 | 355 if (timr->it.real.interval.tv64 == 0) in schedule_next_timer() 445 if (timr->it.real.interval.tv64 != 0) in posix_timer_fn() 454 if (timr->it.real.interval.tv64 != 0) { in posix_timer_fn() 483 if (timr->it.real.interval.tv64 < kj.tv64) in posix_timer_fn() 739 if (iv.tv64) in common_timer_get() 752 if (iv.tv64 && (timr->it_requeue_pending & REQUEUE_PENDING || in common_timer_get() 758 if (remaining.tv64 <= 0) { in common_timer_get() 835 timr->it.real.interval.tv64 = 0; in common_timer_set() 920 timer->it.real.interval.tv64 = 0; in common_timer_del()
|
D | tick-broadcast-hrtimer.c | 102 if (ce_broadcast_hrtimer.next_event.tv64 == KTIME_MAX) in bc_handler()
|
D | clockevents.c | 178 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 | timer.c | 1321 if (hr_delta.tv64 == KTIME_MAX) in cmp_next_hrtimer_event() 1327 if (hr_delta.tv64 <= 0) in cmp_next_hrtimer_event()
|
D | timekeeping.c | 107 WARN_ON_ONCE(tk->offs_real.tv64 != timespec64_to_ktime(tmp).tv64); in tk_set_wall_to_mono()
|
/linux-4.1.27/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 | 432 if (alarm->enabled && (rtc_tm_to_ktime(now).tv64 < in rtc_initialize_alarm() 433 rtc->aie_timer.node.expires.tv64)) { in rtc_initialize_alarm() 884 if (next->expires.tv64 > now.tv64) in rtc_timer_do_work()
|
/linux-4.1.27/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.1.27/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 | 1255 ktime_t until = { .tv64 = KTIME_MAX }; in read_events() 1281 if (until.tv64 == 0) in read_events()
|
/linux-4.1.27/include/trace/events/ |
D | timer.h | 176 __entry->expires = hrtimer_get_expires(hrtimer).tv64; 177 __entry->softexpires = hrtimer_get_softexpires(hrtimer).tv64; 183 .tv64 = __entry->expires }), 185 .tv64 = __entry->softexpires })) 210 __entry->now = now->tv64; 215 (unsigned long long)ktime_to_ns((ktime_t) { .tv64 = __entry->now }))
|
/linux-4.1.27/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.1.27/net/can/ |
D | bcm.c | 185 if (op->kt_ival1.tv64) in bcm_proc_show() 190 if (op->kt_ival2.tv64) in bcm_proc_show() 211 if (op->kt_ival1.tv64) in bcm_proc_show() 215 if (op->kt_ival2.tv64) in bcm_proc_show() 350 if (op->kt_ival1.tv64 && op->count) in bcm_tx_start_timer() 354 else if (op->kt_ival2.tv64) in bcm_tx_start_timer() 365 if (op->kt_ival1.tv64 && (op->count > 0)) { in bcm_tx_timeout_tsklet() 383 } else if (op->kt_ival2.tv64) in bcm_tx_timeout_tsklet() 444 if (!op->kt_ival2.tv64) { in bcm_rx_update_and_send() 455 if (!op->kt_lastmsg.tv64) in bcm_rx_update_and_send() [all …]
|
D | gw.c | 431 nskb->tstamp.tv64 = 0; in can_can_gw_rcv()
|
/linux-4.1.27/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.1.27/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 | 2135 (kt.tv64 && sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE) || in sock_recv_timestamp() 2136 (hwtstamps->hwtstamp.tv64 && in sock_recv_timestamp()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-timer.c | 425 if (now.tv64 >= ehci->hr_timeouts[e].tv64) in ehci_hrtimer_func()
|
D | fusbh200-hcd.c | 1369 if (now.tv64 >= fusbh200->hr_timeouts[e].tv64) in fusbh200_hrtimer_func()
|
D | fotg210-hcd.c | 1411 if (now.tv64 >= fotg210->hr_timeouts[e].tv64) in fotg210_hrtimer_func()
|
/linux-4.1.27/net/netfilter/ |
D | xt_time.c | 171 if (skb->tstamp.tv64 == 0) in time_mt()
|
D | nfnetlink_queue_core.c | 314 if (entskb->tstamp.tv64) in nfqnl_build_packet_message() 468 if (entskb->tstamp.tv64) { in nfqnl_build_packet_message()
|
D | nfnetlink_log.c | 539 if (skb->tstamp.tv64) { in __build_packet_message()
|
D | nf_conntrack_core.c | 649 if (skb->tstamp.tv64 == 0) in __nf_conntrack_confirm()
|
/linux-4.1.27/Documentation/ |
D | gdb-kernel-debugging.txt | 128 tv64 = 1835268000000 132 tv64 = 1835268000000
|
/linux-4.1.27/drivers/base/power/ |
D | wakeup.c | 858 if (active_time.tv64 > max_time.tv64) in print_wakeup_source_stats()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | kvm_host.h | 164 u64 tv64; member
|
/linux-4.1.27/net/ipv6/ |
D | exthdrs.c | 229 if (skb->tstamp.tv64 == 0) in ipv6_dest_hao()
|
/linux-4.1.27/kernel/ |
D | futex.c | 2234 restart->futex.time = abs_time->tv64; in futex_wait() 2255 t.tv64 = restart->futex.time; in futex_wait_restart()
|
D | signal.c | 638 tsk->signal->it_real_incr.tv64 != 0) { in dequeue_signal()
|
/linux-4.1.27/net/sched/ |
D | sch_netem.c | 592 skb->tstamp.tv64 = 0; in netem_dequeue()
|
/linux-4.1.27/net/ipv4/ |
D | tcp_output.c | 1025 skb->tstamp.tv64 = 0; in tcp_transmit_skb() 3025 skb->tstamp.tv64 = 0; in tcp_make_synack()
|
/linux-4.1.27/net/sunrpc/ |
D | svcsock.c | 587 if (skb->tstamp.tv64 == 0) { in svc_udp_recvfrom()
|
/linux-4.1.27/net/ipx/ |
D | af_ipx.c | 1812 if (skb->tstamp.tv64) in ipx_recvmsg()
|
/linux-4.1.27/net/core/ |
D | dev.c | 1683 skb->tstamp.tv64 = 0; in net_timestamp_set() 1690 if ((COND) && !(SKB)->tstamp.tv64) \
|
D | skbuff.c | 4149 skb->tstamp.tv64 = 0; in skb_scrub_packet()
|
/linux-4.1.27/net/ |
D | socket.c | 649 if (need_software_tstamp && skb->tstamp.tv64 == 0) in __sock_recv_timestamp()
|