Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/drivers/md/dm-vdo/
Ddedupe.c218 struct hash_lock { struct
342 static void return_hash_lock_to_pool(struct hash_zone *zone, struct hash_lock *lock) in return_hash_lock_to_pool()
360 if (data_vio->hash_lock == NULL) in vdo_get_duplicate_lock()
363 return data_vio->hash_lock->duplicate_lock; in vdo_get_duplicate_lock()
372 static inline u64 hash_lock_key(struct hash_lock *lock) in hash_lock_key()
400 VDO_ASSERT_LOG_ONLY(data_vio == data_vio->hash_lock->agent, in assert_hash_lock_agent()
410 static void set_duplicate_lock(struct hash_lock *hash_lock, struct pbn_lock *pbn_lock) in set_duplicate_lock() argument
412 VDO_ASSERT_LOG_ONLY((hash_lock->duplicate_lock == NULL), in set_duplicate_lock()
415 hash_lock->duplicate_lock = pbn_lock; in set_duplicate_lock()
424 static inline struct data_vio *dequeue_lock_waiter(struct hash_lock *lock) in dequeue_lock_waiter()
[all …]
Ddedupe.h30 struct hash_lock;
55 struct hash_lock *lock_array;
Dstatistics.h240 struct hash_lock_statistics hash_lock; member
Ddata-vio.h224 struct hash_lock *hash_lock; member
Ddata-vio.c1282 VDO_ASSERT_LOG_ONLY(data_vio->hash_lock == NULL, in finish_cleanup()
1310 if (data_vio->hash_lock != NULL) { in perform_cleanup_stage()
1641 if (data_vio->hash_lock != NULL) in update_block_map()
1802 VDO_ASSERT_LOG_ONLY(data_vio->hash_lock != NULL, in launch_compress_data_vio()
/linux-6.12.1/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()
214 mutex_init(&xn->hash_lock); in xt_rateest_net_init()
/linux-6.12.1/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.12.1/net/bridge/
Dbr_fdb.c233 lockdep_assert_held_once(&br->hash_lock); in br_fdb_find()
381 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local()
386 spin_unlock_bh(&br->hash_lock); in br_fdb_find_delete_local()
470 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr()
502 spin_unlock_bh(&br->hash_lock); in br_fdb_changeaddr()
511 spin_lock_bh(&br->hash_lock); in br_fdb_change_mac_address()
537 spin_unlock_bh(&br->hash_lock); in br_fdb_change_mac_address()
573 spin_lock_bh(&br->hash_lock); in br_fdb_cleanup()
576 spin_unlock_bh(&br->hash_lock); in br_fdb_cleanup()
614 spin_lock_bh(&br->hash_lock); in br_fdb_flush()
[all …]
/linux-6.12.1/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.c93 spin_lock(&tree->hash_lock); in hfs_release_folio()
103 spin_unlock(&tree->hash_lock); in hfs_release_folio()
107 spin_lock(&tree->hash_lock); in hfs_release_folio()
119 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.12.1/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.12.1/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.12.1/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.c89 spin_lock(&tree->hash_lock); in hfsplus_release_folio()
99 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()
104 spin_lock(&tree->hash_lock); in hfsplus_release_folio()
116 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()
Dbtree.c147 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
/linux-6.12.1/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.12.1/drivers/net/vxlan/
Dvxlan_core.c523 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
535 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
540 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
557 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
562 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
1276 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1281 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1339 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1342 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1486 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.12.1/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()
432 spin_lock(&hash_lock); in posix_timer_unhash_and_free()
434 spin_unlock(&hash_lock); in posix_timer_unhash_and_free()
/linux-6.12.1/drivers/crypto/
Ds5p-sss.c321 spinlock_t hash_lock; /* protect hash_ vars */ member
1347 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_finish_req()
1351 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_finish_req()
1376 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1381 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1390 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
2229 spin_lock_init(&pdata->hash_lock); in s5p_aes_probe()
/linux-6.12.1/include/linux/sunrpc/
Dcache.h74 spinlock_t hash_lock; member
/linux-6.12.1/include/net/
Dvxlan.h298 spinlock_t hash_lock[FDB_HASH_SIZE]; member

12