Lines Matching refs:sched_timer

744 	hrtimer_cancel(&ts->sched_timer);  in tick_nohz_restart()
745 hrtimer_set_expires(&ts->sched_timer, ts->last_tick); in tick_nohz_restart()
748 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_restart()
751 hrtimer_start_expires(&ts->sched_timer, in tick_nohz_restart()
754 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_restart()
882 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
888 hrtimer_active(&ts->sched_timer), hrtimer_get_expires(&ts->sched_timer)); in tick_nohz_stop_tick()
902 ts->last_tick = hrtimer_get_expires(&ts->sched_timer); in tick_nohz_stop_tick()
915 hrtimer_cancel(&ts->sched_timer); in tick_nohz_stop_tick()
920 hrtimer_start(&ts->sched_timer, tick, in tick_nohz_stop_tick()
923 hrtimer_set_expires(&ts->sched_timer, tick); in tick_nohz_stop_tick()
1201 hrtimer_next_event_without(&ts->sched_timer)); in tick_nohz_get_sleep_length()
1326 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_nohz_handler()
1327 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_handler()
1358 hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in tick_nohz_switch_to_nohz()
1362 hrtimer_set_expires(&ts->sched_timer, next); in tick_nohz_switch_to_nohz()
1363 hrtimer_forward_now(&ts->sched_timer, TICK_NSEC); in tick_nohz_switch_to_nohz()
1364 tick_program_event(hrtimer_get_expires(&ts->sched_timer), 1); in tick_nohz_switch_to_nohz()
1417 container_of(timer, struct tick_sched, sched_timer); in tick_sched_timer()
1462 hrtimer_init(&ts->sched_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in tick_setup_sched_timer()
1463 ts->sched_timer.function = tick_sched_timer; in tick_setup_sched_timer()
1466 hrtimer_set_expires(&ts->sched_timer, tick_init_jiffy_update()); in tick_setup_sched_timer()
1473 hrtimer_add_expires_ns(&ts->sched_timer, offset); in tick_setup_sched_timer()
1476 hrtimer_forward(&ts->sched_timer, now, TICK_NSEC); in tick_setup_sched_timer()
1477 hrtimer_start_expires(&ts->sched_timer, HRTIMER_MODE_ABS_PINNED_HARD); in tick_setup_sched_timer()
1488 if (ts->sched_timer.base) in tick_cancel_sched_timer()
1489 hrtimer_cancel(&ts->sched_timer); in tick_cancel_sched_timer()