Home
last modified time | relevance | path

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

/kernel/time/
Dtick-sched.c681 hrtimer_cancel(&ts->sched_timer); in tick_nohz_restart()
682 hrtimer_set_expires(&ts->sched_timer, ts->last_tick); in tick_nohz_restart()
685 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_restart()
688 hrtimer_start_expires(&ts->sched_timer, in tick_nohz_restart()
691 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_restart()
819 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
825 hrtimer_active(&ts->sched_timer), hrtimer_get_expires(&ts->sched_timer)); in tick_nohz_stop_tick()
839 ts->last_tick = hrtimer_get_expires(&ts->sched_timer); in tick_nohz_stop_tick()
852 hrtimer_cancel(&ts->sched_timer); in tick_nohz_stop_tick()
857 hrtimer_start(&ts->sched_timer, tick, in tick_nohz_stop_tick()
[all …]
Dtick-sched.h54 struct hrtimer sched_timer; member