Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
Daudit_tree.c210 static __cacheline_aligned_in_smp DEFINE_SPINLOCK(hash_lock);
284 assert_spin_locked(&hash_lock); in replace_mark_chunk()
365 spin_lock(&hash_lock); in untag_chunk()
369 spin_unlock(&hash_lock); in untag_chunk()
381 spin_lock(&hash_lock); in untag_chunk()
387 spin_unlock(&hash_lock); in untag_chunk()
421 spin_lock(&hash_lock); in create_chunk()
423 spin_unlock(&hash_lock); in create_chunk()
446 spin_unlock(&hash_lock); in create_chunk()
476 spin_lock(&hash_lock); in tag_chunk()
[all …]
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/bridge/
Dbr_fdb.c111 lockdep_assert_held_once(&br->hash_lock); in br_fdb_find()
252 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local()
257 spin_unlock_bh(&br->hash_lock); in br_fdb_find_delete_local()
267 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr()
299 spin_unlock_bh(&br->hash_lock); in br_fdb_changeaddr()
308 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()
370 spin_lock_bh(&br->hash_lock); in br_fdb_cleanup()
373 spin_unlock_bh(&br->hash_lock); in br_fdb_cleanup()
389 spin_lock_bh(&br->hash_lock); in br_fdb_flush()
[all …]
Dbr_device.c467 spin_lock_init(&br->hash_lock); in br_dev_setup()
Dbr_private.h385 spinlock_t hash_lock; member
/kernel/linux/linux-5.10/fs/hfs/
Dbnode.c276 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
284 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
289 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
334 spin_lock(&tree->hash_lock); in hfs_bnode_find()
338 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
344 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
426 spin_lock(&tree->hash_lock); in hfs_bnode_create()
428 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
479 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
489 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
Dinode.c99 spin_lock(&tree->hash_lock); in hfs_releasepage()
109 spin_unlock(&tree->hash_lock); in hfs_releasepage()
113 spin_lock(&tree->hash_lock); in hfs_releasepage()
125 spin_unlock(&tree->hash_lock); in hfs_releasepage()
Dbtree.h47 spinlock_t hash_lock; member
Dbtree.c32 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dpppoe.c104 rwlock_t hash_lock; member
228 read_lock_bh(&pn->hash_lock); in get_item()
232 read_unlock_bh(&pn->hash_lock); in get_item()
261 write_lock_bh(&pn->hash_lock); in delete_item()
263 write_unlock_bh(&pn->hash_lock); in delete_item()
279 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
303 write_unlock_bh(&pn->hash_lock); in pppoe_flush_dev()
323 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
327 write_unlock_bh(&pn->hash_lock); in pppoe_flush_dev()
684 write_lock_bh(&pn->hash_lock); in pppoe_connect()
[all …]
/kernel/linux/linux-5.10/net/sunrpc/
Dcache.c114 spin_lock(&detail->hash_lock); in sunrpc_cache_add_entry()
118 lockdep_is_held(&detail->hash_lock)) { in sunrpc_cache_add_entry()
129 spin_unlock(&detail->hash_lock); in sunrpc_cache_add_entry()
137 spin_unlock(&detail->hash_lock); in sunrpc_cache_add_entry()
210 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
214 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
218 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
229 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
236 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
269 spin_lock(&detail->hash_lock); in try_to_negate_entry()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/
Dvxlan.c630 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
642 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
647 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
664 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
669 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
1298 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1303 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1360 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1363 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1503 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop()
[all …]
/kernel/linux/linux-5.10/kernel/time/
Dposix-timers.c53 static DEFINE_SPINLOCK(hash_lock);
125 lockdep_is_held(&hash_lock)) { in __posix_timers_find()
148 spin_lock(&hash_lock); in posix_timer_add()
159 spin_unlock(&hash_lock); in posix_timer_add()
482 spin_lock_irqsave(&hash_lock, flags); in release_posix_timer()
484 spin_unlock_irqrestore(&hash_lock, flags); in release_posix_timer()
/kernel/linux/linux-5.10/drivers/crypto/
Ds5p-sss.c323 spinlock_t hash_lock; /* protect hash_ vars */ member
1353 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_finish_req()
1357 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_finish_req()
1382 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1387 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1396 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
2238 spin_lock_init(&pdata->hash_lock); in s5p_aes_probe()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dcache.h69 spinlock_t hash_lock; member
/kernel/linux/linux-5.10/include/net/
Dvxlan.h250 spinlock_t hash_lock[FDB_HASH_SIZE]; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch12809 + spinlock_t hash_lock;