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; member1665 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()1822 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument1826 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()1828 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()1829 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()1844 unsigned int txn_flags; in power_pmu_cancel_txn() local1846 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()1848 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()1849 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()[all …]
1488 int txn_flags; in h_24x7_event_read() local1490 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_read()1499 if (txn_flags & PERF_PMU_TXN_READ) { in h_24x7_event_read()1603 int i, ret, txn_flags; in h_24x7_event_commit_txn() local1606 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_commit_txn()1607 WARN_ON_ONCE(!txn_flags); in h_24x7_event_commit_txn()1610 if (txn_flags & ~PERF_PMU_TXN_READ) in h_24x7_event_commit_txn()
1041 unsigned int txn_flags) in thread_imc_pmu_start_txn() argument1043 if (txn_flags & ~PERF_PMU_TXN_ADD) in thread_imc_pmu_start_txn()
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() argument2246 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() local2268 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()[all …]
253 unsigned int txn_flags; member
419 void (*start_txn) (struct pmu *pmu, unsigned int txn_flags);
2697 if ((cpuc->txn_flags & PERF_PMU_TXN_READ) && in intel_pmu_read_topdown_event()