Home
last modified time | relevance | path

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

/linux-6.1.9/net/batman-adv/
Dhash.c21 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()
Dhash.h45 spinlock_t *list_locks; member
92 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()
Dbridge_loop_avoidance.c313 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()
Ddistributed-arp-table.c173 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()
Dtranslation-table.c1138 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()
Dmulticast.c2147 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()
Doriginator.c879 list_lock = &hash->list_locks[i]; in batadv_originator_free()
1241 list_lock = &hash->list_locks[i]; in batadv_purge_orig_ref()
Dnetwork-coding.c439 lock = &hash->list_locks[i]; in batadv_nc_purge_paths()