Lines Matching refs:hash_locks
100 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()
717 spin_unlock_irq(conf->hash_locks + hash); in raid5_get_active_stripe()
775 spin_lock_irq(conf->hash_locks + hash); in stripe_add_to_batch_list()
793 spin_unlock_irq(conf->hash_locks + hash); in stripe_add_to_batch_list()
2264 spin_lock_irq(conf->hash_locks + hash); in drop_one_stripe()
2266 spin_unlock_irq(conf->hash_locks + hash); in drop_one_stripe()
3531 spin_lock_irq(conf->hash_locks + hash); in handle_stripe_clean_event()
3533 spin_unlock_irq(conf->hash_locks + hash); in handle_stripe_clean_event()
6552 spin_lock_init(conf->hash_locks); in setup_conf()
6554 spin_lock_init(conf->hash_locks + i); in setup_conf()