Lines Matching refs:hrtimer
35 static DEFINE_PER_CPU(struct hrtimer, watchdog_hrtimer);
108 * the divide by 5 is to give hrtimer 5 chances to
258 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer)
271 hrtimer_forward_now(hrtimer, ns_to_ktime(get_sample_period()));
324 struct hrtimer *hrtimer = &__raw_get_cpu_var(watchdog_hrtimer);
333 hrtimer_start(hrtimer, ns_to_ktime(get_sample_period()),
414 struct hrtimer *hrtimer = &per_cpu(watchdog_hrtimer, cpu);
417 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
418 hrtimer->function = watchdog_timer_fn;
450 struct hrtimer *hrtimer = &per_cpu(watchdog_hrtimer, cpu);
456 hrtimer_cancel(hrtimer);