Searched refs:txn_flags (Results 1 – 9 of 9) sorted by relevance
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() argument470 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() local490 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()[all …]
33 .txn_flags = 0,
113 unsigned int txn_flags; member1397 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() argument1516 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() local1535 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()[all …]
52 unsigned int txn_flags; member1505 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()1655 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument1659 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()1661 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()1662 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()1677 unsigned int txn_flags; in power_pmu_cancel_txn() local1679 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()1681 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()1682 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()[all …]
1370 int txn_flags; in h_24x7_event_read() local1372 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_read()1381 if (txn_flags & PERF_PMU_TXN_READ) { in h_24x7_event_read()1495 int i, ret, txn_flags; in h_24x7_event_commit_txn() local1498 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_commit_txn()1499 WARN_ON_ONCE(!txn_flags); in h_24x7_event_commit_txn()1502 if (txn_flags & ~PERF_PMU_TXN_READ) in h_24x7_event_commit_txn()
944 unsigned int txn_flags) in thread_imc_pmu_start_txn() argument946 if (txn_flags & ~PERF_PMU_TXN_ADD) in thread_imc_pmu_start_txn()
889 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_schedule_events()1293 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_add()1448 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_del()1895 static void x86_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in x86_pmu_start_txn() argument1899 WARN_ON_ONCE(cpuc->txn_flags); /* txn already in flight */ in x86_pmu_start_txn()1901 cpuc->txn_flags = txn_flags; in x86_pmu_start_txn()1902 if (txn_flags & ~PERF_PMU_TXN_ADD) in x86_pmu_start_txn()1916 unsigned int txn_flags; in x86_pmu_cancel_txn() local1919 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_cancel_txn()1921 txn_flags = cpuc->txn_flags; in x86_pmu_cancel_txn()[all …]
208 unsigned int txn_flags; member
97 unsigned int txn_flags; member