Lines Matching refs:hash_locks
88 spin_lock_irq(conf->hash_locks + hash); in lock_device_hash_lock()
96 spin_unlock_irq(conf->hash_locks + hash); in unlock_device_hash_lock()
103 spin_lock_irq(conf->hash_locks); in lock_all_device_hash_locks_irq()
105 spin_lock_nest_lock(conf->hash_locks + i, conf->hash_locks); in lock_all_device_hash_locks_irq()
115 spin_unlock(conf->hash_locks + i); in unlock_all_device_hash_locks_irq()
116 spin_unlock_irq(conf->hash_locks); in unlock_all_device_hash_locks_irq()
343 spin_lock_irqsave(conf->hash_locks + hash, flags); in release_inactive_stripe_list()
349 spin_unlock_irqrestore(conf->hash_locks + hash, flags); in release_inactive_stripe_list()
813 spin_lock_irq(conf->hash_locks + hash); in raid5_get_active_stripe()
831 *(conf->hash_locks + hash)); in raid5_get_active_stripe()
866 *(conf->hash_locks + hash)); in raid5_get_active_stripe()
870 spin_unlock_irq(conf->hash_locks + hash); in raid5_get_active_stripe()
932 spin_lock_irq(conf->hash_locks + hash); in stripe_add_to_batch_list()
935 spin_unlock_irq(conf->hash_locks + hash); in stripe_add_to_batch_list()
2683 spin_lock_irq(conf->hash_locks + hash); in drop_one_stripe()
2685 spin_unlock_irq(conf->hash_locks + hash); in drop_one_stripe()
4055 spin_lock_irq(conf->hash_locks + hash); in handle_stripe_clean_event()
4057 spin_unlock_irq(conf->hash_locks + hash); in handle_stripe_clean_event()
7553 spin_lock_init(conf->hash_locks); in setup_conf()
7555 spin_lock_init(conf->hash_locks + i); in setup_conf()