Home
last modified time | relevance | path

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

/openbmc/linux/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 …]
/openbmc/linux/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()
199 mutex_init(&xn->hash_lock); in xt_rateest_net_init()
/openbmc/linux/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 …]
/openbmc/linux/net/bridge/
H A Dbr_fdb.c377 spin_lock_bh(&br->hash_lock); in br_fdb_find_delete_local()
452 spin_lock_bh(&br->hash_lock); in br_fdb_changeaddr()
493 spin_lock_bh(&br->hash_lock); in br_fdb_change_mac_address()
596 spin_lock_bh(&br->hash_lock); in br_fdb_flush()
737 spin_lock_bh(&br->hash_lock); in br_fdb_delete_by_port()
840 spin_lock_bh(&br->hash_lock); in br_fdb_add_local()
904 spin_lock(&br->hash_lock); in br_fdb_update()
913 spin_unlock(&br->hash_lock); in br_fdb_update()
1270 spin_lock_bh(&br->hash_lock); in __br_fdb_delete()
1392 spin_lock_bh(&br->hash_lock); in br_fdb_external_learn_add()
[all …]
H A Dbr_device.c522 spin_lock_init(&br->hash_lock); in br_dev_setup()
H A Dbr_private.h487 spinlock_t hash_lock; member
/openbmc/linux/fs/hfs/
H A 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 …]
H A 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()
H A Dbtree.h47 spinlock_t hash_lock; member
H A Dbtree.c32 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
/openbmc/linux/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()
1072 __acquires(pn->hash_lock) in pppoe_seq_start()
1077 read_lock_bh(&pn->hash_lock); in pppoe_seq_start()
1110 __releases(pn->hash_lock) in pppoe_seq_stop()
[all …]
/openbmc/linux/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()
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 …]
/openbmc/linux/fs/hfsplus/
H A 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 …]
H A 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()
H A Dbtree.c147 spin_lock_init(&tree->hash_lock); in hfs_btree_open()
H A Dhfsplus_fs.h95 spinlock_t hash_lock; member
/openbmc/linux/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]
/openbmc/linux/drivers/net/vxlan/
H A 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()
1487 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop()
2911 spin_lock(&vxlan->hash_lock[h]); in vxlan_cleanup()
2933 spin_unlock(&vxlan->hash_lock[h]); in vxlan_cleanup()
3057 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_flush()
3069 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_flush()
[all …]
H A 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()
/openbmc/linux/kernel/time/
H A 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()
/openbmc/linux/drivers/crypto/
H A 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()
/openbmc/linux/include/linux/sunrpc/
H A Dcache.h74 spinlock_t hash_lock; member
/openbmc/linux/include/net/
H A Dvxlan.h297 spinlock_t hash_lock[FDB_HASH_SIZE]; member