Home
last modified time | relevance | path

Searched refs:active_mask (Results 1 – 17 of 17) sorted by relevance

/arch/x86/events/amd/
Duncore.c47 cpumask_t *active_mask; member
236 cpumask_t *active_mask; in amd_uncore_attr_show_cpumask() local
240 active_mask = &amd_nb_active_mask; in amd_uncore_attr_show_cpumask()
242 active_mask = &amd_llc_active_mask; in amd_uncore_attr_show_cpumask()
246 return cpumap_print_to_pagebuf(true, buf, active_mask); in amd_uncore_attr_show_cpumask()
338 uncore_nb->active_mask = &amd_nb_active_mask; in amd_uncore_cpu_up_prepare()
352 uncore_llc->active_mask = &amd_llc_active_mask; in amd_uncore_cpu_up_prepare()
438 cpumask_set_cpu(cpu, uncore->active_mask); in uncore_online()
470 cpumask_clear_cpu(cpu, that->active_mask); in uncore_down_prepare()
471 cpumask_set_cpu(i, that->active_mask); in uncore_down_prepare()
[all …]
Dcore.c623 if (!test_bit(idx, cpuc->active_mask)) in amd_pmu_disable_all()
675 active = __bitmap_weight(cpuc->active_mask, X86_PMC_IDX_MAX); in amd_pmu_handle_irq()
/arch/sh/include/asm/
Dhw_breakpoint.h37 unsigned long (*active_mask)(void); member
/arch/s390/kvm/
Dinterrupt.c357 unsigned long active_mask) in disable_iscs() argument
363 active_mask &= ~(1UL << (isc_to_irq_type(i))); in disable_iscs()
365 return active_mask; in disable_iscs()
370 unsigned long active_mask; in deliverable_irqs() local
372 active_mask = pending_irqs(vcpu); in deliverable_irqs()
373 if (!active_mask) in deliverable_irqs()
377 active_mask &= ~IRQ_PEND_EXT_MASK; in deliverable_irqs()
379 active_mask &= ~IRQ_PEND_IO_MASK; in deliverable_irqs()
381 active_mask = disable_iscs(vcpu, active_mask); in deliverable_irqs()
383 __clear_bit(IRQ_PEND_EXT_EXTERNAL, &active_mask); in deliverable_irqs()
[all …]
/arch/sh/kernel/cpu/sh4a/
Dubc.c93 .active_mask = sh4a_ubc_active_mask,
/arch/sh/kernel/
Dhw_breakpoint.c289 resume_mask = sh_ubc->active_mask(); in hw_breakpoint_handler()
Dperf_event.c31 unsigned long active_mask[BITS_TO_LONGS(MAX_HWEVENTS)]; member
/arch/x86/events/intel/
Dknc.c247 if (!test_bit(bit, cpuc->active_mask)) in knc_pmu_handle_irq()
Dp4.c924 if (!test_bit(idx, cpuc->active_mask)) in p4_pmu_disable_all()
993 if (!test_bit(idx, cpuc->active_mask)) in p4_pmu_enable_all()
1013 if (!test_bit(idx, cpuc->active_mask)) { in p4_pmu_handle_irq()
Duncore.c287 for_each_set_bit(bit, box->active_mask, UNCORE_PMC_IDX_MAX) in uncore_pmu_hrtimer()
500 __set_bit(idx, box->active_mask); in uncore_pmu_event_start()
523 if (__test_and_clear_bit(hwc->idx, box->active_mask)) { in uncore_pmu_event_stop()
Dcore.c1957 if (test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in __intel_pmu_disable_all()
1978 if (test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) { in __intel_pmu_enable_all()
2102 if (!test_bit(3, cpuc->active_mask)) in intel_tfa_pmu_enable_all()
2411 if (!test_bit(bit, cpuc->active_mask)) in handle_pmi_common()
2460 if (test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) { in intel_pmu_handle_irq_v4()
3385 if (!test_bit(idx, cpuc->active_mask)) in core_guest_get_msrs()
3415 if (!test_bit(idx, cpuc->active_mask) || in core_pmu_enable_all()
4358 if (test_bit(3, cpuc->active_mask)) in update_tfa_sched()
Duncore.h124 unsigned long active_mask[BITS_TO_LONGS(UNCORE_PMC_IDX_MAX)]; member
Dbts.c521 if (test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in bts_event_add()
Dds.c1804 if (!test_bit(0, cpuc->active_mask)) in intel_pmu_drain_pebs_core()
/arch/x86/events/
Dcore.c622 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_disable_all()
670 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_enable_all()
1346 __set_bit(idx, cpuc->active_mask); in x86_pmu_start()
1388 pr_info("CPU#%d: active: %016llx\n", cpu, *(u64 *)cpuc->active_mask); in perf_event_print_debug()
1417 if (test_bit(hwc->idx, cpuc->active_mask)) { in x86_pmu_stop()
1419 __clear_bit(hwc->idx, cpuc->active_mask); in x86_pmu_stop()
1512 if (!test_bit(idx, cpuc->active_mask)) in x86_pmu_handle_irq()
Dperf_event.h192 unsigned long active_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)]; member
/arch/powerpc/perf/
Dimc-pmu.c106 cpumask_t *active_mask; in imc_pmu_cpumask_get_attr() local
110 active_mask = &nest_imc_cpumask; in imc_pmu_cpumask_get_attr()
113 active_mask = &core_imc_cpumask; in imc_pmu_cpumask_get_attr()
119 return cpumap_print_to_pagebuf(true, buf, active_mask); in imc_pmu_cpumask_get_attr()