Searched refs:reserve_mutex (Results 1 – 1 of 1) sorted by relevance
109 struct mutex reserve_mutex; member1074 struct mutex *reserve_mutex = &cci_pmu->reserve_mutex; in hw_perf_event_destroy() local1076 if (atomic_dec_and_mutex_lock(active_events, reserve_mutex)) { in hw_perf_event_destroy()1078 mutex_unlock(reserve_mutex); in hw_perf_event_destroy()1331 mutex_lock(&cci_pmu->reserve_mutex); in cci_pmu_event_init()1336 mutex_unlock(&cci_pmu->reserve_mutex); in cci_pmu_event_init()1669 mutex_init(&cci_pmu->reserve_mutex); in cci_pmu_probe()