Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_uncore.h14 #define UNCORE_PMC_IDX_MAX (UNCORE_PMC_IDX_FIXED + 1) macro
98 struct perf_event *events[UNCORE_PMC_IDX_MAX];
99 struct perf_event *event_list[UNCORE_PMC_IDX_MAX];
100 struct event_constraint *event_constraint[UNCORE_PMC_IDX_MAX];
101 unsigned long active_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)];
102 u64 tags[UNCORE_PMC_IDX_MAX];
Dperf_event_intel_uncore.c225 for_each_set_bit(bit, box->active_mask, UNCORE_PMC_IDX_MAX) in uncore_pmu_hrtimer()
360 unsigned long used_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)]; in uncore_assign_events()
365 bitmap_zero(used_mask, UNCORE_PMC_IDX_MAX); in uncore_assign_events()
367 for (i = 0, wmin = UNCORE_PMC_IDX_MAX, wmax = 0; i < n; i++) { in uncore_assign_events()
415 if (WARN_ON_ONCE(idx == -1 || idx >= UNCORE_PMC_IDX_MAX)) in uncore_pmu_event_start()
464 int assign[UNCORE_PMC_IDX_MAX]; in uncore_pmu_event_add()