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()
436 if (atomic_dec_and_lock(&sh->count, &conf->device_lock)) { in release_stripe()
440 spin_unlock(&conf->device_lock); in release_stripe()
702 spin_lock(&conf->device_lock); in get_active_stripe()
715 spin_unlock(&conf->device_lock); in get_active_stripe()
776 spin_lock(&conf->device_lock); in stripe_add_to_batch_list()
789 spin_unlock(&conf->device_lock); in stripe_add_to_batch_list()
2514 spin_lock_irqsave(&conf->device_lock, flags); in error()
2517 spin_unlock_irqrestore(&conf->device_lock, flags); in error()
4722 spin_lock_irqsave(&conf->device_lock, flags); in add_bio_to_retry()
4727 spin_unlock_irqrestore(&conf->device_lock, flags); in add_bio_to_retry()
4876 spin_lock_irq(&conf->device_lock); in chunk_aligned_read()
4879 conf->device_lock); in chunk_aligned_read()
4881 spin_unlock_irq(&conf->device_lock); in chunk_aligned_read()
5000 spin_lock_irq(&conf->device_lock); in raid5_unplug()
5019 spin_unlock_irq(&conf->device_lock); in raid5_unplug()
5208 spin_lock_irq(&conf->device_lock); in make_request()
5217 spin_unlock_irq(&conf->device_lock); in make_request()
5223 spin_unlock_irq(&conf->device_lock); in make_request()
5246 spin_lock_irq(&conf->device_lock); in make_request()
5252 spin_unlock_irq(&conf->device_lock); in make_request()
5461 spin_lock_irq(&conf->device_lock); in reshape_request()
5463 spin_unlock_irq(&conf->device_lock); in reshape_request()
5500 spin_lock_irq(&conf->device_lock); in reshape_request()
5505 spin_unlock_irq(&conf->device_lock); in reshape_request()
5557 spin_lock_irq(&conf->device_lock); in reshape_request()
5559 spin_unlock_irq(&conf->device_lock); in reshape_request()
5745 spin_unlock_irq(&conf->device_lock); in handle_active_stripes()
5751 spin_lock_irq(&conf->device_lock); in handle_active_stripes()
5760 spin_lock_irq(&conf->device_lock); in handle_active_stripes()
5781 spin_lock_irq(&conf->device_lock); in raid5_do_work()
5796 spin_unlock_irq(&conf->device_lock); in raid5_do_work()
5822 spin_lock_irq(&conf->device_lock); in raid5d()
5835 spin_unlock_irq(&conf->device_lock); in raid5d()
5837 spin_lock_irq(&conf->device_lock); in raid5d()
5845 spin_unlock_irq(&conf->device_lock); in raid5d()
5847 spin_lock_irq(&conf->device_lock); in raid5d()
5860 spin_unlock_irq(&conf->device_lock); in raid5d()
5862 spin_lock_irq(&conf->device_lock); in raid5d()
5867 spin_unlock_irq(&conf->device_lock); in raid5d()
6158 spin_lock_irq(&conf->device_lock); in raid5_store_group_thread_cnt()
6162 spin_unlock_irq(&conf->device_lock); in raid5_store_group_thread_cnt()
6473 spin_lock_init(&conf->device_lock); in setup_conf()
7065 spin_lock_irqsave(&conf->device_lock, flags); in raid5_spare_active()
7067 spin_unlock_irqrestore(&conf->device_lock, flags); in raid5_spare_active()
7328 spin_lock_irq(&conf->device_lock); in raid5_start_reshape()
7347 spin_unlock_irq(&conf->device_lock); in raid5_start_reshape()
7387 spin_lock_irqsave(&conf->device_lock, flags); in raid5_start_reshape()
7389 spin_unlock_irqrestore(&conf->device_lock, flags); in raid5_start_reshape()
7404 spin_lock_irq(&conf->device_lock); in raid5_start_reshape()
7417 spin_unlock_irq(&conf->device_lock); in raid5_start_reshape()
7435 spin_lock_irq(&conf->device_lock); in end_reshape()
7441 spin_unlock_irq(&conf->device_lock); in end_reshape()
7472 spin_lock_irq(&conf->device_lock); in raid5_finish_reshape()
7474 spin_unlock_irq(&conf->device_lock); in raid5_finish_reshape()