Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbpf_struct_ops.c64 static DEFINE_MUTEX(update_mutex);
1248 mutex_lock(&update_mutex); in bpf_struct_ops_map_link_update()
1250 old_map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_update()
1276 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_update()
1287 mutex_lock(&update_mutex); in bpf_struct_ops_map_link_detach()
1289 map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_detach()
1291 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_detach()
1304 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_detach()
1366 mutex_lock(&update_mutex); in bpf_struct_ops_link_create()
1369 mutex_unlock(&update_mutex); in bpf_struct_ops_link_create()
[all …]
/linux/drivers/platform/x86/amd/pmf/
H A Dcore.c130 guard(mutex)(&dev->update_mutex); in amd_pmf_get_metrics()
468 mutex_init(&dev->update_mutex); in amd_pmf_probe()
494 mutex_destroy(&dev->update_mutex); in amd_pmf_remove()
H A Dpmf.h355 struct mutex update_mutex; /* protects race between ACPI handler and metrics thread */ member
/linux/drivers/cpufreq/
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()