Home
last modified time | relevance | path

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

/drivers/md/
Ddm-region-hash.c65 rwlock_t hash_lock; member
199 rwlock_init(&rh->hash_lock); in dm_region_hash_create()
304 write_lock_irq(&rh->hash_lock); in __rh_alloc()
319 write_unlock_irq(&rh->hash_lock); in __rh_alloc()
330 read_unlock(&rh->hash_lock); in __rh_find()
332 read_lock(&rh->hash_lock); in __rh_find()
343 read_lock(&rh->hash_lock); in dm_rh_get_state()
345 read_unlock(&rh->hash_lock); in dm_rh_get_state()
414 read_lock(&rh->hash_lock); in dm_rh_mark_nosync()
416 read_unlock(&rh->hash_lock); in dm_rh_mark_nosync()
[all …]
/drivers/net/ppp/
Dpppoe.c104 rwlock_t hash_lock; member
230 read_lock_bh(&pn->hash_lock); in get_item()
234 read_unlock_bh(&pn->hash_lock); in get_item()
263 write_lock_bh(&pn->hash_lock); in delete_item()
265 write_unlock_bh(&pn->hash_lock); in delete_item()
281 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
305 write_unlock_bh(&pn->hash_lock); in pppoe_flush_dev()
325 write_lock_bh(&pn->hash_lock); in pppoe_flush_dev()
329 write_unlock_bh(&pn->hash_lock); in pppoe_flush_dev()
683 write_lock_bh(&pn->hash_lock); in pppoe_connect()
[all …]
/drivers/net/
Dvxlan.c599 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
611 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
616 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_replay()
633 spin_lock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
638 spin_unlock_bh(&vxlan->hash_lock[h]); in vxlan_fdb_clear_offload()
1147 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1152 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add()
1208 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1211 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete()
1326 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop()
[all …]
/drivers/crypto/
Ds5p-sss.c322 spinlock_t hash_lock; /* protect hash_ vars */ member
1352 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_finish_req()
1356 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_finish_req()
1381 spin_lock_irqsave(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1386 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
1395 spin_unlock_irqrestore(&dd->hash_lock, flags); in s5p_hash_handle_queue()
2272 spin_lock_init(&pdata->hash_lock); in s5p_aes_probe()