Lines Matching refs:device_lock
101 spin_lock(&conf->device_lock); in lock_device_hash_lock()
106 spin_unlock(&conf->device_lock); in unlock_device_hash_lock()
117 spin_lock(&conf->device_lock); in lock_all_device_hash_locks_irq()
123 spin_unlock(&conf->device_lock); in unlock_all_device_hash_locks_irq()
434 if (atomic_dec_and_lock(&sh->count, &conf->device_lock)) { in raid5_release_stripe()
438 spin_unlock(&conf->device_lock); in raid5_release_stripe()
700 spin_lock(&conf->device_lock); in raid5_get_active_stripe()
713 spin_unlock(&conf->device_lock); in raid5_get_active_stripe()
778 spin_lock(&conf->device_lock); in stripe_add_to_batch_list()
791 spin_unlock(&conf->device_lock); in stripe_add_to_batch_list()
2511 spin_lock_irqsave(&conf->device_lock, flags); in error()
2514 spin_unlock_irqrestore(&conf->device_lock, flags); in error()
4630 spin_lock_irq(&conf->device_lock); in handle_stripe()
4632 spin_unlock_irq(&conf->device_lock); in handle_stripe()
4713 spin_lock_irqsave(&conf->device_lock, flags); in add_bio_to_retry()
4718 spin_unlock_irqrestore(&conf->device_lock, flags); in add_bio_to_retry()
4846 spin_lock_irq(&conf->device_lock); in raid5_read_one_chunk()
4849 conf->device_lock); in raid5_read_one_chunk()
4851 spin_unlock_irq(&conf->device_lock); in raid5_read_one_chunk()
4995 spin_lock_irq(&conf->device_lock); in raid5_unplug()
5014 spin_unlock_irq(&conf->device_lock); in raid5_unplug()
5212 spin_lock_irq(&conf->device_lock); in make_request()
5221 spin_unlock_irq(&conf->device_lock); in make_request()
5227 spin_unlock_irq(&conf->device_lock); in make_request()
5250 spin_lock_irq(&conf->device_lock); in make_request()
5256 spin_unlock_irq(&conf->device_lock); in make_request()
5474 spin_lock_irq(&conf->device_lock); in reshape_request()
5476 spin_unlock_irq(&conf->device_lock); in reshape_request()
5513 spin_lock_irq(&conf->device_lock); in reshape_request()
5518 spin_unlock_irq(&conf->device_lock); in reshape_request()
5573 spin_lock_irq(&conf->device_lock); in reshape_request()
5575 spin_unlock_irq(&conf->device_lock); in reshape_request()
5758 spin_unlock_irq(&conf->device_lock); in handle_active_stripes()
5760 spin_lock_irq(&conf->device_lock); in handle_active_stripes()
5765 spin_unlock_irq(&conf->device_lock); in handle_active_stripes()
5772 spin_lock_irq(&conf->device_lock); in handle_active_stripes()
5782 spin_lock_irq(&conf->device_lock); in handle_active_stripes()
5803 spin_lock_irq(&conf->device_lock); in raid5_do_work()
5818 spin_unlock_irq(&conf->device_lock); in raid5_do_work()
5845 spin_lock_irq(&conf->device_lock); in raid5d()
5850 spin_unlock_irq(&conf->device_lock); in raid5d()
5856 spin_lock_irq(&conf->device_lock); in raid5d()
5869 spin_unlock_irq(&conf->device_lock); in raid5d()
5871 spin_lock_irq(&conf->device_lock); in raid5d()
5879 spin_unlock_irq(&conf->device_lock); in raid5d()
5881 spin_lock_irq(&conf->device_lock); in raid5d()
5894 spin_unlock_irq(&conf->device_lock); in raid5d()
5896 spin_lock_irq(&conf->device_lock); in raid5d()
5901 spin_unlock_irq(&conf->device_lock); in raid5d()
6194 spin_lock_irq(&conf->device_lock); in raid5_store_group_thread_cnt()
6198 spin_unlock_irq(&conf->device_lock); in raid5_store_group_thread_cnt()
6512 spin_lock_init(&conf->device_lock); in setup_conf()
7135 spin_lock_irqsave(&conf->device_lock, flags); in raid5_spare_active()
7137 spin_unlock_irqrestore(&conf->device_lock, flags); in raid5_spare_active()
7415 spin_lock_irq(&conf->device_lock); in raid5_start_reshape()
7434 spin_unlock_irq(&conf->device_lock); in raid5_start_reshape()
7474 spin_lock_irqsave(&conf->device_lock, flags); in raid5_start_reshape()
7476 spin_unlock_irqrestore(&conf->device_lock, flags); in raid5_start_reshape()
7491 spin_lock_irq(&conf->device_lock); in raid5_start_reshape()
7504 spin_unlock_irq(&conf->device_lock); in raid5_start_reshape()
7522 spin_lock_irq(&conf->device_lock); in end_reshape()
7529 spin_unlock_irq(&conf->device_lock); in end_reshape()
7560 spin_lock_irq(&conf->device_lock); in raid5_finish_reshape()
7562 spin_unlock_irq(&conf->device_lock); in raid5_finish_reshape()