Lines Matching refs:update_mutex
63 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()
1247 mutex_unlock(&update_mutex); in bpf_struct_ops_link_create()