Searched refs:pmu_reserve_mutex (Results 1 – 2 of 2) sorted by relevance
468 struct mutex *pmu_reserve_mutex = &armpmu->reserve_mutex; in hw_perf_event_destroy() local470 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()
543 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()