Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A 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()
H A Dcpufreq_governor.h84 struct mutex update_mutex; member
H A Dcpufreq_ondemand.c260 mutex_lock(&policy_dbs->update_mutex); in sampling_down_factor_store()
262 mutex_unlock(&policy_dbs->update_mutex); in sampling_down_factor_store()
/openbmc/linux/drivers/platform/x86/amd/pmf/
H A Dcore.c134 mutex_lock(&dev->update_mutex); in amd_pmf_get_metrics()
156 mutex_unlock(&dev->update_mutex); in amd_pmf_get_metrics()
407 mutex_init(&dev->update_mutex); in amd_pmf_probe()
428 mutex_destroy(&dev->update_mutex); in amd_pmf_remove()
H A Dacpi.c188 mutex_lock(&pmf_dev->update_mutex); in apmf_event_handler()
215 mutex_unlock(&pmf_dev->update_mutex); in apmf_event_handler()
H A Dpmf.h178 struct mutex update_mutex; /* protects race between ACPI handler and metrics thread */ member
/openbmc/linux/kernel/bpf/
H A Dbpf_struct_ops.c68 static DEFINE_MUTEX(update_mutex);
829 mutex_lock(&update_mutex); in bpf_struct_ops_map_link_update()
831 old_map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_update()
853 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_update()