Home
last modified time | relevance | path

Searched refs:X86_PMC_IDX_MAX (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/arch/x86/events/
Dperf_event.h49 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
84 struct perf_event *owners[X86_PMC_IDX_MAX];
85 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
159 enum intel_excl_state_type state[X86_PMC_IDX_MAX];
190 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
191 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
192 unsigned long running[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
200 int assign[X86_PMC_IDX_MAX]; /* event to counter assignment */
201 u64 tags[X86_PMC_IDX_MAX];
203 struct perf_event *event_list[X86_PMC_IDX_MAX]; /* in enabled order */
[all …]
Dcore.c696 unsigned long used[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
778 for_each_set_bit_from(idx, c->idxmsk, X86_PMC_IDX_MAX) { in __perf_sched_find_counter()
869 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in x86_schedule_events()
874 bitmap_zero(used_mask, X86_PMC_IDX_MAX); in x86_schedule_events()
890 for (i = 0, wmin = X86_PMC_IDX_MAX, wmax = 0; i < n; i++) { in x86_schedule_events()
1180 static DEFINE_PER_CPU(u64 [X86_PMC_IDX_MAX], pmc_prev_left);
1266 int assign[X86_PMC_IDX_MAX]; in x86_pmu_add()
1934 int assign[X86_PMC_IDX_MAX]; in x86_pmu_commit_txn()
/Linux-v5.4/arch/x86/events/amd/
Dcore.c266 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly;
267 static unsigned int count_offsets[X86_PMC_IDX_MAX] __read_mostly;
663 active = __bitmap_weight(cpuc->active_mask, X86_PMC_IDX_MAX); in amd_pmu_handle_irq()
/Linux-v5.4/arch/x86/include/asm/
Dperf_event.h13 #define X86_PMC_IDX_MAX 64 macro
/Linux-v5.4/arch/x86/events/intel/
Dknc.c242 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq()
Dp4.c1208 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in p4_pmu_schedule_events()
1218 bitmap_zero(used_mask, X86_PMC_IDX_MAX); in p4_pmu_schedule_events()
Dcore.c2401 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in handle_pmi_common()
2979 for_each_set_bit(i, c->idxmsk, X86_PMC_IDX_MAX) { in intel_get_excl_constraints()
3031 bitmap_copy(c1->idxmsk, c2->idxmsk, X86_PMC_IDX_MAX); in intel_get_event_constraints()
3659 size_t sz = X86_PMC_IDX_MAX * sizeof(struct event_constraint); in intel_cpuc_prepare()
/Linux-v5.4/arch/x86/kvm/
Dpmu.c261 for_each_set_bit(bit, (unsigned long *)&bitmask, X86_PMC_IDX_MAX) { in kvm_pmu_handle_event()
/Linux-v5.4/arch/x86/kvm/vmx/
Dpmu_intel.c63 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) in global_ctrl_changed()