Lines Matching refs:device_lock

93 	spin_lock(&conf->device_lock);  in lock_device_hash_lock()
98 spin_unlock(&conf->device_lock); in unlock_device_hash_lock()
108 spin_lock(&conf->device_lock); in lock_all_device_hash_locks_irq()
114 spin_unlock(&conf->device_lock); in unlock_all_device_hash_locks_irq()
413 if (atomic_dec_and_lock_irqsave(&sh->count, &conf->device_lock, flags)) { in raid5_release_stripe()
417 spin_unlock_irqrestore(&conf->device_lock, flags); in raid5_release_stripe()
682 spin_lock(&conf->device_lock); in raid5_get_active_stripe()
700 spin_unlock(&conf->device_lock); in raid5_get_active_stripe()
762 spin_lock(&conf->device_lock); in stripe_add_to_batch_list()
780 spin_unlock(&conf->device_lock); in stripe_add_to_batch_list()
2683 spin_lock_irqsave(&conf->device_lock, flags); in raid5_error()
2687 spin_unlock_irqrestore(&conf->device_lock, flags); in raid5_error()
5125 spin_lock_irqsave(&conf->device_lock, flags); in add_bio_to_retry()
5130 spin_unlock_irqrestore(&conf->device_lock, flags); in add_bio_to_retry()
5261 spin_lock_irq(&conf->device_lock); in raid5_read_one_chunk()
5264 conf->device_lock); in raid5_read_one_chunk()
5266 spin_unlock_irq(&conf->device_lock); in raid5_read_one_chunk()
5421 spin_lock_irq(&conf->device_lock); in raid5_unplug()
5440 spin_unlock_irq(&conf->device_lock); in raid5_unplug()
5638 spin_lock_irq(&conf->device_lock); in raid5_make_request()
5647 spin_unlock_irq(&conf->device_lock); in raid5_make_request()
5653 spin_unlock_irq(&conf->device_lock); in raid5_make_request()
5676 spin_lock_irq(&conf->device_lock); in raid5_make_request()
5682 spin_unlock_irq(&conf->device_lock); in raid5_make_request()
5891 spin_lock_irq(&conf->device_lock); in reshape_request()
5893 spin_unlock_irq(&conf->device_lock); in reshape_request()
5930 spin_lock_irq(&conf->device_lock); in reshape_request()
5935 spin_unlock_irq(&conf->device_lock); in reshape_request()
5998 spin_lock_irq(&conf->device_lock); in reshape_request()
6000 spin_unlock_irq(&conf->device_lock); in reshape_request()
6181 spin_unlock_irq(&conf->device_lock); in handle_active_stripes()
6183 spin_lock_irq(&conf->device_lock); in handle_active_stripes()
6188 spin_unlock_irq(&conf->device_lock); in handle_active_stripes()
6195 spin_lock_irq(&conf->device_lock); in handle_active_stripes()
6205 spin_lock_irq(&conf->device_lock); in handle_active_stripes()
6227 spin_lock_irq(&conf->device_lock); in raid5_do_work()
6241 conf->device_lock); in raid5_do_work()
6245 spin_unlock_irq(&conf->device_lock); in raid5_do_work()
6277 spin_lock_irq(&conf->device_lock); in raid5d()
6291 spin_unlock_irq(&conf->device_lock); in raid5d()
6293 spin_lock_irq(&conf->device_lock); in raid5d()
6301 spin_unlock_irq(&conf->device_lock); in raid5d()
6303 spin_lock_irq(&conf->device_lock); in raid5d()
6316 spin_unlock_irq(&conf->device_lock); in raid5d()
6318 spin_lock_irq(&conf->device_lock); in raid5d()
6323 spin_unlock_irq(&conf->device_lock); in raid5d()
6617 spin_lock_irq(&conf->device_lock); in raid5_store_group_thread_cnt()
6621 spin_unlock_irq(&conf->device_lock); in raid5_store_group_thread_cnt()
6916 spin_lock_init(&conf->device_lock); in setup_conf()
7564 spin_lock_irqsave(&conf->device_lock, flags); in raid5_spare_active()
7566 spin_unlock_irqrestore(&conf->device_lock, flags); in raid5_spare_active()
7871 spin_lock_irq(&conf->device_lock); in raid5_start_reshape()
7890 spin_unlock_irq(&conf->device_lock); in raid5_start_reshape()
7930 spin_lock_irqsave(&conf->device_lock, flags); in raid5_start_reshape()
7932 spin_unlock_irqrestore(&conf->device_lock, flags); in raid5_start_reshape()
7947 spin_lock_irq(&conf->device_lock); in raid5_start_reshape()
7960 spin_unlock_irq(&conf->device_lock); in raid5_start_reshape()
7978 spin_lock_irq(&conf->device_lock); in end_reshape()
7989 spin_unlock_irq(&conf->device_lock); in end_reshape()
8016 spin_lock_irq(&conf->device_lock); in raid5_finish_reshape()
8018 spin_unlock_irq(&conf->device_lock); in raid5_finish_reshape()