/linux-3.4.99/include/linux/ |
D | ktime.h | 47 s64 tv64; member 78 return (ktime_t){ .tv64 = KTIME_MAX }; in ktime_set() 80 return (ktime_t) { .tv64 = (s64)secs * NSEC_PER_SEC + (s64)nsecs }; in ktime_set() 85 ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; }) 89 ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; }) 96 ({ (ktime_t){ .tv64 = (kt).tv64 + (nsval) }; }) 103 ({ (ktime_t){ .tv64 = (kt).tv64 - (nsval) }; }) 118 #define ktime_to_timespec(kt) ns_to_timespec((kt).tv64) 121 #define ktime_to_timeval(kt) ns_to_timeval((kt).tv64) 124 #define ktime_to_ns(kt) ((kt).tv64) [all …]
|
D | hrtimer.h | 213 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64() argument 215 timer->node.expires.tv64 = tv64; in hrtimer_set_expires_tv64() 216 timer->_softexpires.tv64 = tv64; in hrtimer_set_expires_tv64() 243 return timer->node.expires.tv64; in hrtimer_get_expires_tv64() 247 return timer->_softexpires.tv64; in hrtimer_get_softexpires_tv64() 287 # define KTIME_HIGH_RES (ktime_t) { .tv64 = HIGH_RES_NSEC } 455 # define ktime_divns(kt, div) (u64)((kt).tv64 / (div))
|
D | tick.h | 137 ktime_t len = { .tv64 = NSEC_PER_SEC/HZ }; in tick_nohz_get_sleep_length()
|
/linux-3.4.99/kernel/ |
D | hrtimer.c | 186 return expires.tv64 <= new_base->cpu_base->expires_next.tv64; in hrtimer_check_target() 278 tmp.tv64 = nsec; in ktime_add_ns() 302 tmp.tv64 = nsec; in ktime_sub_ns() 308 return (ktime_t){ .tv64 = KTIME_MAX }; in ktime_sub_ns() 351 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe() 547 expires_next.tv64 = KTIME_MAX; in hrtimer_force_reprogram() 564 if (expires.tv64 < 0) in hrtimer_force_reprogram() 565 expires.tv64 = 0; in hrtimer_force_reprogram() 566 if (expires.tv64 < expires_next.tv64) in hrtimer_force_reprogram() 570 if (skip_equal && expires_next.tv64 == cpu_base->expires_next.tv64) in hrtimer_force_reprogram() [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 | 295 if (timr->it.real.interval.tv64 == 0) in schedule_next_timer() 385 if (timr->it.real.interval.tv64 != 0) in posix_timer_fn() 394 if (timr->it.real.interval.tv64 != 0) { in posix_timer_fn() 423 if (timr->it.real.interval.tv64 < kj.tv64) in posix_timer_fn() 691 if (iv.tv64) in common_timer_get() 704 if (iv.tv64 && (timr->it_requeue_pending & REQUEUE_PENDING || in common_timer_get() 710 if (remaining.tv64 <= 0) { in common_timer_get() 787 timr->it.real.interval.tv64 = 0; in common_timer_set() 872 timer->it.real.interval.tv64 = 0; in common_timer_del()
|
D | timer.c | 1275 if (hr_delta.tv64 == KTIME_MAX) in cmp_next_hrtimer_event() 1281 if (hr_delta.tv64 <= 0) in cmp_next_hrtimer_event()
|
/linux-3.4.99/kernel/time/ |
D | tick-broadcast.c | 426 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 427 next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast() 433 if (td->evtdev->next_event.tv64 <= now.tv64) in tick_handle_oneshot_broadcast() 435 else if (td->evtdev->next_event.tv64 < next_event.tv64) in tick_handle_oneshot_broadcast() 436 next_event.tv64 = td->evtdev->next_event.tv64; in tick_handle_oneshot_broadcast() 454 if (next_event.tv64 != KTIME_MAX) { in tick_handle_oneshot_broadcast() 501 if (dev->next_event.tv64 < bc->next_event.tv64) in tick_broadcast_oneshot_control() 509 if (dev->next_event.tv64 != KTIME_MAX) in tick_broadcast_oneshot_control() 573 bc->next_event.tv64 = KTIME_MAX; in tick_broadcast_setup_oneshot()
|
D | alarmtimer.c | 204 if (expired.tv64 > now.tv64) in alarmtimer_fired() 276 if (!min.tv64 || (delta.tv64 < min.tv64)) in alarmtimer_suspend() 279 if (min.tv64 == 0) in alarmtimer_suspend() 283 WARN_ON(min.tv64 < NSEC_PER_SEC); in alarmtimer_suspend() 311 if (!freezer_delta.tv64 || (delta.tv64 < freezer_delta.tv64)) in alarmtimer_freezerset() 402 if (delta.tv64 < 0) in alarm_forward() 405 if (unlikely(delta.tv64 >= interval.tv64)) { in alarm_forward() 413 if (alarm->node.expires.tv64 > now.tv64) in alarm_forward() 457 if (ptr->it.alarm.interval.tv64) { in alarm_handle_timer() 648 if (rem.tv64 <= 0) in update_rmtp() [all …]
|
D | tick-sched.c | 55 if (delta.tv64 < tick_period.tv64) in tick_do_update_jiffies64() 62 if (delta.tv64 >= tick_period.tv64) { in tick_do_update_jiffies64() 69 if (unlikely(delta.tv64 >= tick_period.tv64)) { in tick_do_update_jiffies64() 94 if (last_jiffies_update.tv64 == 0) in tick_init_jiffy_update() 300 ts->sleep_length = (ktime_t) { .tv64 = NSEC_PER_SEC/HZ }; in tick_nohz_stop_sched_tick() 385 tick_period.tv64 * delta_jiffies); in tick_nohz_stop_sched_tick() 391 expires.tv64 = KTIME_MAX; in tick_nohz_stop_sched_tick() 422 if (unlikely(expires.tv64 == KTIME_MAX)) { in tick_nohz_stop_sched_tick() 632 dev->next_event.tv64 = KTIME_MAX; in tick_nohz_handler() 730 if (delta.tv64 <= tick_period.tv64) in tick_nohz_kick_tick()
|
D | clockevents.c | 128 dev->next_event.tv64 = KTIME_MAX; in clockevents_shutdown() 147 dev->next_event.tv64 = KTIME_MAX; in clockevents_increase_min_delta() 243 if (unlikely(expires.tv64 < 0)) { in clockevents_program_event()
|
/linux-3.4.99/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-3.4.99/fs/ |
D | timerfd.c | 79 if (ctx->moffs.tv64 != moffs.tv64) { in timerfd_clock_was_set() 80 ctx->moffs.tv64 = KTIME_MAX; in timerfd_clock_was_set() 101 if (!ctx->might_cancel || ctx->moffs.tv64 != KTIME_MAX) in timerfd_canceled() 127 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; in timerfd_get_remaining() 147 if (texp.tv64 != 0) { in timerfd_setup() 210 if (ctx->expired && ctx->tintv.tv64) { in timerfd_read() 325 if (ctx->expired && ctx->tintv.tv64) in SYSCALL_DEFINE4() 356 if (ctx->expired && ctx->tintv.tv64) { in SYSCALL_DEFINE2()
|
/linux-3.4.99/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-3.4.99/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-3.4.99/net/can/ |
D | bcm.c | 186 if (op->kt_ival1.tv64) in bcm_proc_show() 191 if (op->kt_ival2.tv64) in bcm_proc_show() 212 if (op->kt_ival1.tv64) in bcm_proc_show() 216 if (op->kt_ival2.tv64) in bcm_proc_show() 347 if (op->kt_ival1.tv64 && op->count) in bcm_tx_start_timer() 351 else if (op->kt_ival2.tv64) in bcm_tx_start_timer() 362 if (op->kt_ival1.tv64 && (op->count > 0)) { in bcm_tx_timeout_tsklet() 380 } else if (op->kt_ival2.tv64) in bcm_tx_timeout_tsklet() 441 if (!op->kt_ival2.tv64) { in bcm_rx_update_and_send() 452 if (!op->kt_lastmsg.tv64) in bcm_rx_update_and_send() [all …]
|
/linux-3.4.99/drivers/staging/android/ |
D | alarm.c | 143 if (alarm->expires.tv64 < entry->expires.tv64) { in alarm_enqueue_locked() 349 if (alarm->softexpires.tv64 > now.tv64) { in alarm_timer_triggered() 410 hrtimer_get_expires(&tmp_queue->timer).tv64 < in alarm_suspend() 411 hrtimer_get_expires(&wakeup_queue->timer).tv64)) in alarm_suspend()
|
/linux-3.4.99/include/net/ |
D | red.h | 209 return v->qidlestart.tv64 != 0; in red_is_idling() 219 v->qidlestart.tv64 = 0; in red_end_of_idle_period()
|
/linux-3.4.99/drivers/rtc/ |
D | interface.c | 405 if (alarm->enabled && (rtc_tm_to_ktime(now).tv64 < in rtc_initialize_alarm() 406 rtc->aie_timer.node.expires.tv64)) { in rtc_initialize_alarm() 850 if (next->expires.tv64 > now.tv64) in rtc_timer_do_work()
|
/linux-3.4.99/net/netfilter/ |
D | xt_time.c | 170 if (skb->tstamp.tv64 == 0) in time_mt()
|
/linux-3.4.99/drivers/base/power/ |
D | wakeup.c | 736 if (active_time.tv64 > max_time.tv64) in print_wakeup_source_stats()
|
/linux-3.4.99/net/packet/ |
D | af_packet.c | 1826 && shhwtstamps->syststamp.tv64) in tpacket_rcv() 1829 && shhwtstamps->hwtstamp.tv64) in tpacket_rcv() 1831 else if (skb->tstamp.tv64) in tpacket_rcv() 1845 && shhwtstamps->syststamp.tv64) in tpacket_rcv() 1848 && shhwtstamps->hwtstamp.tv64) in tpacket_rcv() 1850 else if (skb->tstamp.tv64) in tpacket_rcv() 1875 && shhwtstamps->syststamp.tv64) in tpacket_rcv() 1878 && shhwtstamps->hwtstamp.tv64) in tpacket_rcv() 1880 else if (skb->tstamp.tv64) in tpacket_rcv()
|
/linux-3.4.99/net/ipv4/netfilter/ |
D | ipt_ULOG.c | 207 if (skb->tstamp.tv64 == 0) in ipt_ulog_packet()
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | kvm_host.h | 156 u64 tv64; member
|
/linux-3.4.99/drivers/i2c/busses/ |
D | i2c-eg20t.c | 268 return cmp1.tv64 < cmp2.tv64; in ktime_lt()
|