Home
last modified time | relevance | path

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

/linux-3.4.99/net/batman-adv/
Dhash.c32 spin_lock_init(&hash->list_locks[i]); in hash_init()
39 kfree(hash->list_locks); in hash_destroy()
57 hash->list_locks = kmalloc(sizeof(*hash->list_locks) * size, in hash_new()
59 if (!hash->list_locks) in hash_new()
Dhash.h41 spinlock_t *list_locks; /* spinlock for each hash list entry */ member
64 list_lock = &hash->list_locks[i]; in hash_delete()
107 list_lock = &hash->list_locks[index]; in hash_add()
149 spin_lock_bh(&hash->list_locks[index]); in hash_remove()
158 spin_unlock_bh(&hash->list_locks[index]); in hash_remove()
Dtranslation-table.c401 list_lock = &hash->list_locks[i]; in tt_local_purge()
445 list_lock = &hash->list_locks[i]; in tt_local_table_free()
704 list_lock = &hash->list_locks[i]; in tt_global_del_orig()
740 list_lock = &hash->list_locks[i]; in tt_global_roam_purge()
783 list_lock = &hash->list_locks[i]; in tt_global_table_free()
1764 list_lock = &hash->list_locks[i]; in tt_local_purge_pending_clients()
Doriginator.c178 list_lock = &hash->list_locks[i]; in originator_free()
356 list_lock = &hash->list_locks[i]; in _purge_orig()