Searched refs:list_locks (Results 1 – 8 of 8) sorted by relevance
21 spin_lock_init(&hash->list_locks[i]); in batadv_hash_init()33 kfree(hash->list_locks); in batadv_hash_destroy()56 hash->list_locks = kmalloc_array(size, sizeof(*hash->list_locks), in batadv_hash_new()58 if (!hash->list_locks) in batadv_hash_new()83 lockdep_set_class(&hash->list_locks[i], key); in batadv_hash_set_lock_class()
45 spinlock_t *list_locks; member92 list_lock = &hash->list_locks[index]; in batadv_hash_add()142 spin_lock_bh(&hash->list_locks[index]); in batadv_hash_remove()152 spin_unlock_bh(&hash->list_locks[index]); in batadv_hash_remove()
313 list_lock = &hash->list_locks[i]; in batadv_bla_del_backbone_claims()1234 list_lock = &hash->list_locks[i]; in batadv_bla_purge_backbone_gw()2204 spin_lock_bh(&hash->list_locks[bucket]); in batadv_bla_claim_dump_bucket()2221 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_bla_claim_dump_bucket()2374 spin_lock_bh(&hash->list_locks[bucket]); in batadv_bla_backbone_dump_bucket()2391 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_bla_backbone_dump_bucket()
173 list_lock = &bat_priv->dat.hash->list_locks[i]; in __batadv_dat_purge()908 spin_lock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()916 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()925 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()
1138 spin_lock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()1147 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()1152 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()1353 list_lock = &hash->list_locks[i]; in batadv_tt_local_purge()1378 list_lock = &hash->list_locks[i]; in batadv_tt_local_table_free()2212 list_lock = &hash->list_locks[i]; in batadv_tt_global_del_orig()2278 list_lock = &hash->list_locks[i]; in batadv_tt_global_purge()2321 list_lock = &hash->list_locks[i]; in batadv_tt_global_table_free()3653 list_lock = &hash->list_locks[i]; in batadv_tt_local_purge_pending_clients()
2147 spin_lock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()2159 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()2168 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()
879 list_lock = &hash->list_locks[i]; in batadv_originator_free()1241 list_lock = &hash->list_locks[i]; in batadv_purge_orig_ref()
439 lock = &hash->list_locks[i]; in batadv_nc_purge_paths()