Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/
Daudit_tree.c166 static __cacheline_aligned_in_smp DEFINE_SPINLOCK(hash_lock);
253 spin_unlock(&hash_lock); in untag_chunk()
276 spin_lock(&hash_lock); in untag_chunk()
282 spin_unlock(&hash_lock); in untag_chunk()
299 spin_lock(&hash_lock); in untag_chunk()
325 spin_unlock(&hash_lock); in untag_chunk()
334 spin_lock(&hash_lock); in untag_chunk()
342 spin_unlock(&hash_lock); in untag_chunk()
347 spin_lock(&hash_lock); in untag_chunk()
364 spin_lock(&hash_lock); in create_chunk()
[all …]
/Linux-v4.19/net/netfilter/
Dxt_RATEEST.c26 struct mutex hash_lock; member
71 mutex_lock(&xn->hash_lock); in xt_rateest_lookup()
73 mutex_unlock(&xn->hash_lock); in xt_rateest_lookup()
82 mutex_lock(&xn->hash_lock); in xt_rateest_put()
92 mutex_unlock(&xn->hash_lock); in xt_rateest_put()
123 mutex_lock(&xn->hash_lock); in xt_rateest_tg_checkentry()
126 mutex_unlock(&xn->hash_lock); in xt_rateest_tg_checkentry()
164 mutex_unlock(&xn->hash_lock); in xt_rateest_tg_checkentry()
170 mutex_unlock(&xn->hash_lock); in xt_rateest_tg_checkentry()
198 mutex_init(&xn->hash_lock); in xt_rateest_net_init()
/Linux-v4.19/drivers/md/
Ddm-region-hash.c65 rwlock_t hash_lock; member
199 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-v4.19/net/bridge/
Dbr_fdb.c115 lockdep_assert_held_once(&br->hash_lock); in br_fdb_find()
256 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local()
260 spin_unlock_bh(&br->hash_lock); in br_fdb_find_delete_local()
270 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr()
301 spin_unlock_bh(&br->hash_lock); in br_fdb_changeaddr()
310 spin_lock_bh(&br->hash_lock); in br_fdb_change_mac_address()
334 spin_unlock_bh(&br->hash_lock); in br_fdb_change_mac_address()
360 spin_lock_bh(&br->hash_lock); in br_fdb_cleanup()
363 spin_unlock_bh(&br->hash_lock); in br_fdb_cleanup()
379 spin_lock_bh(&br->hash_lock); in br_fdb_flush()
[all …]
Dbr_device.c429 spin_lock_init(&br->hash_lock); in br_dev_setup()
Dbr_private.h314 spinlock_t hash_lock; member
/Linux-v4.19/net/sunrpc/
Dcache.c65 read_lock(&detail->hash_lock); in sunrpc_cache_lookup()
73 read_unlock(&detail->hash_lock); in sunrpc_cache_lookup()
77 read_unlock(&detail->hash_lock); in sunrpc_cache_lookup()
90 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()
154 write_lock(&detail->hash_lock); in sunrpc_cache_update()
161 write_unlock(&detail->hash_lock); in sunrpc_cache_update()
165 write_unlock(&detail->hash_lock); in sunrpc_cache_update()
176 write_lock(&detail->hash_lock); in sunrpc_cache_update()
[all …]
/Linux-v4.19/fs/hfs/
Dbnode.c261 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
269 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
274 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
319 spin_lock(&tree->hash_lock); in hfs_bnode_find()
323 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
329 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
411 spin_lock(&tree->hash_lock); in hfs_bnode_create()
413 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
464 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
474 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
Dinode.c98 spin_lock(&tree->hash_lock); in hfs_releasepage()
108 spin_unlock(&tree->hash_lock); in hfs_releasepage()
112 spin_lock(&tree->hash_lock); in hfs_releasepage()
124 spin_unlock(&tree->hash_lock); in hfs_releasepage()
Dbtree.h40 spinlock_t hash_lock; member
Dbtree.c32 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
/Linux-v4.19/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()
687 write_lock_bh(&pn->hash_lock); in pppoe_connect()
[all …]
/Linux-v4.19/fs/hfsplus/
Dbnode.c426 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
434 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
440 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
485 spin_lock(&tree->hash_lock); in hfs_bnode_find()
489 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
496 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
579 spin_lock(&tree->hash_lock); in hfs_bnode_create()
581 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
632 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
642 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
Dinode.c94 spin_lock(&tree->hash_lock); in hfsplus_releasepage()
104 spin_unlock(&tree->hash_lock); in hfsplus_releasepage()
109 spin_lock(&tree->hash_lock); in hfsplus_releasepage()
121 spin_unlock(&tree->hash_lock); in hfsplus_releasepage()
Dbtree.c147 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
Dhfsplus_fs.h95 spinlock_t hash_lock; member
/Linux-v4.19/kernel/time/
Dposix-timers.c73 static DEFINE_SPINLOCK(hash_lock);
167 spin_lock(&hash_lock); in posix_timer_add()
178 spin_unlock(&hash_lock); in posix_timer_add()
480 spin_lock_irqsave(&hash_lock, flags); in release_posix_timer()
482 spin_unlock_irqrestore(&hash_lock, flags); in release_posix_timer()
/Linux-v4.19/drivers/net/
Dvxlan.c901 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_add()
904 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_add()
958 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_delete()
961 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_delete()
1041 spin_lock(&vxlan->hash_lock); in vxlan_snoop()
1052 spin_unlock(&vxlan->hash_lock); in vxlan_snoop()
2378 spin_lock_bh(&vxlan->hash_lock); in vxlan_cleanup()
2400 spin_unlock_bh(&vxlan->hash_lock); in vxlan_cleanup()
2444 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_delete_default()
2448 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_delete_default()
[all …]
/Linux-v4.19/drivers/crypto/
Ds5p-sss.c319 spinlock_t hash_lock; /* protect hash_ vars */ member
1346 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_finish_req()
1350 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_finish_req()
1375 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1380 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1389 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
2207 spin_lock_init(&pdata->hash_lock); in s5p_aes_probe()
/Linux-v4.19/include/linux/sunrpc/
Dcache.h70 rwlock_t hash_lock; member
/Linux-v4.19/include/net/
Dvxlan.h240 spinlock_t hash_lock; member