Lines Matching refs:period_left
4031 if (local64_read(&hwc->period_left) > 8*sample_period) { in perf_adjust_period()
4035 local64_set(&hwc->period_left, 0); in perf_adjust_period()
5533 local64_set(&event->hw.period_left, 0); in __perf_event_period()
9256 old = val = local64_read(&hwc->period_left); in perf_swevent_set_period()
9263 if (local64_cmpxchg(&hwc->period_left, old, val) != old) in perf_swevent_set_period()
9318 if (local64_add_negative(nr, &hwc->period_left)) in perf_swevent_event()
10618 period = local64_read(&hwc->period_left); in perf_swevent_start_hrtimer()
10623 local64_set(&hwc->period_left, 0); in perf_swevent_start_hrtimer()
10637 local64_set(&hwc->period_left, ktime_to_ns(remaining)); in perf_swevent_cancel_hrtimer()
10662 local64_set(&hwc->period_left, hwc->sample_period); in perf_swevent_init_hrtimer()
11595 local64_set(&hwc->period_left, hwc->sample_period); in perf_event_alloc()
12990 local64_set(&hwc->period_left, sample_period); in inherit_event()