Home
last modified time | relevance | path

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

/linux/kernel/
H A Daudit_tree.c53 * association between mark and chunk is protected by hash_lock and
68 * tree.chunks anchors chunk.owners[].list hash_lock
70 * chunk.trees anchors tree.same_root hash_lock
72 * a hash function. RCU, hash_lock
212 static __cacheline_aligned_in_smp DEFINE_SPINLOCK(hash_lock);
227 /* hash_lock & mark->group->mark_mutex is held by caller */
286 assert_spin_locked(&hash_lock); in replace_mark_chunk()
359 * whether it didn't change while we've dropped hash_lock. in untag_chunk()
367 spin_lock(&hash_lock); in untag_chunk()
371 spin_unlock(&hash_lock); in untag_chunk()
[all...]
/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()
[all...]
/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 …]
H A Dinode.c103 spin_lock(&tree->hash_lock); in hfs_release_folio()
113 spin_unlock(&tree->hash_lock); in hfs_release_folio()
117 spin_lock(&tree->hash_lock); in hfs_release_folio()
129 spin_unlock(&tree->hash_lock); in hfs_release_folio()
/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()
202 ret = rcu_dereference_protected(pn->hash_table[hash], lockdep_is_held(&pn->hash_lock)); in __delete_item()
210 lockdep_is_held(&pn->hash_lock)); in __delete_item()
216 ret = rcu_dereference_protected(ret->next, lockdep_is_held(&pn->hash_lock)); in __delete_item()
239 spin_lock(&pn->hash_lock); in delete_item()
241 spin_unlock(&pn->hash_lock); in delete_item()
257 spin_lock(&pn->hash_lock); in pppoe_flush_dev()
260 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.c422 lockdep_assert_held_once(&vxlan->hash_lock); in vxlan_find_mac()
431 /* caller should hold vxlan->hash_lock */ in vxlan_fdb_find_rdst()
510 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_replay()
521 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_replay()
525 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_clear_offload()
540 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_clear_offload()
547 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_replace()
1275 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_add()
1280 spin_unlock_bh(&vxlan->hash_lock); in vxlan_fdb_add()
1339 spin_lock_bh(&vxlan->hash_lock); in vxlan_fdb_delete()
[all...]
H A Dvxlan_vnifilter.c535 spin_lock_bh(&vxlan->hash_lock); in vxlan_vni_update_group()
549 spin_unlock_bh(&vxlan->hash_lock); in vxlan_vni_update_group()
562 spin_unlock_bh(&vxlan->hash_lock); in vxlan_vni_update_group()
717 spin_lock_bh(&vxlan->hash_lock); in vxlan_vni_free()
725 spin_unlock_bh(&vxlan->hash_lock); in vxlan_vni_add()
/linux/fs/hfsplus/
H A Dinode.c99 spin_lock(&tree->hash_lock); in hfsplus_release_folio()
109 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()
114 spin_lock(&tree->hash_lock); in hfsplus_release_folio()
126 spin_unlock(&tree->hash_lock); in hfsplus_release_folio()
H A Dhfsplus_fs.h63 spinlock_t hash_lock;
62 spinlock_t hash_lock; global() member
/linux/include/net/
H A Dvxlan.h300 spinlock_t hash_lock; member
/linux/net/bridge/
H A Dbr_device.c513 spin_lock_init(&br->hash_lock); in br_dev_setup()
H A Dbr_private.h523 spinlock_t hash_lock;
504 spinlock_t hash_lock; global() member