Lines Matching refs:current_idx
105 int current_idx[MAX_HWEVENTS]; member
930 if (cpuc->current_idx[i] != PIC_NO_INDEX && in read_in_all_counters()
931 cpuc->current_idx[i] != cp->hw.idx) { in read_in_all_counters()
933 cpuc->current_idx[i]); in read_in_all_counters()
934 cpuc->current_idx[i] = PIC_NO_INDEX; in read_in_all_counters()
961 if (cpuc->current_idx[i] != PIC_NO_INDEX) in calculate_single_pcr()
965 cpuc->current_idx[i] = idx; in calculate_single_pcr()
995 if (cpuc->current_idx[i] != PIC_NO_INDEX) in calculate_multiple_pcrs()
998 cpuc->current_idx[i] = idx; in calculate_multiple_pcrs()
1078 return cpuc->current_idx[i]; in active_event_index()
1135 cpuc->current_idx[i - 1] = in sparc_pmu_del()
1136 cpuc->current_idx[i]; in sparc_pmu_del()
1347 int *current_idx) in collect_events() argument
1357 current_idx[n++] = PIC_NO_INDEX; in collect_events()
1366 current_idx[n++] = PIC_NO_INDEX; in collect_events()
1386 cpuc->current_idx[n0] = PIC_NO_INDEX; in sparc_pmu_add()
1654 int idx = cpuc->current_idx[i]; in perf_event_nmi_handler()