Home
last modified time | relevance | path

Searched refs:txn_flags (Results 1 – 9 of 9) sorted by relevance

/arch/s390/kernel/
Dperf_cpum_cf.c423 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() argument
470 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() local
490 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 …]
Dperf_cpum_cf_common.c33 .txn_flags = 0,
/arch/sparc/kernel/
Dperf_event.c113 unsigned int txn_flags; member
1397 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() argument
1516 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() local
1535 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 …]
/arch/powerpc/perf/
Dcore-book3s.c52 unsigned int txn_flags; member
1505 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() argument
1659 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() local
1679 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 …]
Dhv-24x7.c1370 int txn_flags; in h_24x7_event_read() local
1372 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() local
1498 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()
Dimc-pmu.c944 unsigned int txn_flags) in thread_imc_pmu_start_txn() argument
946 if (txn_flags & ~PERF_PMU_TXN_ADD) in thread_imc_pmu_start_txn()
/arch/x86/events/
Dcore.c889 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() argument
1899 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() local
1919 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 …]
Dperf_event.h208 unsigned int txn_flags; member
/arch/s390/include/asm/
Dcpu_mcf.h97 unsigned int txn_flags; member