/linux/kernel/ |
H A D | audit_tree.c | 365 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/drivers/md/dm-vdo/ |
H A D | dedupe.c | 443 struct hash_lock *old_lock = data_vio->hash_lock; in set_hash_lock() 594 struct hash_lock *lock = data_vio->hash_lock; in vdo_clean_failed_hash_lock() 637 struct hash_lock *lock = agent->hash_lock; in finish_unlocking() 693 struct hash_lock *lock = agent->hash_lock; in unlock_duplicate_pbn() 749 struct hash_lock *lock = agent->hash_lock; in finish_updating() 1080 struct hash_lock *lock = agent->hash_lock; in finish_verifying() 1229 struct hash_lock *lock = agent->hash_lock; in finish_locking() 1669 struct hash_lock *lock = agent->hash_lock; in finish_querying() 1744 struct hash_lock *lock = data_vio->hash_lock; in vdo_continue_hash_lock() 1915 struct hash_lock *lock = data_vio->hash_lock; in vdo_release_hash_lock() [all …]
|
H A D | dedupe.h | 30 struct hash_lock; 55 struct hash_lock *lock_array;
|
H A D | statistics.h | 240 struct hash_lock_statistics hash_lock; member
|
H A D | data-vio.h | 224 struct hash_lock *hash_lock; member
|
H A D | data-vio.c | 1279 VDO_ASSERT_LOG_ONLY(data_vio->hash_lock == NULL, in finish_cleanup() 1307 if (data_vio->hash_lock != NULL) { in perform_cleanup_stage() 1638 if (data_vio->hash_lock != NULL) in update_block_map() 1799 VDO_ASSERT_LOG_ONLY(data_vio->hash_lock != NULL, in launch_compress_data_vio()
|
/linux/net/netfilter/ |
H A D | xt_RATEEST.c | 23 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/drivers/md/ |
H A D | dm-region-hash.c | 68 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/net/bridge/ |
H A D | br_fdb.c | 381 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local() 470 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr() 511 spin_lock_bh(&br->hash_lock); in br_fdb_change_mac_address() 614 spin_lock_bh(&br->hash_lock); in br_fdb_flush() 774 spin_lock_bh(&br->hash_lock); in br_fdb_delete_by_port() 877 spin_lock_bh(&br->hash_lock); in br_fdb_add_local() 945 spin_lock(&br->hash_lock); in br_fdb_update() 954 spin_unlock(&br->hash_lock); in br_fdb_update() 1314 spin_lock_bh(&br->hash_lock); in __br_fdb_delete() 1436 spin_lock_bh(&br->hash_lock); in br_fdb_external_learn_add() [all …]
|
/linux/fs/hfs/ |
H A D | bnode.c | 269 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 …]
|
H A D | inode.c | 94 spin_lock(&tree->hash_lock); in hfs_release_folio() 104 spin_unlock(&tree->hash_lock); in hfs_release_folio() 108 spin_lock(&tree->hash_lock); in hfs_release_folio() 120 spin_unlock(&tree->hash_lock); in hfs_release_folio()
|
H A D | btree.h | 47 spinlock_t hash_lock; member
|
H A D | btree.c | 32 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
|
/linux/drivers/net/ppp/ |
H A D | pppoe.c | 104 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() 1067 __acquires(pn->hash_lock) in pppoe_seq_start() 1072 read_lock_bh(&pn->hash_lock); in pppoe_seq_start() 1105 __releases(pn->hash_lock) in pppoe_seq_stop() [all …]
|
/linux/net/sunrpc/ |
H A D | cache.c | 116 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() 387 spin_lock_init(&cd->hash_lock); in sunrpc_init_cache_detail() 407 spin_lock(&cd->hash_lock); in sunrpc_destroy_cache_detail() 411 spin_unlock(&cd->hash_lock); in sunrpc_destroy_cache_detail() 537 spin_lock(&detail->hash_lock); in cache_purge() [all …]
|
/linux/fs/hfsplus/ |
H A D | bnode.c | 419 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 …]
|
H A D | inode.c | 90 spin_lock(&tree->hash_lock); in hfsplus_release_folio() 100 spin_unlock(&tree->hash_lock); in hfsplus_release_folio() 105 spin_lock(&tree->hash_lock); in hfsplus_release_folio() 117 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()
|
H A D | btree.c | 147 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
|
/linux/Documentation/bpf/ |
H A D | map_lru_hash_update.dot | 12 hash_lock [shape=rectangle,fillcolor=3,label="hashtab lock"] 152 lru_lock -> hash_lock [style=invis] 153 hash_lock -> remote_lock [style=invis]
|
/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 524 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() 1487 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop() 2810 spin_lock(&vxlan->hash_lock[h]); in vxlan_cleanup() 2832 spin_unlock(&vxlan->hash_lock[h]); in vxlan_cleanup() 3038 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_flush() 3058 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_flush() [all …]
|
H A D | vxlan_vnifilter.c | 485 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/kernel/time/ |
H A D | posix-timers.c | 50 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/drivers/crypto/ |
H A D | s5p-sss.c | 321 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/include/linux/sunrpc/ |
H A D | cache.h | 74 spinlock_t hash_lock; member
|
/linux/include/net/ |
H A D | vxlan.h | 298 spinlock_t hash_lock[FDB_HASH_SIZE]; member
|