Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/time/
Dtick-sched.c776 hrtimer_cancel(&ts->sched_timer); in tick_nohz_restart()
777 hrtimer_set_expires(&ts->sched_timer, ts->last_tick); in tick_nohz_restart()
780 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_restart()
783 hrtimer_start_expires(&ts->sched_timer, in tick_nohz_restart()
786 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_restart()
912 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
918 hrtimer_active(&ts->sched_timer), hrtimer_get_expires(&ts->sched_timer)); in tick_nohz_stop_tick()
932 ts->last_tick = hrtimer_get_expires(&ts->sched_timer); in tick_nohz_stop_tick()
945 hrtimer_cancel(&ts->sched_timer); in tick_nohz_stop_tick()
952 hrtimer_start(&ts->sched_timer, tick, in tick_nohz_stop_tick()
[all …]
Dtick-sched.h71 struct hrtimer sched_timer; member
/linux-6.6.21/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()