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()
363 spin_lock_irqsave(conf->hash_locks + hash, flags); in release_inactive_stripe_list()
369 spin_unlock_irqrestore(conf->hash_locks + hash, flags); in release_inactive_stripe_list()
667 spin_lock_irq(conf->hash_locks + hash); in get_active_stripe()
672 *(conf->hash_locks + hash)); in get_active_stripe()
694 *(conf->hash_locks + hash)); in get_active_stripe()
719 spin_unlock_irq(conf->hash_locks + hash); in get_active_stripe()
773 spin_lock_irq(conf->hash_locks + hash); in stripe_add_to_batch_list()
791 spin_unlock_irq(conf->hash_locks + hash); in stripe_add_to_batch_list()
2262 spin_lock_irq(conf->hash_locks + hash); in drop_one_stripe()
2264 spin_unlock_irq(conf->hash_locks + hash); in drop_one_stripe()
3525 spin_lock_irq(conf->hash_locks + hash); in handle_stripe_clean_event()
3527 spin_unlock_irq(conf->hash_locks + hash); in handle_stripe_clean_event()
6511 spin_lock_init(conf->hash_locks); in setup_conf()
6513 spin_lock_init(conf->hash_locks + i); in setup_conf()