Lines Matching refs:txn_flags
51 unsigned int txn_flags; member
1444 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()
1594 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument
1598 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()
1600 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()
1601 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()
1616 unsigned int txn_flags; in power_pmu_cancel_txn() local
1618 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()
1620 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()
1621 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()
1622 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_cancel_txn()
1642 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_commit_txn()
1644 if (cpuhw->txn_flags & ~PERF_PMU_TXN_ADD) { in power_pmu_commit_txn()
1645 cpuhw->txn_flags = 0; in power_pmu_commit_txn()
1659 cpuhw->txn_flags = 0; in power_pmu_commit_txn()