Home
last modified time | relevance | path

Searched refs:sched_timer (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/kernel/time/
Dtick-sched.c760 hrtimer_cancel(&ts->sched_timer); in tick_nohz_restart()
761 hrtimer_set_expires(&ts->sched_timer, ts->last_tick); in tick_nohz_restart()
764 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_restart()
767 hrtimer_start_expires(&ts->sched_timer, in tick_nohz_restart()
770 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_restart()
896 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
902 hrtimer_active(&ts->sched_timer), hrtimer_get_expires(&ts->sched_timer)); in tick_nohz_stop_tick()
916 ts->last_tick = hrtimer_get_expires(&ts->sched_timer); in tick_nohz_stop_tick()
929 hrtimer_cancel(&ts->sched_timer); in tick_nohz_stop_tick()
936 hrtimer_start(&ts->sched_timer, tick, in tick_nohz_stop_tick()
[all …]
Dtick-sched.h56 struct hrtimer sched_timer; member
/linux-6.1.9/drivers/clocksource/
Ddw_apb_timer_of.c154 struct device_node *sched_timer; in init_sched_clock() local
156 sched_timer = of_find_matching_node(NULL, sptimer_ids); in init_sched_clock()
157 if (sched_timer) { in init_sched_clock()
158 timer_get_base_and_rate(sched_timer, &sched_io_base, in init_sched_clock()
160 of_node_put(sched_timer); in init_sched_clock()