Home
last modified time | relevance | path

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

/net/batman-adv/
Dhash.h74 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_hash_delete() local
79 list_lock = &hash->list_locks[i]; in batadv_hash_delete()
81 spin_lock_bh(list_lock); in batadv_hash_delete()
88 spin_unlock_bh(list_lock); in batadv_hash_delete()
115 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_hash_add() local
122 list_lock = &hash->list_locks[index]; in batadv_hash_add()
124 spin_lock_bh(list_lock); in batadv_hash_add()
140 spin_unlock_bh(list_lock); in batadv_hash_add()
Dgateway_client.c143 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
154 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
349 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_add()
352 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_add()
440 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
445 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
476 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_free()
482 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_free()
Dtranslation-table.c1405 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_tt_local_purge() local
1410 list_lock = &hash->list_locks[i]; in batadv_tt_local_purge()
1412 spin_lock_bh(list_lock); in batadv_tt_local_purge()
1414 spin_unlock_bh(list_lock); in batadv_tt_local_purge()
1421 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_tt_local_table_free() local
1435 list_lock = &hash->list_locks[i]; in batadv_tt_local_table_free()
1437 spin_lock_bh(list_lock); in batadv_tt_local_table_free()
1447 spin_unlock_bh(list_lock); in batadv_tt_local_table_free()
1573 spin_lock_bh(&tt_global->list_lock); in batadv_tt_global_orig_entry_add()
1577 spin_unlock_bh(&tt_global->list_lock); in batadv_tt_global_orig_entry_add()
[all …]
Doriginator.c929 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_originator_free() local
942 list_lock = &hash->list_locks[i]; in batadv_originator_free()
944 spin_lock_bh(list_lock); in batadv_originator_free()
950 spin_unlock_bh(list_lock); in batadv_originator_free()
1292 spinlock_t *list_lock; /* spinlock to protect write access */ in _batadv_purge_orig() local
1302 list_lock = &hash->list_locks[i]; in _batadv_purge_orig()
1304 spin_lock_bh(list_lock); in _batadv_purge_orig()
1320 spin_unlock_bh(list_lock); in _batadv_purge_orig()
Dbridge_loop_avoidance.c311 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_bla_del_backbone_claims() local
319 list_lock = &hash->list_locks[i]; in batadv_bla_del_backbone_claims()
321 spin_lock_bh(list_lock); in batadv_bla_del_backbone_claims()
330 spin_unlock_bh(list_lock); in batadv_bla_del_backbone_claims()
1220 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_bla_purge_backbone_gw() local
1229 list_lock = &hash->list_locks[i]; in batadv_bla_purge_backbone_gw()
1231 spin_lock_bh(list_lock); in batadv_bla_purge_backbone_gw()
1254 spin_unlock_bh(list_lock); in batadv_bla_purge_backbone_gw()
Ddistributed-arp-table.c117 spinlock_t *list_lock; /* protects write access to the hash lists */ in __batadv_dat_purge() local
128 list_lock = &bat_priv->dat.hash->list_locks[i]; in __batadv_dat_purge()
130 spin_lock_bh(list_lock); in __batadv_dat_purge()
142 spin_unlock_bh(list_lock); in __batadv_dat_purge()
Dtypes.h720 spinlock_t list_lock; /* protects gw_list & curr_gw */ member
1236 spinlock_t list_lock; /* protects orig_list */ member
Dmain.c152 spin_lock_init(&bat_priv->gw.list_lock); in batadv_mesh_init()