Lines Matching refs:txn_flags
52 unsigned int txn_flags; member
1505 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()
1655 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument
1659 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()
1661 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()
1662 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()
1677 unsigned int txn_flags; in power_pmu_cancel_txn() local
1679 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()
1681 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()
1682 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()
1683 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_cancel_txn()
1703 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_commit_txn()
1705 if (cpuhw->txn_flags & ~PERF_PMU_TXN_ADD) { in power_pmu_commit_txn()
1706 cpuhw->txn_flags = 0; in power_pmu_commit_txn()
1720 cpuhw->txn_flags = 0; in power_pmu_commit_txn()