Lines Matching refs:hrtimer
1070 static enum hrtimer_restart perf_mux_hrtimer_handler(struct hrtimer *hr) in perf_mux_hrtimer_handler()
1077 cpuctx = container_of(hr, struct perf_cpu_context, hrtimer); in perf_mux_hrtimer_handler()
1092 struct hrtimer *timer = &cpuctx->hrtimer; in __perf_mux_hrtimer_init()
1117 struct hrtimer *timer = &cpuctx->hrtimer; in perf_mux_hrtimer_restart()
10797 static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer) in perf_swevent_hrtimer() argument
10805 event = container_of(hrtimer, struct perf_event, hw.hrtimer); in perf_swevent_hrtimer()
10822 hrtimer_forward_now(hrtimer, ns_to_ktime(period)); in perf_swevent_hrtimer()
10844 hrtimer_start(&hwc->hrtimer, ns_to_ktime(period), in perf_swevent_start_hrtimer()
10853 ktime_t remaining = hrtimer_get_remaining(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
10856 hrtimer_cancel(&hwc->hrtimer); in perf_swevent_cancel_hrtimer()
10867 hrtimer_init(&hwc->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD); in perf_swevent_init_hrtimer()
10868 hwc->hrtimer.function = perf_swevent_hrtimer; in perf_swevent_init_hrtimer()