Searched refs:update_mutex (Results 1 – 5 of 5) sorted by relevance
64 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 …]
130 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()
355 struct mutex update_mutex; /* protects race between ACPI handler and metrics thread */ member
84 struct mutex update_mutex; member
260 mutex_lock(&policy_dbs->update_mutex); in sampling_down_factor_store()262 mutex_unlock(&policy_dbs->update_mutex); in sampling_down_factor_store()