Home
last modified time | relevance | path

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

12

/linux-6.15/kernel/
H A Daudit_tree.c365 spin_lock(&hash_lock); in untag_chunk()
381 spin_lock(&hash_lock); in untag_chunk()
421 spin_lock(&hash_lock); in create_chunk()
476 spin_lock(&hash_lock); in tag_chunk()
495 spin_lock(&hash_lock); in tag_chunk()
571 spin_lock(&hash_lock); in prune_tree_chunks()
593 spin_lock(&hash_lock); in prune_tree_chunks()
612 spin_lock(&hash_lock); in trim_marked()
630 spin_lock(&hash_lock); in trim_marked()
1009 spin_lock(&hash_lock); in evict_chunk()
[all …]
/linux-6.15/drivers/md/dm-vdo/
H A Ddedupe.c438 struct hash_lock *old_lock = data_vio->hash_lock; in set_hash_lock()
589 struct hash_lock *lock = data_vio->hash_lock; in vdo_clean_failed_hash_lock()
632 struct hash_lock *lock = agent->hash_lock; in finish_unlocking()
688 struct hash_lock *lock = agent->hash_lock; in unlock_duplicate_pbn()
745 struct hash_lock *lock = agent->hash_lock; in finish_updating()
1076 struct hash_lock *lock = agent->hash_lock; in finish_verifying()
1225 struct hash_lock *lock = agent->hash_lock; in finish_locking()
1666 struct hash_lock *lock = agent->hash_lock; in finish_querying()
1741 struct hash_lock *lock = data_vio->hash_lock; in vdo_continue_hash_lock()
1912 struct hash_lock *lock = data_vio->hash_lock; in vdo_release_hash_lock()
[all …]
H A Ddedupe.h30 struct hash_lock;
55 struct hash_lock *lock_array;
H A Dstatistics.h240 struct hash_lock_statistics hash_lock; member
H A Ddata-vio.h224 struct hash_lock *hash_lock; member
H A Ddata-vio.c1254 VDO_ASSERT_LOG_ONLY(data_vio->hash_lock == NULL, in finish_cleanup()
1282 if (data_vio->hash_lock != NULL) { in perform_cleanup_stage()
1613 if (data_vio->hash_lock != NULL) in update_block_map()
1774 VDO_ASSERT_LOG_ONLY(data_vio->hash_lock != NULL, in launch_compress_data_vio()
/linux-6.15/net/netfilter/
H A 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.15/drivers/md/
H A Ddm-region-hash.c68 rwlock_t hash_lock; member
202 rwlock_init(&rh->hash_lock); in dm_region_hash_create()
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()
510 read_lock(&rh->hash_lock); in rh_inc()
547 read_lock(&rh->hash_lock); in dm_rh_dec()
607 read_lock(&rh->hash_lock); in __rh_recovery_prepare()
[all …]
/linux-6.15/net/bridge/
H A Dbr_fdb.c374 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local()
463 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr()
504 spin_lock_bh(&br->hash_lock); in br_fdb_change_mac_address()
607 spin_lock_bh(&br->hash_lock); in br_fdb_flush()
767 spin_lock_bh(&br->hash_lock); in br_fdb_delete_by_port()
870 spin_lock_bh(&br->hash_lock); in br_fdb_add_local()
938 spin_lock(&br->hash_lock); in br_fdb_update()
947 spin_unlock(&br->hash_lock); in br_fdb_update()
1311 spin_lock_bh(&br->hash_lock); in __br_fdb_delete()
1428 spin_lock_bh(&br->hash_lock); in br_fdb_external_learn_add()
[all …]
H A Dbr_device.c513 spin_lock_init(&br->hash_lock); in br_dev_setup()
/linux-6.15/fs/hfs/
H A Dbnode.c275 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()
330 spin_lock(&tree->hash_lock); in hfs_bnode_find()
334 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
340 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
423 spin_lock(&tree->hash_lock); in hfs_bnode_create()
425 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
474 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
484 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
H A 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()
H A Dbtree.h47 spinlock_t hash_lock; member
H A Dbtree.c32 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
/linux-6.15/drivers/net/ppp/
H A 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()
323 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
1068 __acquires(pn->hash_lock) in pppoe_seq_start()
1073 read_lock_bh(&pn->hash_lock); in pppoe_seq_start()
1106 __releases(pn->hash_lock) in pppoe_seq_stop()
[all …]
/linux-6.15/net/sunrpc/
H A Dcache.c116 spin_lock(&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()
231 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
271 spin_lock(&detail->hash_lock); in try_to_negate_entry()
398 spin_lock_init(&cd->hash_lock); in sunrpc_init_cache_detail()
418 spin_lock(&cd->hash_lock); in sunrpc_destroy_cache_detail()
422 spin_unlock(&cd->hash_lock); in sunrpc_destroy_cache_detail()
548 spin_lock(&detail->hash_lock); in cache_purge()
[all …]
/linux-6.15/fs/hfsplus/
H A Dbnode.c425 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
433 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
439 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
480 spin_lock(&tree->hash_lock); in hfs_bnode_find()
484 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
491 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
574 spin_lock(&tree->hash_lock); in hfs_bnode_create()
576 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
625 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
635 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
H A 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()
H A Dbtree.c147 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
/linux-6.15/Documentation/bpf/
H A 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.15/drivers/net/vxlan/
H A Dvxlan_core.c528 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
540 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
545 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
562 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
567 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
1497 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop()
2848 spin_lock(&vxlan->hash_lock[h]); in vxlan_cleanup()
2870 spin_unlock(&vxlan->hash_lock[h]); in vxlan_cleanup()
3079 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_flush()
3099 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_flush()
[all …]
H A Dvxlan_vnifilter.c490 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry()
502 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry()
515 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_update_default_fdb_entry()
634 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_vni_delete_group()
642 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_vni_delete_group()
/linux-6.15/drivers/crypto/
H A Ds5p-sss.c321 spinlock_t hash_lock; /* protect hash_ vars */ member
1331 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_finish_req()
1335 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_finish_req()
1360 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1365 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1374 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
2213 spin_lock_init(&pdata->hash_lock); in s5p_aes_probe()
/linux-6.15/include/linux/sunrpc/
H A Dcache.h74 spinlock_t hash_lock; member
/linux-6.15/include/net/
H A Dvxlan.h299 spinlock_t hash_lock[FDB_HASH_SIZE]; member

12