Home
last modified time | relevance | path

Searched refs:txn_flags (Results 1 – 6 of 6) sorted by relevance

/arch/s390/kernel/
Dperf_cpum_cf.c75 unsigned int txn_flags; member
86 .txn_flags = 0,
545 if (!(cpuhw->txn_flags & PERF_PMU_TXN_ADD)) in cpumf_pmu_add()
588 static void cpumf_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in cpumf_pmu_start_txn() argument
592 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in cpumf_pmu_start_txn()
594 cpuhw->txn_flags = txn_flags; in cpumf_pmu_start_txn()
595 if (txn_flags & ~PERF_PMU_TXN_ADD) in cpumf_pmu_start_txn()
609 unsigned int txn_flags; in cpumf_pmu_cancel_txn() local
612 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in cpumf_pmu_cancel_txn()
614 txn_flags = cpuhw->txn_flags; in cpumf_pmu_cancel_txn()
[all …]
/arch/sparc/kernel/
Dperf_event.c111 unsigned int txn_flags; member
1395 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in sparc_pmu_add()
1510 static void sparc_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in sparc_pmu_start_txn() argument
1514 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in sparc_pmu_start_txn()
1516 cpuhw->txn_flags = txn_flags; in sparc_pmu_start_txn()
1517 if (txn_flags & ~PERF_PMU_TXN_ADD) in sparc_pmu_start_txn()
1531 unsigned int txn_flags; in sparc_pmu_cancel_txn() local
1533 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in sparc_pmu_cancel_txn()
1535 txn_flags = cpuhw->txn_flags; in sparc_pmu_cancel_txn()
1536 cpuhw->txn_flags = 0; in sparc_pmu_cancel_txn()
[all …]
/arch/powerpc/perf/
Dcore-book3s.c51 unsigned int txn_flags; member
1473 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()
1623 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument
1627 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()
1629 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()
1630 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()
1645 unsigned int txn_flags; in power_pmu_cancel_txn() local
1647 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()
1649 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()
1650 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()
[all …]
Dhv-24x7.c1245 int txn_flags; in h_24x7_event_read() local
1247 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_read()
1256 if (txn_flags & PERF_PMU_TXN_READ) { in h_24x7_event_read()
1361 int i, ret, txn_flags; in h_24x7_event_commit_txn() local
1364 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_commit_txn()
1365 WARN_ON_ONCE(!txn_flags); in h_24x7_event_commit_txn()
1368 if (txn_flags & ~PERF_PMU_TXN_READ) in h_24x7_event_commit_txn()
/arch/x86/kernel/cpu/
Dperf_event.c1197 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_add()
1348 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_del()
1784 static void x86_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in x86_pmu_start_txn() argument
1788 WARN_ON_ONCE(cpuc->txn_flags); /* txn already in flight */ in x86_pmu_start_txn()
1790 cpuc->txn_flags = txn_flags; in x86_pmu_start_txn()
1791 if (txn_flags & ~PERF_PMU_TXN_ADD) in x86_pmu_start_txn()
1805 unsigned int txn_flags; in x86_pmu_cancel_txn() local
1808 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_cancel_txn()
1810 txn_flags = cpuc->txn_flags; in x86_pmu_cancel_txn()
1811 cpuc->txn_flags = 0; in x86_pmu_cancel_txn()
[all …]
Dperf_event.h199 unsigned int txn_flags; member