Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/events/
Dperf_event.h49 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
111 struct perf_event *owners[X86_PMC_IDX_MAX];
112 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
186 enum intel_excl_state_type state[X86_PMC_IDX_MAX];
228 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */
229 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
230 unsigned long running[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
240 int assign[X86_PMC_IDX_MAX]; /* event to counter assignment */
241 u64 tags[X86_PMC_IDX_MAX];
243 struct perf_event *event_list[X86_PMC_IDX_MAX]; /* in enabled order */
[all …]
Dcore.c834 for_each_set_bit_from(idx, c->idxmsk, X86_PMC_IDX_MAX) { in __perf_sched_find_counter()
955 for (i = 0, wmin = X86_PMC_IDX_MAX, wmax = 0; i < n; i++) { in x86_schedule_events()
1309 static DEFINE_PER_CPU(u64 [X86_PMC_IDX_MAX], pmc_prev_left);
1406 int assign[X86_PMC_IDX_MAX]; in x86_pmu_add()
2121 int assign[X86_PMC_IDX_MAX]; in x86_pmu_commit_txn()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dpmu.c300 for_each_set_bit(bit, pmu->reprogram_pmi, X86_PMC_IDX_MAX) { in kvm_pmu_handle_event()
463 DECLARE_BITMAP(bitmask, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
469 pmu->pmc_in_use, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
471 for_each_set_bit(i, bitmask, X86_PMC_IDX_MAX) { in kvm_pmu_cleanup()
478 bitmap_zero(pmu->pmc_in_use, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
/kernel/linux/linux-5.10/arch/x86/events/intel/
Dknc.c242 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq()
Dp4.c1209 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in p4_pmu_schedule_events()
1219 bitmap_zero(used_mask, X86_PMC_IDX_MAX); in p4_pmu_schedule_events()
Dcore.c2680 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in handle_pmi_common()
3278 for_each_set_bit(i, c->idxmsk, X86_PMC_IDX_MAX) { in intel_get_excl_constraints()
3330 bitmap_copy(c1->idxmsk, c2->idxmsk, X86_PMC_IDX_MAX); in intel_get_event_constraints()
4026 size_t sz = X86_PMC_IDX_MAX * sizeof(struct event_constraint); in intel_cpuc_prepare()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dperf_event.h13 #define X86_PMC_IDX_MAX 64 macro
Dkvm_host.h448 DECLARE_BITMAP(reprogram_pmi, X86_PMC_IDX_MAX);
449 DECLARE_BITMAP(all_valid_pmc_idx, X86_PMC_IDX_MAX);
450 DECLARE_BITMAP(pmc_in_use, X86_PMC_IDX_MAX);
/kernel/linux/linux-5.10/arch/x86/events/amd/
Dcore.c271 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly;
272 static unsigned int count_offsets[X86_PMC_IDX_MAX] __read_mostly;
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dpmu_intel.c67 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) in global_ctrl_changed()
/kernel/linux/linux-5.10/arch/x86/events/zhaoxin/
Dcore.c386 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in zhaoxin_pmu_handle_irq()