Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/bridge/
Dbr_fdb.c99 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 …]
Dbr_private.h86 rwlock_t hash_lock; member
Dbr_if.c98 br->hash_lock = RW_LOCK_UNLOCKED; in new_nb()
/linux-2.4.37.9/fs/nfsd/
Dexport.c64 static int hash_lock; variable
475 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()
/linux-2.4.37.9/fs/hfsplus/
Dbnode.c801 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 …]
Dinode.c82 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()
Dhfsplus_fs.h79 spinlock_t hash_lock; member
Dbtree.c96 spin_lock_init(&tree->hash_lock); in hfsplus_open_btree()