Home
last modified time | relevance | path

Searched refs:list_lock (Results 1 – 15 of 15) sorted by relevance

/net/hsr/
Dhsr_framereg.c92 spin_lock_bh(&hsr->list_lock); in hsr_create_self_node()
97 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node()
101 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node()
112 spin_lock_bh(&hsr->list_lock); in hsr_del_self_node()
118 spin_unlock_bh(&hsr->list_lock); in hsr_del_self_node()
178 spin_lock_bh(&hsr->list_lock); in hsr_add_node()
180 lockdep_is_held(&hsr->list_lock)) { in hsr_add_node()
187 spin_unlock_bh(&hsr->list_lock); in hsr_add_node()
190 spin_unlock_bh(&hsr->list_lock); in hsr_add_node()
331 spin_lock_bh(&hsr->list_lock); in hsr_handle_sup_frame()
[all …]
Dhsr_main.h207 spinlock_t list_lock; /* locking for node list */ member
Dhsr_device.c494 spin_lock_init(&hsr->list_lock); in hsr_dev_finalize()
/net/netfilter/
Dnf_conncount.c88 lockdep_assert_held(&list->list_lock); in conn_free()
204 spin_lock_bh(&list->list_lock); in nf_conncount_add()
206 spin_unlock_bh(&list->list_lock); in nf_conncount_add()
214 spin_lock_init(&list->list_lock); in nf_conncount_list_init()
231 if (!spin_trylock(&list->list_lock)) in nf_conncount_gc_list()
261 spin_unlock(&list->list_lock); in nf_conncount_gc_list()
284 spin_lock(&rbconn->list.list_lock); in tree_nodes_free()
289 spin_unlock(&rbconn->list.list_lock); in tree_nodes_free()
419 spin_lock_bh(&rbconn->list.list_lock); in count_tree()
424 spin_unlock_bh(&rbconn->list.list_lock); in count_tree()
[all …]
/net/batman-adv/
Dhash.h85 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_hash_add() local
92 list_lock = &hash->list_locks[index]; in batadv_hash_add()
94 spin_lock_bh(list_lock); in batadv_hash_add()
111 spin_unlock_bh(list_lock); in batadv_hash_add()
Dgateway_client.c132 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
142 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
330 lockdep_assert_held(&bat_priv->gw.list_lock); in batadv_gw_node_add()
404 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
408 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
411 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
440 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
446 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
484 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_free()
491 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_free()
Dtranslation-table.c1347 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_tt_local_purge() local
1352 list_lock = &hash->list_locks[i]; in batadv_tt_local_purge()
1354 spin_lock_bh(list_lock); in batadv_tt_local_purge()
1356 spin_unlock_bh(list_lock); in batadv_tt_local_purge()
1363 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_tt_local_table_free() local
1377 list_lock = &hash->list_locks[i]; in batadv_tt_local_table_free()
1379 spin_lock_bh(list_lock); in batadv_tt_local_table_free()
1389 spin_unlock_bh(list_lock); in batadv_tt_local_table_free()
1534 spin_lock_bh(&tt_global->list_lock); in batadv_tt_global_orig_entry_add()
1568 spin_unlock_bh(&tt_global->list_lock); in batadv_tt_global_orig_entry_add()
[all …]
Doriginator.c866 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_originator_free() local
879 list_lock = &hash->list_locks[i]; in batadv_originator_free()
881 spin_lock_bh(list_lock); in batadv_originator_free()
887 spin_unlock_bh(list_lock); in batadv_originator_free()
1231 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_purge_orig_ref() local
1241 list_lock = &hash->list_locks[i]; in batadv_purge_orig_ref()
1243 spin_lock_bh(list_lock); in batadv_purge_orig_ref()
1259 spin_unlock_bh(list_lock); in batadv_purge_orig_ref()
Dbridge_loop_avoidance.c304 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_bla_del_backbone_claims() local
312 list_lock = &hash->list_locks[i]; in batadv_bla_del_backbone_claims()
314 spin_lock_bh(list_lock); in batadv_bla_del_backbone_claims()
323 spin_unlock_bh(list_lock); in batadv_bla_del_backbone_claims()
1224 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_bla_purge_backbone_gw() local
1233 list_lock = &hash->list_locks[i]; in batadv_bla_purge_backbone_gw()
1235 spin_lock_bh(list_lock); in batadv_bla_purge_backbone_gw()
1258 spin_unlock_bh(list_lock); in batadv_bla_purge_backbone_gw()
Ddistributed-arp-table.c161 spinlock_t *list_lock; /* protects write access to the hash lists */ in __batadv_dat_purge() local
172 list_lock = &bat_priv->dat.hash->list_locks[i]; in __batadv_dat_purge()
174 spin_lock_bh(list_lock); in __batadv_dat_purge()
186 spin_unlock_bh(list_lock); in __batadv_dat_purge()
Dtypes.h1110 spinlock_t list_lock; member
1929 spinlock_t list_lock; member
Dbat_v.c780 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_v_gw_dump()
796 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_v_gw_dump()
Dmain.c162 spin_lock_init(&bat_priv->gw.list_lock); in batadv_mesh_init()
Dbat_iv_ogm.c2480 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_iv_gw_dump()
2496 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_iv_gw_dump()
/net/core/
Ddevlink.c6673 struct mutex *list_lock, in __devlink_health_reporter_find_by_name() argument
6678 lockdep_assert_held(list_lock); in __devlink_health_reporter_find_by_name()