Home
last modified time | relevance | path

Searched refs:tv64 (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.6.39/include/linux/
Dktime.h47 s64 tv64; member
85 return (ktime_t){ .tv64 = KTIME_MAX }; in ktime_set()
87 return (ktime_t) { .tv64 = (s64)secs * NSEC_PER_SEC + (s64)nsecs }; in ktime_set()
92 ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; })
96 ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; })
103 ({ (ktime_t){ .tv64 = (kt).tv64 + (nsval) }; })
110 ({ (ktime_t){ .tv64 = (kt).tv64 - (nsval) }; })
125 #define ktime_to_timespec(kt) ns_to_timespec((kt).tv64)
128 #define ktime_to_timeval(kt) ns_to_timeval((kt).tv64)
131 #define ktime_to_ns(kt) ((kt).tv64)
[all …]
Dhrtimer.h209 static inline void hrtimer_set_expires_tv64(struct hrtimer *timer, s64 tv64) in hrtimer_set_expires_tv64() argument
211 timer->node.expires.tv64 = tv64; in hrtimer_set_expires_tv64()
212 timer->_softexpires.tv64 = tv64; in hrtimer_set_expires_tv64()
239 return timer->node.expires.tv64; in hrtimer_get_expires_tv64()
243 return timer->_softexpires.tv64; in hrtimer_get_softexpires_tv64()
285 # define KTIME_HIGH_RES (ktime_t) { .tv64 = HIGH_RES_NSEC }
447 # define ktime_divns(kt, div) (u64)((kt).tv64 / (div))
Dtick.h134 ktime_t len = { .tv64 = NSEC_PER_SEC/HZ }; in tick_nohz_get_sleep_length()
/linux-2.6.39/kernel/
Dhrtimer.c182 return expires.tv64 <= new_base->cpu_base->expires_next.tv64; in hrtimer_check_target()
269 tmp.tv64 = nsec; in ktime_add_ns()
293 tmp.tv64 = nsec; in ktime_sub_ns()
338 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe()
534 expires_next.tv64 = KTIME_MAX; in hrtimer_force_reprogram()
551 if (expires.tv64 < 0) in hrtimer_force_reprogram()
552 expires.tv64 = 0; in hrtimer_force_reprogram()
553 if (expires.tv64 < expires_next.tv64) in hrtimer_force_reprogram()
557 if (skip_equal && expires_next.tv64 == cpu_base->expires_next.tv64) in hrtimer_force_reprogram()
560 cpu_base->expires_next.tv64 = expires_next.tv64; in hrtimer_force_reprogram()
[all …]
Ditimer.c37 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()
220 if (expires.tv64 != 0) { in do_setitimer()
225 tsk->signal->it_real_incr.tv64 = 0; in do_setitimer()
Dposix-timers.c295 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()
681 if (iv.tv64) in common_timer_get()
694 if (iv.tv64 && (timr->it_requeue_pending & REQUEUE_PENDING || in common_timer_get()
700 if (remaining.tv64 <= 0) { in common_timer_get()
777 timr->it.real.interval.tv64 = 0; in common_timer_set()
862 timer->it.real.interval.tv64 = 0; in common_timer_del()
Dtimer.c1222 if (hr_delta.tv64 == KTIME_MAX) in cmp_next_hrtimer_event()
1228 if (hr_delta.tv64 <= 0) in cmp_next_hrtimer_event()
/linux-2.6.39/kernel/time/
Dtick-broadcast.c409 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast()
410 next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast()
416 if (td->evtdev->next_event.tv64 <= now.tv64) in tick_handle_oneshot_broadcast()
418 else if (td->evtdev->next_event.tv64 < next_event.tv64) in tick_handle_oneshot_broadcast()
419 next_event.tv64 = td->evtdev->next_event.tv64; in tick_handle_oneshot_broadcast()
437 if (next_event.tv64 != KTIME_MAX) { in tick_handle_oneshot_broadcast()
480 if (dev->next_event.tv64 < bc->next_event.tv64) in tick_broadcast_oneshot_control()
488 if (dev->next_event.tv64 != KTIME_MAX) in tick_broadcast_oneshot_control()
554 bc->next_event.tv64 = KTIME_MAX; in tick_broadcast_setup_oneshot()
Dtick-sched.c55 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()
384 tick_period.tv64 * delta_jiffies); in tick_nohz_stop_sched_tick()
390 expires.tv64 = KTIME_MAX; in tick_nohz_stop_sched_tick()
424 if (unlikely(expires.tv64 == KTIME_MAX)) { in tick_nohz_stop_sched_tick()
571 dev->next_event.tv64 = KTIME_MAX; in tick_nohz_handler()
671 if (delta.tv64 <= tick_period.tv64) in tick_nohz_kick_tick()
Dclockevents.c94 dev->next_event.tv64 = KTIME_MAX; in clockevents_shutdown()
109 if (unlikely(expires.tv64 < 0)) { in clockevents_program_event()
Dtick-oneshot.c81 dev->next_event.tv64 = KTIME_MAX; in tick_dev_program_event()
/linux-2.6.39/lib/
Dtimerqueue.c50 if (node->expires.tv64 < ptr->expires.tv64) in timerqueue_add()
58 if (!head->next || node->expires.tv64 < head->next->expires.tv64) in timerqueue_add()
/linux-2.6.39/include/trace/events/
Dtimer.h176 __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-2.6.39/fs/
Dtimerfd.c59 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; in timerfd_get_remaining()
78 if (texp.tv64 != 0) in timerfd_setup()
123 if (ctx->expired && ctx->tintv.tv64) { in timerfd_read()
234 if (ctx->expired && ctx->tintv.tv64) in SYSCALL_DEFINE4()
265 if (ctx->expired && ctx->tintv.tv64) { in SYSCALL_DEFINE2()
/linux-2.6.39/net/can/
Dbcm.c187 if (op->kt_ival1.tv64) in bcm_proc_show()
192 if (op->kt_ival2.tv64) in bcm_proc_show()
213 if (op->kt_ival1.tv64) in bcm_proc_show()
217 if (op->kt_ival2.tv64) in bcm_proc_show()
351 if (op->kt_ival1.tv64 && (op->count > 0)) { in bcm_tx_timeout_tsklet()
369 if (op->kt_ival1.tv64 && (op->count > 0)) { in bcm_tx_timeout_tsklet()
378 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()
519 if (op->kt_ival1.tv64) in bcm_rx_starttimer()
[all …]
/linux-2.6.39/arch/powerpc/kvm/
Dtiming.c49 vcpu->arch.timing_exit.tv64 = 0; in kvmppc_init_timing_stats()
50 vcpu->arch.timing_last_enter.tv64 = 0; in kvmppc_init_timing_stats()
101 u64 enter = vcpu->arch.timing_last_enter.tv64; in kvmppc_update_timing_stats()
104 vcpu->arch.timing_last_exit = vcpu->arch.timing_exit.tv64; in kvmppc_update_timing_stats()
/linux-2.6.39/drivers/base/power/
Dwakeup.c691 if (active_time.tv64 > max_time.tv64) in print_wakeup_source_stats()
/linux-2.6.39/net/netfilter/
Dxt_time.c170 if (skb->tstamp.tv64 == 0) in time_mt()
Dnfnetlink_queue.c347 if (entskb->tstamp.tv64) { in nfqnl_build_packet_message()
/linux-2.6.39/arch/powerpc/include/asm/
Dkvm_host.h129 u64 tv64; member
/linux-2.6.39/drivers/rtc/
Dinterface.c800 if (next->expires.tv64 > now.tv64) in rtc_timer_do_work()
/linux-2.6.39/drivers/i2c/busses/
Di2c-eg20t.c262 return cmp1.tv64 < cmp2.tv64; in ktime_lt()
/linux-2.6.39/net/packet/
Daf_packet.c771 && shhwtstamps->syststamp.tv64) in tpacket_rcv()
774 && shhwtstamps->hwtstamp.tv64) in tpacket_rcv()
776 else if (skb->tstamp.tv64) in tpacket_rcv()
790 && shhwtstamps->syststamp.tv64) in tpacket_rcv()
793 && shhwtstamps->hwtstamp.tv64) in tpacket_rcv()
795 else if (skb->tstamp.tv64) in tpacket_rcv()
/linux-2.6.39/include/net/
Dsock.h1673 (kt.tv64 && sock_flag(sk, SOCK_TIMESTAMPING_SOFTWARE)) || in sock_recv_timestamp()
1674 (hwtstamps->hwtstamp.tv64 && in sock_recv_timestamp()
1676 (hwtstamps->syststamp.tv64 && in sock_recv_timestamp()
/linux-2.6.39/net/ipv4/netfilter/
Dipt_ULOG.c209 if (skb->tstamp.tv64 == 0) in ipt_ulog_packet()

12