Searched refs:hash_lock (Results 1 – 8 of 8) sorted by relevance
99 write_lock_bh(&br->hash_lock); in br_fdb_changeaddr()109 write_unlock_bh(&br->hash_lock); in br_fdb_changeaddr()115 write_unlock_bh(&br->hash_lock); in br_fdb_changeaddr()125 write_lock_bh(&br->hash_lock); in br_fdb_cleanup()142 write_unlock_bh(&br->hash_lock); in br_fdb_cleanup()149 write_lock_bh(&br->hash_lock); in br_fdb_delete_by_port()165 write_unlock_bh(&br->hash_lock); in br_fdb_delete_by_port()172 read_lock_bh(&br->hash_lock); in br_fdb_get()178 read_unlock_bh(&br->hash_lock); in br_fdb_get()182 read_unlock_bh(&br->hash_lock); in br_fdb_get()[all …]
86 rwlock_t hash_lock; member
98 br->hash_lock = RW_LOCK_UNLOCKED; in new_nb()
64 static int hash_lock; variable475 while (hash_lock || want_lock) in exp_readlock()484 if (!hash_count && !hash_lock) { in exp_writelock()486 hash_lock = 1; in exp_writelock()492 while (hash_count || hash_lock) { in exp_writelock()504 if (!hash_count && !hash_lock) in exp_writelock()512 if (!hash_count && !hash_lock) in exp_unlock()517 hash_lock = 0; in exp_unlock()
801 spin_lock(&tree->hash_lock); in __hfsplus_create_bnode()809 spin_unlock(&tree->hash_lock); in __hfsplus_create_bnode()814 spin_unlock(&tree->hash_lock); in __hfsplus_create_bnode()869 spin_lock(&tree->hash_lock); in hfsplus_find_bnode()873 spin_unlock(&tree->hash_lock); in hfsplus_find_bnode()877 spin_unlock(&tree->hash_lock); in hfsplus_find_bnode()944 spin_lock(&tree->hash_lock); in hfsplus_create_bnode()946 spin_unlock(&tree->hash_lock); in hfsplus_create_bnode()996 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) { in hfsplus_put_bnode()1012 spin_unlock(&tree->hash_lock); in hfsplus_put_bnode()[all …]
82 spin_lock(&tree->hash_lock); in hfsplus_releasepage()98 spin_unlock(&tree->hash_lock); in hfsplus_releasepage()102 spin_lock(&tree->hash_lock); in hfsplus_releasepage()114 spin_unlock(&tree->hash_lock); in hfsplus_releasepage()
79 spinlock_t hash_lock; member
96 spin_lock_init(&tree->hash_lock); in hfsplus_open_btree()