Lines Matching refs:sched_timer
784 hrtimer_cancel(&ts->sched_timer); in tick_nohz_restart()
785 hrtimer_set_expires(&ts->sched_timer, ts->last_tick); in tick_nohz_restart()
788 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_restart()
791 hrtimer_start_expires(&ts->sched_timer, in tick_nohz_restart()
794 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_restart()
920 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
926 hrtimer_active(&ts->sched_timer), hrtimer_get_expires(&ts->sched_timer)); in tick_nohz_stop_tick()
940 ts->last_tick = hrtimer_get_expires(&ts->sched_timer); in tick_nohz_stop_tick()
953 hrtimer_cancel(&ts->sched_timer); in tick_nohz_stop_tick()
960 hrtimer_start(&ts->sched_timer, tick, in tick_nohz_stop_tick()
963 hrtimer_set_expires(&ts->sched_timer, tick); in tick_nohz_stop_tick()
1271 hrtimer_next_event_without(&ts->sched_timer)); in tick_nohz_get_sleep_length()
1404 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_handler()
1405 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_handler()
1436 hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in tick_nohz_switch_to_nohz()
1440 hrtimer_set_expires(&ts->sched_timer, next); in tick_nohz_switch_to_nohz()
1441 hrtimer_forward_now(&ts->sched_timer, TICK_NSEC); in tick_nohz_switch_to_nohz()
1442 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_switch_to_nohz()
1495 container_of(timer, struct tick_sched, sched_timer); in tick_sched_timer()
1540 hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in tick_setup_sched_timer()
1541 ts->sched_timer.function = tick_sched_timer; in tick_setup_sched_timer()
1544 hrtimer_set_expires(&ts->sched_timer, tick_init_jiffy_update()); in tick_setup_sched_timer()
1551 hrtimer_add_expires_ns(&ts->sched_timer, offset); in tick_setup_sched_timer()
1554 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_setup_sched_timer()
1555 hrtimer_start_expires(&ts->sched_timer, HRTIMER_MODE_ABS_PINNED_HARD); in tick_setup_sched_timer()
1568 if (ts->sched_timer.base) in tick_cancel_sched_timer()
1569 hrtimer_cancel(&ts->sched_timer); in tick_cancel_sched_timer()