Home
last modified time | relevance | path

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

/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()
214 mutex_init(&xn->hash_lock); in xt_rateest_net_init()
/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()
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/fs/hfs/
H A Dbnode.c325 spin_lock(&tree->hash_lock); in __hfs_bnode_create()
334 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
339 spin_unlock(&tree->hash_lock); in __hfs_bnode_create()
380 spin_lock(&tree->hash_lock); in hfs_bnode_find()
384 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
390 spin_unlock(&tree->hash_lock); in hfs_bnode_find()
473 spin_lock(&tree->hash_lock); in hfs_bnode_create()
475 spin_unlock(&tree->hash_lock); in hfs_bnode_create()
524 if (!atomic_dec_and_lock(&node->refcnt, &tree->hash_lock)) in hfs_bnode_put()
534 spin_unlock(&tree->hash_lock); in hfs_bnode_put()
[all …]
/linux/drivers/net/ppp/
H A Dpppoe.c103 spinlock_t hash_lock; member
181 first = rcu_dereference_protected(pn->hash_table[hash], lockdep_is_held(&pn->hash_lock)); in __set_item()
188 ret = rcu_dereference_protected(ret->next, lockdep_is_held(&pn->hash_lock)); in __set_item()
203 ret = rcu_dereference_protected(pn->hash_table[hash], lockdep_is_held(&pn->hash_lock)); in __delete_item()
212 lockdep_is_held(&pn->hash_lock)); in __delete_item()
218 ret = rcu_dereference_protected(ret->next, lockdep_is_held(&pn->hash_lock)); in __delete_item()
242 spin_lock(&pn->hash_lock); in delete_item()
244 spin_unlock(&pn->hash_lock); in delete_item()
260 spin_lock(&pn->hash_lock); in pppoe_flush_dev()
263 lockdep_is_held(&pn->hash_lock)); in pppoe_flush_dev()
[all …]
/linux/net/sunrpc/
H A Dcache.c119 spin_lock(&detail->hash_lock); in sunrpc_cache_add_entry()
123 lockdep_is_held(&detail->hash_lock)) { in sunrpc_cache_add_entry()
134 spin_unlock(&detail->hash_lock); in sunrpc_cache_add_entry()
144 spin_unlock(&detail->hash_lock); in sunrpc_cache_add_entry()
217 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
221 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
225 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
236 spin_lock(&detail->hash_lock); in sunrpc_cache_update()
243 spin_unlock(&detail->hash_lock); in sunrpc_cache_update()
276 spin_lock(&detail->hash_lock); in try_to_negate_entry()
[all …]
/linux/drivers/md/dm-vdo/
H A Ddedupe.h30 struct hash_lock;
55 struct hash_lock *lock_array;
H A Dstatistics.h240 struct hash_lock_statistics hash_lock; member
/linux/drivers/net/vxlan/
H A Dvxlan_core.c416 lockdep_assert_held_once(&vxlan->hash_lock); in vxlan_find_mac()
504 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_replay()
515 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_replay()
519 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_replay()
534 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_clear_offload()
541 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_clear_offload()
1274 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_add()
1279 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_add()
1338 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_delete()
1341 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_delete()
[all …]
H A Dvxlan_vnifilter.c481 spin_lock_bh(&vxlan->hash_lock); in vxlan_update_default_fdb_entry()
493 spin_unlock_bh(&vxlan->hash_lock); in vxlan_update_default_fdb_entry()
506 spin_unlock_bh(&vxlan->hash_lock); in vxlan_update_default_fdb_entry()
622 spin_lock_bh(&vxlan->hash_lock); in vxlan_vni_delete_group()
630 spin_unlock_bh(&vxlan->hash_lock); in vxlan_vni_delete_group()
/linux/include/net/
H A Dvxlan.h300 spinlock_t hash_lock; member
/linux/net/bridge/
H A Dbr_device.c512 spin_lock_init(&br->hash_lock); in br_dev_setup()
H A Dbr_private.h504 spinlock_t hash_lock; member