Lines Matching refs:cpuc
919 struct cpu_hw_events *cpuc = &__get_cpu_var(cpu_hw_events); in p4_pmu_disable_all() local
923 struct perf_event *event = cpuc->events[idx]; in p4_pmu_disable_all()
924 if (!test_bit(idx, cpuc->active_mask)) in p4_pmu_disable_all()
988 struct cpu_hw_events *cpuc = &__get_cpu_var(cpu_hw_events); in p4_pmu_enable_all() local
992 struct perf_event *event = cpuc->events[idx]; in p4_pmu_enable_all()
993 if (!test_bit(idx, cpuc->active_mask)) in p4_pmu_enable_all()
1002 struct cpu_hw_events *cpuc; in p4_pmu_handle_irq() local
1010 cpuc = &__get_cpu_var(cpu_hw_events); in p4_pmu_handle_irq()
1015 if (!test_bit(idx, cpuc->active_mask)) { in p4_pmu_handle_irq()
1017 if (__test_and_clear_bit(idx, cpuc->running)) in p4_pmu_handle_irq()
1022 event = cpuc->events[idx]; in p4_pmu_handle_irq()
1207 static int p4_pmu_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign) in p4_pmu_schedule_events() argument
1224 hwc = &cpuc->event_list[i]->hw; in p4_pmu_schedule_events()