Home
last modified time | relevance | path

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

12

/linux-6.15/kernel/time/
H A Dtimer_migration.c617 return KTIME_MAX; in tmigr_next_groupevt_expires()
884 .firstexp = KTIME_MAX, in tmigr_new_timer()
890 return KTIME_MAX; in tmigr_new_timer()
986 data.firstexp = KTIME_MAX; in tmigr_handle_remote_cpu()
1067 data.firstexp = KTIME_MAX; in tmigr_handle_remote()
1168 data.firstexp = KTIME_MAX; in tmigr_requires_handle_remote()
1228 if (nextexp != KTIME_MAX) { in tmigr_cpu_new_timer()
1333 if (nextexp != KTIME_MAX) in __tmigr_cpu_deactivate()
1405 return KTIME_MAX; in tmigr_quick_check()
1409 return KTIME_MAX; in tmigr_quick_check()
[all …]
H A Dtick-oneshot.c27 if (unlikely(expires == KTIME_MAX)) { in tick_program_event()
32 dev->next_event = KTIME_MAX; in tick_program_event()
H A Dhrtimer.c582 ktime_t expires_next = KTIME_MAX; in __hrtimer_get_next_event()
588 active, KTIME_MAX); in __hrtimer_get_next_event()
605 ktime_t expires_next, soft = KTIME_MAX; in hrtimer_update_next_event()
1207 if (expires == KTIME_MAX) in hrtimer_update_softirq_timer()
1527 u64 expires = KTIME_MAX; in hrtimer_get_next_event()
1550 u64 expires = KTIME_MAX; in hrtimer_next_event_without()
1561 active, KTIME_MAX); in hrtimer_next_event_without()
1866 dev->next_event = KTIME_MAX; in hrtimer_interrupt()
1879 cpu_base->expires_next = KTIME_MAX; in hrtimer_interrupt()
2240 cpu_base->expires_next = KTIME_MAX; in hrtimers_cpu_starting()
[all …]
H A Dtick-broadcast.c698 dev->next_event = KTIME_MAX; in tick_handle_oneshot_broadcast()
699 next_event = KTIME_MAX; in tick_handle_oneshot_broadcast()
759 if (next_event != KTIME_MAX) in tick_handle_oneshot_broadcast()
774 if (bc->next_event == KTIME_MAX) in broadcast_needs_cpu()
883 if (dev->next_event == KTIME_MAX) in ___tick_broadcast_oneshot_control()
1066 bc->next_event = KTIME_MAX; in tick_broadcast_setup_oneshot()
H A Dtick-sched.c955 delta = KTIME_MAX; in tick_nohz_next_event()
958 if (delta < (KTIME_MAX - basemono)) in tick_nohz_next_event()
961 expires = KTIME_MAX; in tick_nohz_next_event()
1024 if (expires == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
1055 if (unlikely(expires == KTIME_MAX)) { in tick_nohz_stop_tick()
1059 tick_program_event(KTIME_MAX, 1); in tick_nohz_stop_tick()
1485 dev->next_event = KTIME_MAX; in tick_nohz_lowres_handler()
H A Dtick-broadcast-hrtimer.c86 .max_delta_ns = KTIME_MAX,
H A Dnamespace.c52 if (unlikely(tim > KTIME_MAX)) in do_timens_ktime_to_host()
53 tim = KTIME_MAX; in do_timens_ktime_to_host()
H A Dclockevents.c174 dev->next_event = KTIME_MAX; in clockevents_shutdown()
208 dev->next_event = KTIME_MAX; in clockevents_increase_min_delta()
H A Dtimer.c2104 tevt->local = tevt->global = KTIME_MAX; in fetch_next_timer_interrupt_remote()
2227 struct timer_events tevt = { .local = KTIME_MAX, .global = KTIME_MAX }; in __get_next_timer_interrupt()
2351 return KTIME_MAX; in timer_base_try_to_set_idle()
/linux-6.15/include/linux/
H A Dtime64.h30 #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)
139 return KTIME_MAX; in timespec64_to_ns()
H A Dktime.h39 return KTIME_MAX; in ktime_set()
/linux-6.15/drivers/pmdomain/
H A Dgovernor.c127 ktime_t domain_wakeup = KTIME_MAX; in update_domain_next_wakeup()
145 if (next_wakeup != KTIME_MAX && !ktime_before(next_wakeup, now)) in update_domain_next_wakeup()
153 next_wakeup = cgd ? cgd->next_wakeup : KTIME_MAX; in update_domain_next_wakeup()
154 if (next_wakeup != KTIME_MAX && !ktime_before(next_wakeup, now)) in update_domain_next_wakeup()
283 if ((genpd->flags & GENPD_FLAG_MIN_RESIDENCY) && (gd->next_wakeup != KTIME_MAX)) { in _default_power_down_ok()
/linux-6.15/tools/testing/selftests/timers/
H A Dset-2038.c33 #define KTIME_MAX ((long long)~((unsigned long long)1 << 63)) macro
34 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
/linux-6.15/net/rxrpc/
H A Dcall_event.c167 call->delay_ack_at = KTIME_MAX; in rxrpc_begin_service_reply()
344 call->rack_timo_at = KTIME_MAX; in rxrpc_input_call_event()
360 call->expect_req_by = KTIME_MAX; in rxrpc_input_call_event()
376 call->delay_ack_at = KTIME_MAX; in rxrpc_input_call_event()
384 call->ping_at = KTIME_MAX; in rxrpc_input_call_event()
393 call->keepalive_at = KTIME_MAX; in rxrpc_input_call_event()
H A Dcall_object.c161 call->delay_ack_at = KTIME_MAX; in rxrpc_alloc_call()
162 call->rack_timo_at = KTIME_MAX; in rxrpc_alloc_call()
163 call->ping_at = KTIME_MAX; in rxrpc_alloc_call()
164 call->keepalive_at = KTIME_MAX; in rxrpc_alloc_call()
165 call->expect_rx_by = KTIME_MAX; in rxrpc_alloc_call()
166 call->expect_req_by = KTIME_MAX; in rxrpc_alloc_call()
167 call->expect_term_by = KTIME_MAX; in rxrpc_alloc_call()
/linux-6.15/drivers/platform/surface/aggregator/
H A Dssh_request_layer.c814 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()
H A Dssh_packet_layer.c583 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.15/drivers/cpuidle/governors/
H A Dmenu.c256 data->next_timer_ns = KTIME_MAX; in menu_select()
258 data->bucket = which_bucket(KTIME_MAX); in menu_select()
H A Dteo.c297 cpu_data->sleep_length_ns = KTIME_MAX; in teo_select()
/linux-6.15/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c375 ct->stall_time = KTIME_MAX; in intel_guc_ct_enable()
657 if (ct->stall_time == KTIME_MAX) in has_room_nb()
670 ct->stall_time = KTIME_MAX; in has_room_nb()
745 if (ct->stall_time == KTIME_MAX) in ct_send()
759 ct->stall_time = KTIME_MAX; in ct_send()
/linux-6.15/fs/
H A Dtimerfd.c107 ctx->moffs = KTIME_MAX; in timerfd_clock_was_set()
151 if (!ctx->might_cancel || ctx->moffs != KTIME_MAX) in timerfd_canceled()
/linux-6.15/net/sched/
H A Dact_gate.c32 return KTIME_MAX; in gate_get_time()
61 expires = KTIME_MAX; in gate_start_timer()
H A Dsch_taprio.c168 return KTIME_MAX; in sched_base_time()
328 ktime_t earliest_txtime = KTIME_MAX, txtime, cycle, transmit_end_time; in find_entry_to_transmit()
962 next->gate_close_time[tc] = KTIME_MAX; in advance_sched()
1256 first->gate_close_time[tc] = KTIME_MAX; in setup_first_end_time()
1275 expires = KTIME_MAX; in taprio_start_sched()
/linux-6.15/drivers/thermal/
H A Dthermal_debugfs.c669 trip_stats->timestamp = KTIME_MAX; in tz_episode_close_trip()
831 if (trip_stats->timestamp != KTIME_MAX) { in tze_seq_show()
/linux-6.15/io_uring/
H A Dnapi.c363 if (iowq->timeout != KTIME_MAX) { in __io_napi_busy_loop()

12