Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Daudit_tree.c212 static __cacheline_aligned_in_smp DEFINE_SPINLOCK(hash_lock);
286 assert_spin_locked(&hash_lock); in replace_mark_chunk()
367 spin_lock(&hash_lock); in untag_chunk()
371 spin_unlock(&hash_lock); in untag_chunk()
383 spin_lock(&hash_lock); in untag_chunk()
389 spin_unlock(&hash_lock); in untag_chunk()
423 spin_lock(&hash_lock); in create_chunk()
425 spin_unlock(&hash_lock); in create_chunk()
448 spin_unlock(&hash_lock); in create_chunk()
478 spin_lock(&hash_lock); in tag_chunk()
[all …]
/Linux-v5.4/net/netfilter/
Dxt_RATEEST.c23 struct mutex hash_lock; member
68 mutex_lock(&xn->hash_lock); in xt_rateest_lookup()
70 mutex_unlock(&xn->hash_lock); in xt_rateest_lookup()
79 mutex_lock(&xn->hash_lock); in xt_rateest_put()
89 mutex_unlock(&xn->hash_lock); in xt_rateest_put()
120 mutex_lock(&xn->hash_lock); in xt_rateest_tg_checkentry()
123 mutex_unlock(&xn->hash_lock); in xt_rateest_tg_checkentry()
161 mutex_unlock(&xn->hash_lock); in xt_rateest_tg_checkentry()
167 mutex_unlock(&xn->hash_lock); in xt_rateest_tg_checkentry()
195 mutex_init(&xn->hash_lock); in xt_rateest_net_init()
/Linux-v5.4/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-v5.4/net/bridge/
Dbr_fdb.c110 lockdep_assert_held_once(&br->hash_lock); in br_fdb_find()
251 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local()
255 spin_unlock_bh(&br->hash_lock); in br_fdb_find_delete_local()
265 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr()
296 spin_unlock_bh(&br->hash_lock); in br_fdb_changeaddr()
305 spin_lock_bh(&br->hash_lock); in br_fdb_change_mac_address()
329 spin_unlock_bh(&br->hash_lock); in br_fdb_change_mac_address()
355 spin_lock_bh(&br->hash_lock); in br_fdb_cleanup()
358 spin_unlock_bh(&br->hash_lock); in br_fdb_cleanup()
374 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.h326 spinlock_t hash_lock; member
/Linux-v5.4/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-v5.4/drivers/net/ppp/
Dpppoe.c104 rwlock_t hash_lock; member
230 read_lock_bh(&pn->hash_lock); in get_item()
234 read_unlock_bh(&pn->hash_lock); in get_item()
263 write_lock_bh(&pn->hash_lock); in delete_item()
265 write_unlock_bh(&pn->hash_lock); in delete_item()
281 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
305 write_unlock_bh(&pn->hash_lock); in pppoe_flush_dev()
325 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
329 write_unlock_bh(&pn->hash_lock); in pppoe_flush_dev()
683 write_lock_bh(&pn->hash_lock); in pppoe_connect()
[all …]
/Linux-v5.4/net/sunrpc/
Dcache.c100 spin_lock(&detail->hash_lock); in sunrpc_cache_add_entry()
115 spin_unlock(&detail->hash_lock); in sunrpc_cache_add_entry()
124 spin_unlock(&detail->hash_lock); in sunrpc_cache_add_entry()
180 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
187 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
191 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
202 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
212 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
252 spin_lock(&detail->hash_lock); in try_to_negate_entry()
260 spin_unlock(&detail->hash_lock); in try_to_negate_entry()
[all …]
/Linux-v5.4/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-v5.4/drivers/net/
Dvxlan.c599 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
611 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
616 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
633 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
638 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
1147 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1152 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1208 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1211 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1326 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop()
[all …]
/Linux-v5.4/kernel/time/
Dposix-timers.c52 static DEFINE_SPINLOCK(hash_lock);
146 spin_lock(&hash_lock); in posix_timer_add()
157 spin_unlock(&hash_lock); in posix_timer_add()
456 spin_lock_irqsave(&hash_lock, flags); in release_posix_timer()
458 spin_unlock_irqrestore(&hash_lock, flags); in release_posix_timer()
/Linux-v5.4/drivers/crypto/
Ds5p-sss.c322 spinlock_t hash_lock; /* protect hash_ vars */ member
1352 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_finish_req()
1356 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_finish_req()
1381 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1386 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1395 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
2272 spin_lock_init(&pdata->hash_lock); in s5p_aes_probe()
/Linux-v5.4/include/linux/sunrpc/
Dcache.h68 spinlock_t hash_lock; member
/Linux-v5.4/include/net/
Dvxlan.h246 spinlock_t hash_lock[FDB_HASH_SIZE]; member