Home
last modified time | relevance | path

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

/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.c314 list_lock = &hash->list_locks[i]; in batadv_bla_del_backbone_claims()
1239 list_lock = &hash->list_locks[i]; in batadv_bla_purge_backbone_gw()
2278 spin_lock_bh(&hash->list_locks[bucket]); in batadv_bla_claim_dump_bucket()
2295 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_bla_claim_dump_bucket()
2516 spin_lock_bh(&hash->list_locks[bucket]); in batadv_bla_backbone_dump_bucket()
2533 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()
965 spin_lock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()
973 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()
982 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_dat_cache_dump_bucket()
Dtranslation-table.c1220 spin_lock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()
1229 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()
1234 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_tt_local_dump_bucket()
1438 list_lock = &hash->list_locks[i]; in batadv_tt_local_purge()
1463 list_lock = &hash->list_locks[i]; in batadv_tt_local_table_free()
2439 list_lock = &hash->list_locks[i]; in batadv_tt_global_del_orig()
2505 list_lock = &hash->list_locks[i]; in batadv_tt_global_purge()
2548 list_lock = &hash->list_locks[i]; in batadv_tt_global_table_free()
3892 list_lock = &hash->list_locks[i]; in batadv_tt_local_purge_pending_clients()
Dmulticast.c2290 spin_lock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()
2302 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()
2311 spin_unlock_bh(&hash->list_locks[bucket]); in batadv_mcast_flags_dump_bucket()
Doriginator.c923 list_lock = &hash->list_locks[i]; in batadv_originator_free()
1288 list_lock = &hash->list_locks[i]; in batadv_purge_orig_ref()
Dnetwork-coding.c446 lock = &hash->list_locks[i]; in batadv_nc_purge_paths()