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()
172 list_lock = &bat_priv->dat.hash->list_locks[i]; in __batadv_dat_purge()907 spin_lock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()915 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()924 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()
1137 spin_lock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()1146 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()1151 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()1352 list_lock = &hash->list_locks[i]; in batadv_tt_local_purge()1377 list_lock = &hash->list_locks[i]; in batadv_tt_local_table_free()2211 list_lock = &hash->list_locks[i]; in batadv_tt_global_del_orig()2277 list_lock = &hash->list_locks[i]; in batadv_tt_global_purge()2320 list_lock = &hash->list_locks[i]; in batadv_tt_global_table_free()3652 list_lock = &hash->list_locks[i]; in batadv_tt_local_purge_pending_clients()
2033 spin_lock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()2045 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()2054 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()
933 list_lock = &hash->list_locks[i]; in batadv_originator_free()1298 list_lock = &hash->list_locks[i]; in batadv_purge_orig_ref()
439 lock = &hash->list_locks[i]; in batadv_nc_purge_paths()