Lines Matching refs:txn_flags
111 unsigned int txn_flags; member
1395 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in sparc_pmu_add()
1510 static void sparc_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in sparc_pmu_start_txn() argument
1514 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in sparc_pmu_start_txn()
1516 cpuhw->txn_flags = txn_flags; in sparc_pmu_start_txn()
1517 if (txn_flags & ~PERF_PMU_TXN_ADD) in sparc_pmu_start_txn()
1531 unsigned int txn_flags; in sparc_pmu_cancel_txn() local
1533 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in sparc_pmu_cancel_txn()
1535 txn_flags = cpuhw->txn_flags; in sparc_pmu_cancel_txn()
1536 cpuhw->txn_flags = 0; in sparc_pmu_cancel_txn()
1537 if (txn_flags & ~PERF_PMU_TXN_ADD) in sparc_pmu_cancel_txn()
1556 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in sparc_pmu_commit_txn()
1558 if (cpuc->txn_flags & ~PERF_PMU_TXN_ADD) { in sparc_pmu_commit_txn()
1559 cpuc->txn_flags = 0; in sparc_pmu_commit_txn()
1569 cpuc->txn_flags = 0; in sparc_pmu_commit_txn()