Home
last modified time | relevance | path

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

12

/linux/kernel/time/
H A Dtimer_migration.c605 WRITE_ONCE(group->next_expiry, KTIME_MAX); in tmigr_next_groupevt()
655 return KTIME_MAX; in tmigr_next_groupevt_expires()
720 WRITE_ONCE(tmc->wakeup, KTIME_MAX); in __tmigr_cpu_activate()
792 ignore = (nextexp == KTIME_MAX) ? true : false; in tmigr_update_events()
845 WRITE_ONCE(group->next_expiry, KTIME_MAX); in tmigr_update_events()
922 .firstexp = KTIME_MAX, in tmigr_new_timer()
928 return KTIME_MAX; in tmigr_new_timer()
976 WRITE_ONCE(tmc->wakeup, KTIME_MAX); in tmigr_handle_remote_cpu()
1024 data.firstexp = KTIME_MAX; in tmigr_handle_remote_cpu()
1105 data.firstexp = KTIME_MAX; in tmigr_handle_remote()
[all …]
H A Dhrtimer.c583 ktime_t expires_next = KTIME_MAX; in __hrtimer_get_next_event()
589 active, KTIME_MAX); in __hrtimer_get_next_event()
606 ktime_t expires_next, soft = KTIME_MAX; in hrtimer_update_next_event()
1208 if (expires == KTIME_MAX) in hrtimer_update_softirq_timer()
1528 u64 expires = KTIME_MAX; in hrtimer_get_next_event()
1551 u64 expires = KTIME_MAX; in hrtimer_next_event_without()
1562 active, KTIME_MAX); in hrtimer_next_event_without()
1890 dev->next_event = KTIME_MAX; in hrtimer_interrupt()
1903 cpu_base->expires_next = KTIME_MAX; in hrtimer_interrupt()
1906 cpu_base->softirq_expires_next = KTIME_MAX; in hrtimer_interrupt()
[all …]
H A Dtick-oneshot.c31 if (unlikely(expires == KTIME_MAX)) { in tick_program_event()
36 dev->next_event = KTIME_MAX; in tick_program_event()
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.c986 delta = KTIME_MAX; in tick_nohz_next_event()
989 if (delta < (KTIME_MAX - basemono)) in tick_nohz_next_event()
992 expires = KTIME_MAX; in tick_nohz_next_event()
1055 if (expires == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
1086 if (unlikely(expires == KTIME_MAX)) { in tick_nohz_stop_tick()
1090 tick_program_event(KTIME_MAX, 1); in tick_nohz_stop_tick()
1515 dev->next_event = KTIME_MAX; in tick_nohz_lowres_handler()
H A Dtick-broadcast-hrtimer.c86 .max_delta_ns = KTIME_MAX,
H A Dnamespace.c53 if (unlikely(tim > KTIME_MAX)) in do_timens_ktime_to_host()
54 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.c2063 tevt->local = tevt->global = KTIME_MAX; in fetch_next_timer_interrupt_remote()
2186 struct timer_events tevt = { .local = KTIME_MAX, .global = KTIME_MAX }; in __get_next_timer_interrupt()
2310 return KTIME_MAX; in timer_base_try_to_set_idle()
/linux/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/drivers/pmdomain/
H A Dgovernor.c128 ktime_t domain_wakeup = KTIME_MAX; in update_domain_next_wakeup()
146 if (next_wakeup != KTIME_MAX && !ktime_before(next_wakeup, now)) in update_domain_next_wakeup()
154 next_wakeup = cgd ? cgd->next_wakeup : KTIME_MAX; in update_domain_next_wakeup()
155 if (next_wakeup != KTIME_MAX && !ktime_before(next_wakeup, now)) in update_domain_next_wakeup()
284 if ((genpd->flags & GENPD_FLAG_MIN_RESIDENCY) && (gd->next_wakeup != KTIME_MAX)) { in _default_power_down_ok()
/linux/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/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/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/io_uring/
H A Dwait.c75 if (iowq->timeout == KTIME_MAX || in io_cqring_min_timer_wakeup()
156 if (iowq->timeout != KTIME_MAX || iowq->min_timeout) in __io_cqring_wait_schedule()
227 iowq.timeout = KTIME_MAX; in io_cqring_wait()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c373 ct->stall_time = KTIME_MAX; in intel_guc_ct_enable()
655 if (ct->stall_time == KTIME_MAX) in has_room_nb()
668 ct->stall_time = KTIME_MAX; in has_room_nb()
743 if (ct->stall_time == KTIME_MAX) in ct_send()
757 ct->stall_time = KTIME_MAX; in ct_send()
/linux/drivers/virtio/
H A Dvirtio_rtc_ptp.c103 max_ns = (u64)ktime_to_ns(KTIME_MAX); in viortc_ptp_do_xtstamp()
/linux/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/drivers/cpuidle/governors/
H A Dteo.c339 cpu_data->sleep_length_ns = KTIME_MAX; in teo_select()
H A Dmenu.c279 data->next_timer_ns = KTIME_MAX; in menu_select()
/linux/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/net/sched/
H A Dact_gate.c32 return KTIME_MAX; in gate_get_time()
64 expires = KTIME_MAX; in gate_start_timer()

12