Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/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()
165 mutex_unlock(&xn->hash_lock); in xt_rateest_tg_checkentry()
171 mutex_unlock(&xn->hash_lock); in xt_rateest_tg_checkentry()
199 mutex_init(&xn->hash_lock); in xt_rateest_net_init()
/linux-6.6.21/drivers/md/
Ddm-region-hash.c68 rwlock_t hash_lock; member
202 rwlock_init(&rh->hash_lock); in dm_region_hash_create()
307 write_lock_irq(&rh->hash_lock); in __rh_alloc()
322 write_unlock_irq(&rh->hash_lock); in __rh_alloc()
333 read_unlock(&rh->hash_lock); in __rh_find()
335 read_lock(&rh->hash_lock); in __rh_find()
346 read_lock(&rh->hash_lock); in dm_rh_get_state()
348 read_unlock(&rh->hash_lock); in dm_rh_get_state()
417 read_lock(&rh->hash_lock); in dm_rh_mark_nosync()
419 read_unlock(&rh->hash_lock); in dm_rh_mark_nosync()
[all …]
/linux-6.6.21/net/bridge/
Dbr_fdb.c236 lockdep_assert_held_once(&br->hash_lock); in br_fdb_find()
377 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local()
382 spin_unlock_bh(&br->hash_lock); in br_fdb_find_delete_local()
452 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr()
484 spin_unlock_bh(&br->hash_lock); in br_fdb_changeaddr()
493 spin_lock_bh(&br->hash_lock); in br_fdb_change_mac_address()
519 spin_unlock_bh(&br->hash_lock); in br_fdb_change_mac_address()
555 spin_lock_bh(&br->hash_lock); in br_fdb_cleanup()
558 spin_unlock_bh(&br->hash_lock); in br_fdb_cleanup()
596 spin_lock_bh(&br->hash_lock); in br_fdb_flush()
[all …]
Dbr_device.c516 spin_lock_init(&br->hash_lock); in br_dev_setup()
Dbr_private.h487 spinlock_t hash_lock; member
/linux-6.6.21/fs/hfs/
Dbnode.c269 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
278 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
283 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
324 spin_lock(&tree->hash_lock); in hfs_bnode_find()
328 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
334 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
417 spin_lock(&tree->hash_lock); in hfs_bnode_create()
419 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
468 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
478 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
Dinode.c99 spin_lock(&tree->hash_lock); in hfs_release_folio()
109 spin_unlock(&tree->hash_lock); in hfs_release_folio()
113 spin_lock(&tree->hash_lock); in hfs_release_folio()
125 spin_unlock(&tree->hash_lock); in hfs_release_folio()
Dbtree.h47 spinlock_t hash_lock; member
Dbtree.c32 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
/linux-6.6.21/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 …]
/linux-6.6.21/net/sunrpc/
Dcache.c116 spin_lock(&detail->hash_lock); in sunrpc_cache_add_entry()
120 lockdep_is_held(&detail->hash_lock)) { in sunrpc_cache_add_entry()
131 spin_unlock(&detail->hash_lock); in sunrpc_cache_add_entry()
139 spin_unlock(&detail->hash_lock); in sunrpc_cache_add_entry()
212 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
216 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
220 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
231 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
238 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
271 spin_lock(&detail->hash_lock); in try_to_negate_entry()
[all …]
/linux-6.6.21/fs/hfsplus/
Dbnode.c419 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
427 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
433 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
474 spin_lock(&tree->hash_lock); in hfs_bnode_find()
478 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
485 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
568 spin_lock(&tree->hash_lock); in hfs_bnode_create()
570 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
619 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
629 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
Dinode.c95 spin_lock(&tree->hash_lock); in hfsplus_release_folio()
105 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()
110 spin_lock(&tree->hash_lock); in hfsplus_release_folio()
122 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()
Dbtree.c147 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
Dhfsplus_fs.h95 spinlock_t hash_lock; member
/linux-6.6.21/Documentation/bpf/
Dmap_lru_hash_update.dot12 hash_lock [shape=rectangle,fillcolor=3,label="hashtab lock"]
152 lru_lock -> hash_lock [style=invis]
153 hash_lock -> remote_lock [style=invis]
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c524 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
536 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
541 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
558 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
563 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
1277 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1282 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1340 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1343 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1483 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop()
[all …]
Dvxlan_vnifilter.c485 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry()
497 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry()
510 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry()
/linux-6.6.21/kernel/time/
Dposix-timers.c50 static DEFINE_SPINLOCK(hash_lock);
81 hlist_for_each_entry_rcu(timer, head, t_hash, lockdep_is_held(&hash_lock)) { in __posix_timers_find()
108 spin_lock(&hash_lock); in posix_timer_add()
117 spin_unlock(&hash_lock); in posix_timer_add()
120 spin_unlock(&hash_lock); in posix_timer_add()
431 spin_lock(&hash_lock); in posix_timer_unhash_and_free()
433 spin_unlock(&hash_lock); in posix_timer_unhash_and_free()
/linux-6.6.21/drivers/crypto/
Ds5p-sss.c324 spinlock_t hash_lock; /* protect hash_ vars */ member
1350 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_finish_req()
1354 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_finish_req()
1379 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1384 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1393 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
2235 spin_lock_init(&pdata->hash_lock); in s5p_aes_probe()
/linux-6.6.21/include/linux/sunrpc/
Dcache.h74 spinlock_t hash_lock; member
/linux-6.6.21/include/net/
Dvxlan.h297 spinlock_t hash_lock[FDB_HASH_SIZE]; member