Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/timers/
Dset-2038.c34 #define KTIME_MAX ((long long)~((unsigned long long)1 << 63)) macro
35 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
/Linux-v5.4/kernel/time/
Dtick-oneshot.c27 if (unlikely(expires == KTIME_MAX)) { in tick_program_event()
32 dev->next_event = KTIME_MAX; in tick_program_event()
Dtick-broadcast.c612 dev->next_event = KTIME_MAX; in tick_handle_oneshot_broadcast()
613 next_event = KTIME_MAX; in tick_handle_oneshot_broadcast()
673 if (next_event != KTIME_MAX) in tick_handle_oneshot_broadcast()
688 if (bc->next_event == KTIME_MAX) in broadcast_needs_cpu()
805 if (dev->next_event == KTIME_MAX) in __tick_broadcast_oneshot_control()
913 bc->next_event = KTIME_MAX; in tick_broadcast_setup_oneshot()
Dhrtimer.c571 ktime_t expires_next = KTIME_MAX; in __hrtimer_get_next_event()
577 active, KTIME_MAX); in __hrtimer_get_next_event()
1071 if (expires == KTIME_MAX) in hrtimer_update_softirq_timer()
1314 u64 expires = KTIME_MAX; in hrtimer_get_next_event()
1337 u64 expires = KTIME_MAX; in hrtimer_next_event_without()
1348 active, KTIME_MAX); in hrtimer_next_event_without()
1617 dev->next_event = KTIME_MAX; in hrtimer_interrupt()
1630 cpu_base->expires_next = KTIME_MAX; in hrtimer_interrupt()
1633 cpu_base->softirq_expires_next = KTIME_MAX; in hrtimer_interrupt()
1746 cpu_base->softirq_expires_next = KTIME_MAX; in hrtimer_run_queues()
[all …]
Dtick-sched.c727 delta = KTIME_MAX; in tick_nohz_next_event()
730 if (delta < (KTIME_MAX - basemono)) in tick_nohz_next_event()
733 expires = KTIME_MAX; in tick_nohz_next_event()
769 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
800 if (unlikely(expires == KTIME_MAX)) { in tick_nohz_stop_tick()
1195 dev->next_event = KTIME_MAX; in tick_nohz_handler()
Dtick-broadcast-hrtimer.c91 .max_delta_ns = KTIME_MAX,
Dclockevents.c174 dev->next_event = KTIME_MAX; in clockevents_shutdown()
208 dev->next_event = KTIME_MAX; in clockevents_increase_min_delta()
Dntp.c386 ret = KTIME_MAX; in ntp_get_next_leap()
Dtimer.c1610 u64 expires = KTIME_MAX; in get_next_timer_interrupt()
Dtimekeeping.c622 if (tk->next_leap_ktime != KTIME_MAX) in tk_update_leap_state()
/Linux-v5.4/include/linux/
Dtime64.h35 #define KTIME_MAX ((s64)~((u64)1 << 63)) macro
36 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
Drcutiny.h57 *nextevt = KTIME_MAX; in rcu_needs_cpu()
Dktime.h40 return KTIME_MAX; in ktime_set()
Dwait.h506 if ((timeout) != KTIME_MAX) \
/Linux-v5.4/fs/
Dtimerfd.c108 ctx->moffs = KTIME_MAX; in timerfd_clock_was_set()
136 if (!ctx->might_cancel || ctx->moffs != KTIME_MAX) in timerfd_canceled()
Daio.c2034 ktime_t until = ts ? timespec64_to_ktime(*ts) : KTIME_MAX; in do_io_getevents()
/Linux-v5.4/net/sched/
Dsch_taprio.c91 return KTIME_MAX; in sched_base_time()
107 return KTIME_MAX; in taprio_get_time()
193 ktime_t earliest_txtime = KTIME_MAX, txtime, cycle, transmit_end_time; in find_entry_to_transmit()
1024 expires = KTIME_MAX; in taprio_start_sched()
Dsch_cake.c1949 ktime_t best_time = KTIME_MAX; in cake_dequeue()
/Linux-v5.4/drivers/watchdog/
Dwatchdog_dev.c97 ktime_get() + ktime_set(open_timeout, 0) : KTIME_MAX; in watchdog_set_open_deadline()
851 wd_data->open_deadline = KTIME_MAX; in watchdog_open()
/Linux-v5.4/kernel/rcu/
Dtree_plugin.h1239 *nextevt = KTIME_MAX; in rcu_needs_cpu()
1345 *nextevt = KTIME_MAX; in rcu_needs_cpu()
/Linux-v5.4/kernel/
Dsignal.c3435 ktime_t *to = NULL, timeout = KTIME_MAX; in do_sigtimedwait()