/linux-6.3-rc2/include/linux/ |
A D | time64.h | 30 #define KTIME_MAX ((s64)~((u64)1 << 63)) macro 31 #define KTIME_MIN (-KTIME_MAX - 1) 32 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC) 134 return KTIME_MAX; in timespec64_to_ns()
|
A D | ktime.h | 41 return KTIME_MAX; in ktime_set()
|
A D | pm_domain.h | 303 return KTIME_MAX; in dev_pm_genpd_get_next_hrtimer()
|
A D | wait.h | 547 if ((timeout) != KTIME_MAX) { \
|
/linux-6.3-rc2/drivers/base/power/ |
A D | domain_governor.c | 125 ktime_t domain_wakeup = KTIME_MAX; in update_domain_next_wakeup() 143 if (next_wakeup != KTIME_MAX && !ktime_before(next_wakeup, now)) in update_domain_next_wakeup() 151 next_wakeup = cgd ? cgd->next_wakeup : KTIME_MAX; in update_domain_next_wakeup() 152 if (next_wakeup != KTIME_MAX && !ktime_before(next_wakeup, now)) in update_domain_next_wakeup() 279 if ((genpd->flags & GENPD_FLAG_MIN_RESIDENCY) && (gd->next_wakeup != KTIME_MAX)) { in _default_power_down_ok()
|
A D | domain.c | 510 return KTIME_MAX; in dev_pm_genpd_get_next_hrtimer() 515 return KTIME_MAX; in dev_pm_genpd_get_next_hrtimer() 1537 td->next_wakeup = KTIME_MAX; in genpd_alloc_dev_data() 2001 gd->next_wakeup = KTIME_MAX; in genpd_alloc_data() 2002 gd->next_hrtimer = KTIME_MAX; in genpd_alloc_data()
|
/linux-6.3-rc2/tools/testing/selftests/timers/ |
A D | set-2038.c | 34 #define KTIME_MAX ((long long)~((unsigned long long)1 << 63)) macro 35 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
|
/linux-6.3-rc2/kernel/time/ |
A D | tick-oneshot.c | 27 if (unlikely(expires == KTIME_MAX)) { in tick_program_event() 32 dev->next_event = KTIME_MAX; in tick_program_event()
|
A D | hrtimer.c | 573 ktime_t expires_next = KTIME_MAX; in __hrtimer_get_next_event() 579 active, KTIME_MAX); in __hrtimer_get_next_event() 596 ktime_t expires_next, soft = KTIME_MAX; in hrtimer_update_next_event() 1202 if (expires == KTIME_MAX) in hrtimer_update_softirq_timer() 1482 u64 expires = KTIME_MAX; in hrtimer_get_next_event() 1505 u64 expires = KTIME_MAX; in hrtimer_next_event_without() 1516 active, KTIME_MAX); in hrtimer_next_event_without() 1790 dev->next_event = KTIME_MAX; in hrtimer_interrupt() 1803 cpu_base->expires_next = KTIME_MAX; in hrtimer_interrupt() 2181 cpu_base->expires_next = KTIME_MAX; in hrtimers_prepare_cpu() [all …]
|
A D | tick-sched.c | 854 delta = KTIME_MAX; in tick_nohz_next_event() 857 if (delta < (KTIME_MAX - basemono)) in tick_nohz_next_event() 860 expires = KTIME_MAX; in tick_nohz_next_event() 896 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick() 927 if (unlikely(expires == KTIME_MAX)) { in tick_nohz_stop_tick() 931 tick_program_event(KTIME_MAX, 1); in tick_nohz_stop_tick() 1363 dev->next_event = KTIME_MAX; in tick_nohz_handler() 1374 tick_program_event(KTIME_MAX, 1); in tick_nohz_handler()
|
A D | tick-broadcast.c | 697 dev->next_event = KTIME_MAX; in tick_handle_oneshot_broadcast() 698 next_event = KTIME_MAX; in tick_handle_oneshot_broadcast() 758 if (next_event != KTIME_MAX) in tick_handle_oneshot_broadcast() 773 if (bc->next_event == KTIME_MAX) in broadcast_needs_cpu() 882 if (dev->next_event == KTIME_MAX) in ___tick_broadcast_oneshot_control() 1054 bc->next_event = KTIME_MAX; in tick_broadcast_setup_oneshot()
|
A D | tick-broadcast-hrtimer.c | 86 .max_delta_ns = KTIME_MAX,
|
A D | namespace.c | 52 if (unlikely(tim > KTIME_MAX)) in do_timens_ktime_to_host() 53 tim = KTIME_MAX; in do_timens_ktime_to_host()
|
A D | clockevents.c | 174 dev->next_event = KTIME_MAX; in clockevents_shutdown() 208 dev->next_event = KTIME_MAX; in clockevents_increase_min_delta()
|
A D | ntp.c | 386 ret = KTIME_MAX; in ntp_get_next_leap()
|
/linux-6.3-rc2/drivers/platform/surface/aggregator/ |
A D | ssh_request_layer.c | 814 if (timestamp != KTIME_MAX) in ssh_request_get_expiration() 817 return KTIME_MAX; in ssh_request_get_expiration() 827 ktime_t next = KTIME_MAX; in ssh_rtl_timeout_reap() 836 rtl->rtx_timeout.expires = KTIME_MAX; in ssh_rtl_timeout_reap() 892 if (next != KTIME_MAX) in ssh_rtl_timeout_reap() 1006 rqst->timestamp = KTIME_MAX; in ssh_request_init() 1048 rtl->rtx_timeout.expires = KTIME_MAX; in ssh_rtl_init()
|
A D | ssh_packet_layer.c | 583 packet->timestamp = KTIME_MAX; in ssh_packet_init() 1392 packet->timestamp = KTIME_MAX; in __ssh_ptl_resubmit() 1494 if (p->timestamp != KTIME_MAX) in ssh_packet_get_expiration() 1497 return KTIME_MAX; in ssh_packet_get_expiration() 1507 ktime_t next = KTIME_MAX; in ssh_ptl_timeout_reap() 1518 ptl->rtx_timeout.expires = KTIME_MAX; in ssh_ptl_timeout_reap() 1592 if (next != KTIME_MAX) in ssh_ptl_timeout_reap() 2052 ptl->rtx_timeout.expires = KTIME_MAX; in ssh_ptl_init()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_guc_ct.c | 321 ct->stall_time = KTIME_MAX; in intel_guc_ct_enable() 572 if (ct->stall_time == KTIME_MAX) in has_room_nb() 585 ct->stall_time = KTIME_MAX; in has_room_nb() 660 if (ct->stall_time == KTIME_MAX) in ct_send() 674 ct->stall_time = KTIME_MAX; in ct_send()
|
/linux-6.3-rc2/fs/ |
A D | timerfd.c | 109 ctx->moffs = KTIME_MAX; in timerfd_clock_was_set() 153 if (!ctx->might_cancel || ctx->moffs != KTIME_MAX) in timerfd_canceled()
|
/linux-6.3-rc2/net/sched/ |
A D | act_gate.c | 32 return KTIME_MAX; in gate_get_time() 61 expires = KTIME_MAX; in gate_start_timer()
|
A D | sch_taprio.c | 161 return KTIME_MAX; in sched_base_time() 321 ktime_t earliest_txtime = KTIME_MAX, txtime, cycle, transmit_end_time; in find_entry_to_transmit() 965 next->gate_close_time[tc] = KTIME_MAX; in advance_sched() 1246 first->gate_close_time[tc] = KTIME_MAX; in setup_first_end_time() 1265 expires = KTIME_MAX; in taprio_start_sched()
|
/linux-6.3-rc2/io_uring/ |
A D | cancel.c | 240 ktime_t timeout = KTIME_MAX; in io_sync_cancel()
|
/linux-6.3-rc2/drivers/watchdog/ |
A D | watchdog_dev.c | 73 ktime_get() + ktime_set(open_timeout, 0) : KTIME_MAX; in watchdog_set_open_deadline() 909 wd_data->open_deadline = KTIME_MAX; in watchdog_open()
|
/linux-6.3-rc2/fs/ceph/ |
A D | metric.c | 263 metric->latency_min = KTIME_MAX; in ceph_metric_init()
|
A D | debugfs.c | 133 _min = ktime_to_us(min == KTIME_MAX ? 0 : min); \
|