Home
last modified time | relevance | path

Searched refs:hash_locks (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/md/
Draid5.h438 spinlock_t hash_locks[NR_STRIPE_HASH_LOCKS]; member
Draid5.c100 spin_lock_irq(conf->hash_locks + hash); in lock_device_hash_lock()
107 spin_unlock_irq(conf->hash_locks + hash); in unlock_device_hash_lock()
114 spin_lock(conf->hash_locks); in lock_all_device_hash_locks_irq()
116 spin_lock_nest_lock(conf->hash_locks + i, conf->hash_locks); in lock_all_device_hash_locks_irq()
125 spin_unlock(conf->hash_locks + i - 1); in unlock_all_device_hash_locks_irq()
359 spin_lock_irqsave(conf->hash_locks + hash, flags); in release_inactive_stripe_list()
365 spin_unlock_irqrestore(conf->hash_locks + hash, flags); in release_inactive_stripe_list()
665 spin_lock_irq(conf->hash_locks + hash); in raid5_get_active_stripe()
670 *(conf->hash_locks + hash)); in raid5_get_active_stripe()
692 *(conf->hash_locks + hash)); in raid5_get_active_stripe()
[all …]