Lines Matching refs:txn_flags
423 if (!(cpuhw->txn_flags & PERF_PMU_TXN_ADD)) in cpumf_pmu_add()
466 static void cpumf_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in cpumf_pmu_start_txn() argument
470 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in cpumf_pmu_start_txn()
472 cpuhw->txn_flags = txn_flags; in cpumf_pmu_start_txn()
473 if (txn_flags & ~PERF_PMU_TXN_ADD) in cpumf_pmu_start_txn()
487 unsigned int txn_flags; in cpumf_pmu_cancel_txn() local
490 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in cpumf_pmu_cancel_txn()
492 txn_flags = cpuhw->txn_flags; in cpumf_pmu_cancel_txn()
493 cpuhw->txn_flags = 0; in cpumf_pmu_cancel_txn()
494 if (txn_flags & ~PERF_PMU_TXN_ADD) in cpumf_pmu_cancel_txn()
512 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in cpumf_pmu_commit_txn()
514 if (cpuhw->txn_flags & ~PERF_PMU_TXN_ADD) { in cpumf_pmu_commit_txn()
515 cpuhw->txn_flags = 0; in cpumf_pmu_commit_txn()
525 cpuhw->txn_flags = 0; in cpumf_pmu_commit_txn()