Home
last modified time | relevance | path

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

/kernel/time/
Dtick-sched.c781 hrtimer_cancel(&ts->sched_timer); in tick_nohz_restart()
782 hrtimer_set_expires(&ts->sched_timer, ts->last_tick); in tick_nohz_restart()
785 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_restart()
788 hrtimer_start_expires(&ts->sched_timer, in tick_nohz_restart()
791 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_restart()
921 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
927 hrtimer_active(&ts->sched_timer), hrtimer_get_expires(&ts->sched_timer)); in tick_nohz_stop_tick()
941 ts->last_tick = hrtimer_get_expires(&ts->sched_timer); in tick_nohz_stop_tick()
954 hrtimer_cancel(&ts->sched_timer); in tick_nohz_stop_tick()
961 hrtimer_start(&ts->sched_timer, tick, in tick_nohz_stop_tick()
[all …]
Dtick-sched.h70 struct hrtimer sched_timer; member