Searched refs:list_lock (Results 1 – 8 of 8) sorted by relevance
74 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_hash_delete() local79 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() local122 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()
143 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()
1405 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_tt_local_purge() local1410 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() local1435 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 …]
929 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_originator_free() local942 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() local1302 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()
311 spinlock_t *list_lock; /* protects write access to the hash lists */ in batadv_bla_del_backbone_claims() local319 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() local1229 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()
117 spinlock_t *list_lock; /* protects write access to the hash lists */ in __batadv_dat_purge() local128 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()
720 spinlock_t list_lock; /* protects gw_list & curr_gw */ member1236 spinlock_t list_lock; /* protects orig_list */ member
152 spin_lock_init(&bat_priv->gw.list_lock); in batadv_mesh_init()