Home
last modified time | relevance | path

Searched refs:pmu_reserve_mutex (Results 1 – 2 of 2) sorted by relevance

/arch/arm/kernel/
Dperf_event.c468 struct mutex *pmu_reserve_mutex = &armpmu->reserve_mutex; in hw_perf_event_destroy() local
470 if (atomic_dec_and_mutex_lock(active_events, pmu_reserve_mutex)) { in hw_perf_event_destroy()
472 mutex_unlock(pmu_reserve_mutex); in hw_perf_event_destroy()
/arch/mips/kernel/
Dperf_event_mipsxx.c543 static DEFINE_MUTEX(pmu_reserve_mutex);
593 &pmu_reserve_mutex)) { in hw_perf_event_destroy()
601 mutex_unlock(&pmu_reserve_mutex); in hw_perf_event_destroy()
628 mutex_lock(&pmu_reserve_mutex); in mipspmu_event_init()
634 mutex_unlock(&pmu_reserve_mutex); in mipspmu_event_init()