Home
last modified time | relevance | path

Searched refs:KTIME_MAX (Results 1 - 25 of 60) sorted by relevance

123

/kernel/linux/linux-6.6/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)
134 return KTIME_MAX; in timespec64_to_ns()
H A Dktime.h41 return KTIME_MAX; in ktime_set()
/kernel/linux/linux-5.10/include/linux/
H A Dtime64.h27 #define KTIME_MAX ((s64)~((u64)1 << 63)) macro
28 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
129 return KTIME_MAX; in timespec64_to_ns()
H A Drcutiny.h73 *nextevt = KTIME_MAX; in rcu_needs_cpu()
H A Dktime.h41 return KTIME_MAX; in ktime_set()
/kernel/linux/linux-6.6/drivers/base/power/
H A Ddomain_governor.c125 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()
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
H A Dset-2038.c34 #define KTIME_MAX ((long long)~((unsigned long long)1 << 63)) macro
35 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
/kernel/linux/linux-5.10/kernel/time/
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 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()
H A Dtick-sched.c811 delta = KTIME_MAX; in tick_nohz_next_event()
814 if (delta < (KTIME_MAX - basemono)) in tick_nohz_next_event()
817 expires = KTIME_MAX; in tick_nohz_next_event()
853 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
881 * If the expiration time == KTIME_MAX, then we simply stop in tick_nohz_stop_tick()
884 if (unlikely(expires == KTIME_MAX)) { in tick_nohz_stop_tick()
888 tick_program_event(KTIME_MAX, 1); in tick_nohz_stop_tick()
1274 dev->next_event = KTIME_MAX; in tick_nohz_handler()
1285 tick_program_event(KTIME_MAX, 1); in tick_nohz_handler()
H A Dhrtimer.c573 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()
1117 if (expires == KTIME_MAX) in hrtimer_update_softirq_timer()
1398 * Returns the next expiry time or KTIME_MAX if no timer is pending.
1403 u64 expires = KTIME_MAX; in hrtimer_get_next_event()
1421 * KTIME_MAX if none of them is pending.
1426 u64 expires = KTIME_MAX; in hrtimer_next_event_without()
1437 active, KTIME_MAX); in hrtimer_next_event_without()
1715 dev->next_event = KTIME_MAX; in hrtimer_interrupt()
[all...]
H A Dtick-broadcast-hrtimer.c91 .max_delta_ns = KTIME_MAX,
H A Dnamespace.c41 * Check that @tim value is in [offset, KTIME_MAX + offset] in do_timens_ktime_to_host()
52 if (unlikely(tim > KTIME_MAX)) in do_timens_ktime_to_host()
53 tim = KTIME_MAX; in do_timens_ktime_to_host()
408 * KTIME_SEC_MAX is divided by 2 to be sure that KTIME_MAX is in proc_timens_set_offset()
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
H A Dset-2038.c34 #define KTIME_MAX ((long long)~((unsigned long long)1 << 63)) macro
35 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
/kernel/linux/linux-6.6/kernel/time/
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.c575 ktime_t expires_next = KTIME_MAX; in __hrtimer_get_next_event()
581 active, KTIME_MAX); in __hrtimer_get_next_event()
598 ktime_t expires_next, soft = KTIME_MAX; in hrtimer_update_next_event()
1206 if (expires == KTIME_MAX) in hrtimer_update_softirq_timer()
1481 * Returns the next expiry time or KTIME_MAX if no timer is pending.
1486 u64 expires = KTIME_MAX; in hrtimer_get_next_event()
1504 * KTIME_MAX if none of them is pending.
1509 u64 expires = KTIME_MAX; in hrtimer_next_event_without()
1520 active, KTIME_MAX); in hrtimer_next_event_without()
1794 dev->next_event = KTIME_MAX; in hrtimer_interrupt()
[all...]
H A Dtick-sched.c870 delta = KTIME_MAX; in tick_nohz_next_event()
873 if (delta < (KTIME_MAX - basemono)) in tick_nohz_next_event()
876 expires = KTIME_MAX; in tick_nohz_next_event()
912 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
940 * If the expiration time == KTIME_MAX, then we simply stop in tick_nohz_stop_tick()
943 if (unlikely(expires == KTIME_MAX)) { in tick_nohz_stop_tick()
947 tick_program_event(KTIME_MAX, 1); in tick_nohz_stop_tick()
1375 dev->next_event = KTIME_MAX; in tick_nohz_handler()
1386 tick_program_event(KTIME_MAX, 1); in tick_nohz_handler()
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()
1064 bc->next_event = KTIME_MAX; in tick_broadcast_setup_oneshot()
H A Dtick-broadcast-hrtimer.c86 .max_delta_ns = KTIME_MAX,
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/ceph/
H A Dmetric.c176 m->read_latency_min = KTIME_MAX; in ceph_metric_init()
183 m->write_latency_min = KTIME_MAX; in ceph_metric_init()
190 m->metadata_latency_min = KTIME_MAX; in ceph_metric_init()
/kernel/linux/linux-6.6/drivers/cpuidle/governors/
H A Dteo.c403 cpu_data->sleep_length_ns = KTIME_MAX; in teo_select()
570 i = teo_find_shallower_state(drv, dev, idx, KTIME_MAX, true); in teo_select()
H A Dmenu.c309 data->next_timer_ns = KTIME_MAX; in menu_select()
311 data->bucket = which_bucket(KTIME_MAX, nr_iowaiters); in menu_select()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c348 ct->stall_time = KTIME_MAX; in intel_guc_ct_enable()
630 if (ct->stall_time == KTIME_MAX) in has_room_nb()
643 ct->stall_time = KTIME_MAX; in has_room_nb()
718 if (ct->stall_time == KTIME_MAX) in ct_send()
732 ct->stall_time = KTIME_MAX; in ct_send()

Completed in 23 milliseconds

123