Searched refs:update_mutex (Results 1 – 6 of 6) sorted by relevance
64 static DEFINE_MUTEX(update_mutex);1355 mutex_lock(&update_mutex); in bpf_struct_ops_map_link_update()1357 old_map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_update()1383 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_update()1394 mutex_lock(&update_mutex); in bpf_struct_ops_map_link_detach()1396 map = rcu_dereference_protected(st_link->map, lockdep_is_held(&update_mutex)); in bpf_struct_ops_map_link_detach()1398 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_detach()1411 mutex_unlock(&update_mutex); in bpf_struct_ops_map_link_detach()1473 mutex_lock(&update_mutex); in bpf_struct_ops_link_create()1476 mutex_unlock(&update_mutex); in bpf_struct_ops_link_create()[all …]
85 struct mutex update_mutex; member
237 mutex_lock(&policy_dbs->update_mutex); in sampling_down_factor_store()239 mutex_unlock(&policy_dbs->update_mutex); in sampling_down_factor_store()
120 guard(mutex)(&dev->update_mutex); in amd_pmf_get_metrics()
522 err = devm_mutex_init(dev->dev, &dev->update_mutex); in amd_pmf_probe()
641 struct mutex update_mutex; /* protects race between ACPI handler and metrics thread */ member