Searched refs:metrics_lock (Results 1 – 3 of 3) sorted by relevance
33 mutex_lock(&perf->metrics_lock); in alloc_empty_config()37 mutex_unlock(&perf->metrics_lock); in alloc_empty_config()42 mutex_unlock(&perf->metrics_lock); in alloc_empty_config()53 mutex_lock(&perf->metrics_lock); in destroy_empty_config()65 mutex_unlock(&perf->metrics_lock); in destroy_empty_config()77 mutex_lock(&perf->metrics_lock); in get_empty_config()86 mutex_unlock(&perf->metrics_lock); in get_empty_config()
471 struct mutex metrics_lock; member
4789 err = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_add_config_ioctl()4826 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()4831 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()4867 ret = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_remove_config_ioctl()4885 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()4895 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()5232 mutex_init(&perf->metrics_lock); in i915_perf_init()