Home
last modified time | relevance | path

Searched refs:UNCORE_PMC_IDX_MAX (Results 1 – 2 of 2) sorted by relevance

/linux/arch/x86/events/intel/
H A Duncore.h22 #define UNCORE_PMC_IDX_MAX (UNCORE_PMC_IDX_FREERUNNING + \ macro
149 struct perf_event *events[UNCORE_PMC_IDX_MAX];
150 struct perf_event *event_list[UNCORE_PMC_IDX_MAX];
151 struct event_constraint *event_constraint[UNCORE_PMC_IDX_MAX];
152 unsigned long active_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)];
153 u64 tags[UNCORE_PMC_IDX_MAX];
H A Duncore.c328 for_each_set_bit(bit, box->active_mask, UNCORE_PMC_IDX_MAX) in uncore_pmu_hrtimer()
464 unsigned long used_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)]; in uncore_assign_events()
469 bitmap_zero(used_mask, UNCORE_PMC_IDX_MAX); in uncore_assign_events()
471 for (i = 0, wmin = UNCORE_PMC_IDX_MAX, wmax = 0; i < n; i++) { in uncore_assign_events()
516 if (WARN_ON_ONCE(idx == -1 || idx >= UNCORE_PMC_IDX_MAX)) in uncore_pmu_event_start()
588 int assign[UNCORE_PMC_IDX_MAX]; in uncore_pmu_event_add()