Searched refs:X86_PMC_IDX_MAX (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/arch/x86/events/ |
D | perf_event.h | 53 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]; 235 struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */ 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]; 250 struct perf_event *event_list[X86_PMC_IDX_MAX]; /* in enabled order */ [all …]
|
D | core.c | 876 for_each_set_bit_from(idx, c->idxmsk, X86_PMC_IDX_MAX) { in __perf_sched_find_counter() 998 for (i = 0, wmin = X86_PMC_IDX_MAX, wmax = 0; i < n; i++) { in x86_schedule_events() 1359 DEFINE_PER_CPU(u64 [X86_PMC_IDX_MAX], pmc_prev_left); 1441 int assign[X86_PMC_IDX_MAX]; in x86_pmu_add() 2270 int assign[X86_PMC_IDX_MAX]; in x86_pmu_commit_txn() 2477 if (bitmap_empty(cpuc->dirty, X86_PMC_IDX_MAX)) in perf_clear_dirty_counters() 2480 for_each_set_bit(i, cpuc->dirty, X86_PMC_IDX_MAX) { in perf_clear_dirty_counters() 2492 bitmap_zero(cpuc->dirty, X86_PMC_IDX_MAX); in perf_clear_dirty_counters()
|
/Linux-v6.6/arch/x86/kvm/ |
D | pmu.c | 441 for_each_set_bit(bit, pmu->reprogram_pmi, X86_PMC_IDX_MAX) { in kvm_pmu_handle_event() 651 bitmap_zero(vcpu_to_pmu(vcpu)->all_valid_pmc_idx, X86_PMC_IDX_MAX); in kvm_pmu_refresh() 676 DECLARE_BITMAP(bitmask, X86_PMC_IDX_MAX); in kvm_pmu_cleanup() 682 pmu->pmc_in_use, X86_PMC_IDX_MAX); in kvm_pmu_cleanup() 684 for_each_set_bit(i, bitmask, X86_PMC_IDX_MAX) { in kvm_pmu_cleanup() 693 bitmap_zero(pmu->pmc_in_use, X86_PMC_IDX_MAX); in kvm_pmu_cleanup() 740 for_each_set_bit(i, pmu->all_valid_pmc_idx, X86_PMC_IDX_MAX) { in kvm_pmu_trigger_event()
|
D | pmu.h | 236 for_each_set_bit(bit, (unsigned long *)&diff, X86_PMC_IDX_MAX) in reprogram_counters()
|
/Linux-v6.6/arch/x86/events/intel/ |
D | knc.c | 242 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in knc_pmu_handle_irq()
|
D | p4.c | 986 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()
|
D | core.c | 3047 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in handle_pmi_common() 3566 for_each_set_bit(i, c->idxmsk, X86_PMC_IDX_MAX) { in intel_get_excl_constraints() 3618 bitmap_copy(c1->idxmsk, c2->idxmsk, X86_PMC_IDX_MAX); in intel_get_event_constraints() 4570 size_t sz = X86_PMC_IDX_MAX * sizeof(struct event_constraint); in intel_cpuc_prepare()
|
/Linux-v6.6/arch/x86/include/asm/ |
D | perf_event.h | 15 #define X86_PMC_IDX_MAX 64 macro
|
D | kvm_host.h | 538 DECLARE_BITMAP(reprogram_pmi, X86_PMC_IDX_MAX); 541 DECLARE_BITMAP(all_valid_pmc_idx, X86_PMC_IDX_MAX); 542 DECLARE_BITMAP(pmc_in_use, X86_PMC_IDX_MAX);
|
/Linux-v6.6/arch/x86/events/amd/ |
D | core.c | 276 static unsigned int event_offsets[X86_PMC_IDX_MAX] __read_mostly; 277 static unsigned int count_offsets[X86_PMC_IDX_MAX] __read_mostly;
|
/Linux-v6.6/arch/x86/events/zhaoxin/ |
D | core.c | 386 for_each_set_bit(bit, (unsigned long *)&status, X86_PMC_IDX_MAX) { in zhaoxin_pmu_handle_irq()
|
/Linux-v6.6/arch/x86/kvm/vmx/ |
D | pmu_intel.c | 774 X86_PMC_IDX_MAX) { in intel_pmu_cross_mapped_check()
|