Lines Matching refs:device_lock
286 spin_lock_irqsave(&conf->device_lock, flags); in reschedule_retry()
289 spin_unlock_irqrestore(&conf->device_lock, flags); in reschedule_retry()
390 spin_lock_irqsave(&conf->device_lock, flags); in raid1_end_read_request()
395 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_end_read_request()
823 spin_lock_irq(&conf->device_lock); in flush_pending_writes()
830 spin_unlock_irq(&conf->device_lock); in flush_pending_writes()
846 spin_unlock_irq(&conf->device_lock); in flush_pending_writes()
1179 spin_lock_irq(&conf->device_lock); in raid1_unplug()
1181 spin_unlock_irq(&conf->device_lock); in raid1_unplug()
1585 spin_lock_irqsave(&conf->device_lock, flags); in raid1_write_request()
1587 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_write_request()
1664 spin_lock_irqsave(&conf->device_lock, flags); in raid1_error()
1672 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_error()
1680 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_error()
1743 spin_lock_irqsave(&conf->device_lock, flags); in raid1_spare_active()
1775 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_spare_active()
2494 spin_lock_irq(&conf->device_lock); in handle_write_finished()
2498 spin_unlock_irq(&conf->device_lock); in handle_write_finished()
2569 spin_lock_irqsave(&conf->device_lock, flags); in raid1d()
2572 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1d()
2592 spin_lock_irqsave(&conf->device_lock, flags); in raid1d()
2594 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1d()
2601 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1d()
3029 spin_lock_init(&conf->device_lock); in setup_conf()
3338 spin_lock_irqsave(&conf->device_lock, flags); in raid1_reshape()
3340 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_reshape()