Home
last modified time | relevance | path

Searched refs:cpuhw (Results 1 – 2 of 2) sorted by relevance

/linux/arch/sh/kernel/
H A Dperf_event.c336 struct cpu_hw_events *cpuhw = &per_cpu(cpu_hw_events, cpu); in sh_pmu_prepare_cpu() local
338 memset(cpuhw, 0, sizeof(struct cpu_hw_events)); in sh_pmu_prepare_cpu()
/linux/arch/sparc/kernel/
H A Dperf_event.c1514 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in sparc_pmu_start_txn() local
1516 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in sparc_pmu_start_txn()
1518 cpuhw->txn_flags = txn_flags; in sparc_pmu_start_txn()
1532 struct cpu_hw_events *cpuhw = this_cpu_ptr(&cpu_hw_events); in sparc_pmu_cancel_txn() local
1535 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in sparc_pmu_cancel_txn()
1537 txn_flags = cpuhw->txn_flags; in sparc_pmu_cancel_txn()
1538 cpuhw->txn_flags = 0; in sparc_pmu_cancel_txn()