Searched refs:txn_flags (Results 1 – 8 of 8) sorted by relevance
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 …]
49 unsigned int txn_flags; member1664 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()1821 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument1825 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()1827 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()1828 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()1843 unsigned int txn_flags; in power_pmu_cancel_txn() local1845 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()1847 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()1848 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()[all …]
1475 int txn_flags; in h_24x7_event_read() local1477 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_read()1486 if (txn_flags & PERF_PMU_TXN_READ) { in h_24x7_event_read()1590 int i, ret, txn_flags; in h_24x7_event_commit_txn() local1593 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_commit_txn()1594 WARN_ON_ONCE(!txn_flags); in h_24x7_event_commit_txn()1597 if (txn_flags & ~PERF_PMU_TXN_READ) in h_24x7_event_commit_txn()
1047 unsigned int txn_flags) in thread_imc_pmu_start_txn() argument1049 if (txn_flags & ~PERF_PMU_TXN_ADD) in thread_imc_pmu_start_txn()
995 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_schedule_events()1465 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_add()1621 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_del()2219 static void x86_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in x86_pmu_start_txn() argument2223 WARN_ON_ONCE(cpuc->txn_flags); /* txn already in flight */ in x86_pmu_start_txn()2225 cpuc->txn_flags = txn_flags; in x86_pmu_start_txn()2226 if (txn_flags & ~PERF_PMU_TXN_ADD) in x86_pmu_start_txn()2242 unsigned int txn_flags; in x86_pmu_cancel_txn() local2245 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_cancel_txn()2247 txn_flags = cpuc->txn_flags; in x86_pmu_cancel_txn()[all …]
255 unsigned int txn_flags; member
427 void (*start_txn) (struct pmu *pmu, unsigned int txn_flags);
2728 if ((cpuc->txn_flags & PERF_PMU_TXN_READ) && in intel_pmu_read_topdown_event()