Lines Matching refs:txn_flags
75 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()
615 cpuhw->txn_flags = 0; in cpumf_pmu_cancel_txn()
616 if (txn_flags & ~PERF_PMU_TXN_ADD) in cpumf_pmu_cancel_txn()
634 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in cpumf_pmu_commit_txn()
636 if (cpuhw->txn_flags & ~PERF_PMU_TXN_ADD) { in cpumf_pmu_commit_txn()
637 cpuhw->txn_flags = 0; in cpumf_pmu_commit_txn()
647 cpuhw->txn_flags = 0; in cpumf_pmu_commit_txn()