Home
last modified time | relevance | path

Searched refs:update_mutex (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/cpufreq/
Dcpufreq_governor.c63 mutex_lock(&policy_dbs->update_mutex); in sampling_rate_store()
78 mutex_unlock(&policy_dbs->update_mutex); in sampling_rate_store()
246 mutex_lock(&policy_dbs->update_mutex); in dbs_work_handler()
248 mutex_unlock(&policy_dbs->update_mutex); in dbs_work_handler()
361 mutex_init(&policy_dbs->update_mutex); in alloc_policy_dbs_info()
380 mutex_destroy(&policy_dbs->update_mutex); in free_policy_dbs_info()
573 mutex_lock(&policy_dbs->update_mutex); in cpufreq_dbs_governor_limits()
576 mutex_unlock(&policy_dbs->update_mutex); in cpufreq_dbs_governor_limits()
Dcpufreq_governor.h84 struct mutex update_mutex; member
Dcpufreq_ondemand.c259 mutex_lock(&policy_dbs->update_mutex); in sampling_down_factor_store()
261 mutex_unlock(&policy_dbs->update_mutex); in sampling_down_factor_store()
/linux-6.12.1/kernel/bpf/
Dbpf_struct_ops.c63 static DEFINE_MUTEX(update_mutex);
1121 mutex_lock(&update_mutex); in bpf_struct_ops_map_link_update()
1123 old_map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_update()
1149 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_update()
1160 mutex_lock(&update_mutex); in bpf_struct_ops_map_link_detach()
1162 map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_detach()
1164 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_detach()
1177 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_detach()
1238 mutex_lock(&update_mutex); in bpf_struct_ops_link_create()
1241 mutex_unlock(&update_mutex); in bpf_struct_ops_link_create()
[all …]
/linux-6.12.1/drivers/platform/x86/amd/pmf/
Dcore.c130 mutex_lock(&dev->update_mutex); in amd_pmf_get_metrics()
152 mutex_unlock(&dev->update_mutex); in amd_pmf_get_metrics()
457 mutex_init(&dev->update_mutex); in amd_pmf_probe()
483 mutex_destroy(&dev->update_mutex); in amd_pmf_remove()
Dacpi.c330 mutex_lock(&pmf_dev->update_mutex); in apmf_event_handler()
357 mutex_unlock(&pmf_dev->update_mutex); in apmf_event_handler()
Dpmf.h351 struct mutex update_mutex; /* protects race between ACPI handler and metrics thread */ member