Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/
Daudit_tree.c164 static __cacheline_aligned_in_smp DEFINE_SPINLOCK(hash_lock);
229 spin_unlock(&hash_lock); in untag_chunk()
246 spin_lock(&hash_lock); in untag_chunk()
252 spin_unlock(&hash_lock); in untag_chunk()
268 spin_lock(&hash_lock); in untag_chunk()
294 spin_unlock(&hash_lock); in untag_chunk()
302 spin_lock(&hash_lock); in untag_chunk()
310 spin_unlock(&hash_lock); in untag_chunk()
314 spin_lock(&hash_lock); in untag_chunk()
331 spin_lock(&hash_lock); in create_chunk()
[all …]
/linux-4.1.27/drivers/md/
Ddm-region-hash.c65 rwlock_t hash_lock; member
197 rwlock_init(&rh->hash_lock); in dm_region_hash_create()
304 write_lock_irq(&rh->hash_lock); in __rh_alloc()
319 write_unlock_irq(&rh->hash_lock); in __rh_alloc()
330 read_unlock(&rh->hash_lock); in __rh_find()
332 read_lock(&rh->hash_lock); in __rh_find()
343 read_lock(&rh->hash_lock); in dm_rh_get_state()
345 read_unlock(&rh->hash_lock); in dm_rh_get_state()
414 read_lock(&rh->hash_lock); in dm_rh_mark_nosync()
416 read_unlock(&rh->hash_lock); in dm_rh_mark_nosync()
[all …]
/linux-4.1.27/net/bridge/
Dbr_fdb.c180 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local()
184 spin_unlock_bh(&br->hash_lock); in br_fdb_find_delete_local()
195 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr()
233 spin_unlock_bh(&br->hash_lock); in br_fdb_changeaddr()
242 spin_lock_bh(&br->hash_lock); in br_fdb_change_mac_address()
266 spin_unlock_bh(&br->hash_lock); in br_fdb_change_mac_address()
276 spin_lock(&br->hash_lock); in br_fdb_cleanup()
292 spin_unlock(&br->hash_lock); in br_fdb_cleanup()
302 spin_lock_bh(&br->hash_lock); in br_fdb_flush()
311 spin_unlock_bh(&br->hash_lock); in br_fdb_flush()
[all …]
Dbr_device.c387 spin_lock_init(&br->hash_lock); in br_dev_setup()
Dbr_private.h214 spinlock_t hash_lock; member
/linux-4.1.27/fs/hfs/
Dbnode.c264 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
272 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
277 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
322 spin_lock(&tree->hash_lock); in hfs_bnode_find()
326 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
332 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
414 spin_lock(&tree->hash_lock); in hfs_bnode_create()
416 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
467 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
477 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
Dinode.c96 spin_lock(&tree->hash_lock); in hfs_releasepage()
106 spin_unlock(&tree->hash_lock); in hfs_releasepage()
110 spin_lock(&tree->hash_lock); in hfs_releasepage()
122 spin_unlock(&tree->hash_lock); in hfs_releasepage()
Dbtree.h39 spinlock_t hash_lock; member
Dbtree.c31 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
/linux-4.1.27/drivers/net/ppp/
Dpppoe.c109 rwlock_t hash_lock; member
235 read_lock_bh(&pn->hash_lock); in get_item()
239 read_unlock_bh(&pn->hash_lock); in get_item()
268 write_lock_bh(&pn->hash_lock); in delete_item()
270 write_unlock_bh(&pn->hash_lock); in delete_item()
286 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
310 write_unlock_bh(&pn->hash_lock); in pppoe_flush_dev()
330 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
334 write_unlock_bh(&pn->hash_lock); in pppoe_flush_dev()
698 write_lock_bh(&pn->hash_lock); in pppoe_connect()
[all …]
/linux-4.1.27/net/sunrpc/
Dcache.c62 read_lock(&detail->hash_lock); in sunrpc_cache_lookup()
71 read_unlock(&detail->hash_lock); in sunrpc_cache_lookup()
75 read_unlock(&detail->hash_lock); in sunrpc_cache_lookup()
88 write_lock(&detail->hash_lock); in sunrpc_cache_lookup()
102 write_unlock(&detail->hash_lock); in sunrpc_cache_lookup()
111 write_unlock(&detail->hash_lock); in sunrpc_cache_lookup()
150 write_lock(&detail->hash_lock); in sunrpc_cache_update()
157 write_unlock(&detail->hash_lock); in sunrpc_cache_update()
161 write_unlock(&detail->hash_lock); in sunrpc_cache_update()
173 write_lock(&detail->hash_lock); in sunrpc_cache_update()
[all …]
/linux-4.1.27/fs/hfsplus/
Dbnode.c429 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
437 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
443 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
488 spin_lock(&tree->hash_lock); in hfs_bnode_find()
492 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
499 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
582 spin_lock(&tree->hash_lock); in hfs_bnode_create()
584 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
635 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
645 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
Dinode.c93 spin_lock(&tree->hash_lock); in hfsplus_releasepage()
103 spin_unlock(&tree->hash_lock); in hfsplus_releasepage()
108 spin_lock(&tree->hash_lock); in hfsplus_releasepage()
120 spin_unlock(&tree->hash_lock); in hfsplus_releasepage()
Dbtree.c146 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
Dhfsplus_fs.h95 spinlock_t hash_lock; member
/linux-4.1.27/kernel/time/
Dposix-timers.c69 static DEFINE_SPINLOCK(hash_lock);
184 spin_lock(&hash_lock); in posix_timer_add()
195 spin_unlock(&hash_lock); in posix_timer_add()
567 spin_lock_irqsave(&hash_lock, flags); in release_posix_timer()
569 spin_unlock_irqrestore(&hash_lock, flags); in release_posix_timer()
/linux-4.1.27/drivers/net/
Dvxlan.c132 spinlock_t hash_lock; member
893 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_add()
896 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_add()
920 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_delete()
946 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_delete()
1017 spin_lock(&vxlan->hash_lock); in vxlan_snoop()
1027 spin_unlock(&vxlan->hash_lock); in vxlan_snoop()
2131 spin_lock_bh(&vxlan->hash_lock); in vxlan_cleanup()
2153 spin_unlock_bh(&vxlan->hash_lock); in vxlan_cleanup()
2183 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_delete_default()
[all …]
/linux-4.1.27/include/linux/sunrpc/
Dcache.h77 rwlock_t hash_lock; member
/linux-4.1.27/fs/nfsd/
Dexport.c1081 __acquires(((struct cache_detail *)m->private)->hash_lock) in e_start()
1089 read_lock(&cd->hash_lock); in e_start()
1138 __releases(((struct cache_detail *)m->private)->hash_lock) in e_stop()
1142 read_unlock(&cd->hash_lock); in e_stop()