Lines Matching refs:txn_flags
49 unsigned int txn_flags; member
1665 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()
1822 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument
1826 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()
1828 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()
1829 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()
1844 unsigned int txn_flags; in power_pmu_cancel_txn() local
1846 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()
1848 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()
1849 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()
1850 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_cancel_txn()
1870 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_commit_txn()
1872 if (cpuhw->txn_flags & ~PERF_PMU_TXN_ADD) { in power_pmu_commit_txn()
1873 cpuhw->txn_flags = 0; in power_pmu_commit_txn()
1887 cpuhw->txn_flags = 0; in power_pmu_commit_txn()