Home
last modified time | relevance | path

Searched refs:KTIME_MAX (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/kernel/time/
Dtick-broadcast-hrtimer.c90 .max_delta_ns = KTIME_MAX,
102 if (ce_broadcast_hrtimer.next_event.tv64 == KTIME_MAX) in bc_handler()
Dtick-broadcast.c586 dev->next_event.tv64 = KTIME_MAX; in tick_handle_oneshot_broadcast()
587 next_event.tv64 = KTIME_MAX; 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()
760 if (dev->next_event.tv64 == KTIME_MAX) in tick_broadcast_oneshot_control()
866 bc->next_event.tv64 = KTIME_MAX; in tick_broadcast_setup_oneshot()
Dtick-sched.c627 time_delta = KTIME_MAX; in tick_nohz_stop_sched_tick()
630 time_delta = KTIME_MAX; in tick_nohz_stop_sched_tick()
659 if (time_delta < KTIME_MAX) 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()
990 dev->next_event.tv64 = KTIME_MAX; in tick_nohz_handler()
Dhrtimer.c449 ktime_t expires, expires_next = { .tv64 = KTIME_MAX }; in __hrtimer_get_next_event()
548 if (cpu_base->expires_next.tv64 != KTIME_MAX) in hrtimer_force_reprogram()
629 base->expires_next.tv64 = KTIME_MAX; in hrtimer_init_hres()
1124 ktime_t mindelta = { .tv64 = KTIME_MAX }; in hrtimer_get_next_event()
1253 dev->next_event.tv64 = KTIME_MAX; in hrtimer_interrupt()
1266 cpu_base->expires_next.tv64 = KTIME_MAX; in hrtimer_interrupt()
1313 if (expires_next.tv64 == KTIME_MAX || in hrtimer_interrupt()
Dclockevents.c178 dev->next_event.tv64 = KTIME_MAX; in clockevents_shutdown()
216 dev->next_event.tv64 = KTIME_MAX; in clockevents_increase_min_delta()
Dtimer.c1321 if (hr_delta.tv64 == KTIME_MAX) in cmp_next_hrtimer_event()
/linux-4.1.27/tools/testing/selftests/timers/
Dset-2038.c45 #define KTIME_MAX ((long long)~((unsigned long long)1 << 63)) macro
46 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
/linux-4.1.27/include/linux/
Dtime64.h31 #define KTIME_MAX ((s64)~((u64)1 << 63)) macro
32 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
Dktime.h53 return (ktime_t){ .tv64 = KTIME_MAX }; in ktime_set()
Dwait.h457 if ((timeout).tv64 != KTIME_MAX) \
/linux-4.1.27/fs/
Dtimerfd.c106 ctx->moffs.tv64 = KTIME_MAX; in timerfd_clock_was_set()
127 if (!ctx->might_cancel || ctx->moffs.tv64 != KTIME_MAX) in timerfd_canceled()
Daio.c1255 ktime_t until = { .tv64 = KTIME_MAX }; in read_events()