Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/events/
A Dperf_event.h53 unsigned long idxmsk[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
116 struct perf_event *owners[X86_PMC_IDX_MAX];
117 struct event_constraint event_constraints[X86_PMC_IDX_MAX];
192 enum intel_excl_state_type state[X86_PMC_IDX_MAX];
236 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
237 unsigned long dirty[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
247 int assign[X86_PMC_IDX_MAX]; /* event to counter assignment */
248 u64 tags[X86_PMC_IDX_MAX];
251 struct event_constraint *event_constraint[X86_PMC_IDX_MAX];
301 struct perf_guest_switch_msr guest_switch_msrs[X86_PMC_IDX_MAX];
[all …]
A Dcore.c878 for_each_set_bit_from(idx, c->idxmsk, X86_PMC_IDX_MAX) { in __perf_sched_find_counter()
1000 for (i = 0, wmin = X86_PMC_IDX_MAX, wmax = 0; i < n; i++) { in x86_schedule_events()
1361 DEFINE_PER_CPU(u64 [X86_PMC_IDX_MAX], pmc_prev_left);
1443 int assign[X86_PMC_IDX_MAX]; in x86_pmu_add()
2275 int assign[X86_PMC_IDX_MAX]; in x86_pmu_commit_txn()
2482 if (bitmap_empty(cpuc->dirty, X86_PMC_IDX_MAX)) in perf_clear_dirty_counters()
2485 for_each_set_bit(i, cpuc->dirty, X86_PMC_IDX_MAX) { in perf_clear_dirty_counters()
2497 bitmap_zero(cpuc->dirty, X86_PMC_IDX_MAX); in perf_clear_dirty_counters()
/linux-6.3-rc2/arch/x86/kvm/
A Dpmu.c466 for_each_set_bit(bit, pmu->reprogram_pmi, X86_PMC_IDX_MAX) { in kvm_pmu_handle_event()
620 DECLARE_BITMAP(bitmask, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
626 pmu->pmc_in_use, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
628 for_each_set_bit(i, bitmask, X86_PMC_IDX_MAX) { in kvm_pmu_cleanup()
637 bitmap_zero(pmu->pmc_in_use, X86_PMC_IDX_MAX); in kvm_pmu_cleanup()
684 for_each_set_bit(i, pmu->all_valid_pmc_idx, X86_PMC_IDX_MAX) { in kvm_pmu_trigger_event()
/linux-6.3-rc2/arch/x86/events/intel/
A Dknc.c242 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq()
A Dp4.c986 static DEFINE_PER_CPU(unsigned long [BITS_TO_LONGS(X86_PMC_IDX_MAX)], p4_running);
1242 unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; in p4_pmu_schedule_events()
1252 bitmap_zero(used_mask, X86_PMC_IDX_MAX); in p4_pmu_schedule_events()
A Dcore.c3026 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in handle_pmi_common()
3545 for_each_set_bit(i, c->idxmsk, X86_PMC_IDX_MAX) { in intel_get_excl_constraints()
3597 bitmap_copy(c1->idxmsk, c2->idxmsk, X86_PMC_IDX_MAX); in intel_get_event_constraints()
4542 size_t sz = X86_PMC_IDX_MAX * sizeof(struct event_constraint); in intel_cpuc_prepare()
/linux-6.3-rc2/arch/x86/include/asm/
A Dperf_event.h15 #define X86_PMC_IDX_MAX 64 macro
A Dkvm_host.h541 DECLARE_BITMAP(reprogram_pmi, X86_PMC_IDX_MAX);
544 DECLARE_BITMAP(all_valid_pmc_idx, X86_PMC_IDX_MAX);
545 DECLARE_BITMAP(pmc_in_use, X86_PMC_IDX_MAX);
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dpmu_intel.c81 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) { in reprogram_counters()
785 X86_PMC_IDX_MAX) { in intel_pmu_cross_mapped_check()
/linux-6.3-rc2/arch/x86/events/amd/
A Dcore.c276 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly;
277 static unsigned int count_offsets[X86_PMC_IDX_MAX] __read_mostly;
/linux-6.3-rc2/arch/x86/events/zhaoxin/
A Dcore.c386 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in zhaoxin_pmu_handle_irq()

Completed in 62 milliseconds