Lines Matching refs:txn_flags
113 unsigned int txn_flags; member
1397 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in sparc_pmu_add()
1512 static void sparc_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in sparc_pmu_start_txn() argument
1516 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in sparc_pmu_start_txn()
1518 cpuhw->txn_flags = txn_flags; in sparc_pmu_start_txn()
1519 if (txn_flags & ~PERF_PMU_TXN_ADD) in sparc_pmu_start_txn()
1533 unsigned int txn_flags; in sparc_pmu_cancel_txn() local
1535 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in sparc_pmu_cancel_txn()
1537 txn_flags = cpuhw->txn_flags; in sparc_pmu_cancel_txn()
1538 cpuhw->txn_flags = 0; in sparc_pmu_cancel_txn()
1539 if (txn_flags & ~PERF_PMU_TXN_ADD) in sparc_pmu_cancel_txn()
1558 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in sparc_pmu_commit_txn()
1560 if (cpuc->txn_flags & ~PERF_PMU_TXN_ADD) { in sparc_pmu_commit_txn()
1561 cpuc->txn_flags = 0; in sparc_pmu_commit_txn()
1571 cpuc->txn_flags = 0; in sparc_pmu_commit_txn()