Searched refs:metrics_lock (Results 1 – 14 of 14) 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()
549 mutex_lock(&smu->metrics_lock); in navi10_get_legacy_smu_metrics_data()555 mutex_unlock(&smu->metrics_lock); in navi10_get_legacy_smu_metrics_data()627 mutex_unlock(&smu->metrics_lock); in navi10_get_legacy_smu_metrics_data()641 mutex_lock(&smu->metrics_lock); in navi10_get_smu_metrics_data()647 mutex_unlock(&smu->metrics_lock); in navi10_get_smu_metrics_data()722 mutex_unlock(&smu->metrics_lock); in navi10_get_smu_metrics_data()736 mutex_lock(&smu->metrics_lock); in navi12_get_legacy_smu_metrics_data()742 mutex_unlock(&smu->metrics_lock); in navi12_get_legacy_smu_metrics_data()814 mutex_unlock(&smu->metrics_lock); in navi12_get_legacy_smu_metrics_data()828 mutex_lock(&smu->metrics_lock); in navi12_get_smu_metrics_data()[all …]
152 mutex_lock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()156 mutex_unlock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()202 mutex_unlock(&smu->metrics_lock); in cyan_skillfish_get_smu_metrics_data()
276 mutex_lock(&smu->metrics_lock); in vangogh_get_legacy_smu_metrics_data()282 mutex_unlock(&smu->metrics_lock); in vangogh_get_legacy_smu_metrics_data()338 mutex_unlock(&smu->metrics_lock); in vangogh_get_legacy_smu_metrics_data()351 mutex_lock(&smu->metrics_lock); in vangogh_get_smu_metrics_data()357 mutex_unlock(&smu->metrics_lock); in vangogh_get_smu_metrics_data()413 mutex_unlock(&smu->metrics_lock); in vangogh_get_smu_metrics_data()
572 mutex_lock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()578 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()680 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_smu_metrics_data()3775 mutex_lock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()3780 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()3862 mutex_unlock(&smu->metrics_lock); in sienna_cichlid_get_gpu_metrics()
602 mutex_lock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()608 mutex_unlock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()693 mutex_unlock(&smu->metrics_lock); in arcturus_get_smu_metrics_data()
392 struct mutex metrics_lock; member
4184 err = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_add_config_ioctl()4221 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()4226 mutex_unlock(&perf->metrics_lock); in i915_perf_add_config_ioctl()4262 ret = mutex_lock_interruptible(&perf->metrics_lock); in i915_perf_remove_config_ioctl()4280 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()4290 mutex_unlock(&perf->metrics_lock); in i915_perf_remove_config_ioctl()4488 mutex_init(&perf->metrics_lock); in i915_perf_init()
570 mutex_lock(&smu->metrics_lock); in aldebaran_get_smu_metrics_data()576 mutex_unlock(&smu->metrics_lock); in aldebaran_get_smu_metrics_data()652 mutex_unlock(&smu->metrics_lock); in aldebaran_get_smu_metrics_data()1590 mutex_lock(&smu->metrics_lock); in aldebaran_get_unique_id()1599 mutex_unlock(&smu->metrics_lock); in aldebaran_get_unique_id()
355 mutex_lock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()359 mutex_unlock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()424 mutex_unlock(&smu->metrics_lock); in yellow_carp_get_smu_metrics_data()
977 mutex_lock(&smu->metrics_lock); in smu_cmn_get_metrics_table()981 mutex_unlock(&smu->metrics_lock); in smu_cmn_get_metrics_table()
1029 mutex_init(&smu->metrics_lock); in smu_sw_init()
1176 mutex_lock(&smu->metrics_lock); in renoir_get_smu_metrics_data()1182 mutex_unlock(&smu->metrics_lock); in renoir_get_smu_metrics_data()1241 mutex_unlock(&smu->metrics_lock); in renoir_get_smu_metrics_data()
490 struct mutex metrics_lock; member