Lines Matching refs:txn_flags
993 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_schedule_events()
1463 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_add()
1619 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_del()
2242 static void x86_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in x86_pmu_start_txn() argument
2246 WARN_ON_ONCE(cpuc->txn_flags); /* txn already in flight */ in x86_pmu_start_txn()
2248 cpuc->txn_flags = txn_flags; in x86_pmu_start_txn()
2249 if (txn_flags & ~PERF_PMU_TXN_ADD) in x86_pmu_start_txn()
2265 unsigned int txn_flags; in x86_pmu_cancel_txn() local
2268 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_cancel_txn()
2270 txn_flags = cpuc->txn_flags; in x86_pmu_cancel_txn()
2271 cpuc->txn_flags = 0; in x86_pmu_cancel_txn()
2272 if (txn_flags & ~PERF_PMU_TXN_ADD) in x86_pmu_cancel_txn()
2299 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_commit_txn()
2301 if (cpuc->txn_flags & ~PERF_PMU_TXN_ADD) { in x86_pmu_commit_txn()
2302 cpuc->txn_flags = 0; in x86_pmu_commit_txn()
2321 cpuc->txn_flags = 0; in x86_pmu_commit_txn()