Lines Matching refs:segment_lock
369 spin_lock_irqsave(&conf->segment_lock, flags); in io_request_done()
377 spin_unlock_irqrestore(&conf->segment_lock, flags); in io_request_done()
383 spin_lock_irqsave(&conf->segment_lock, flags); in sync_request_done()
392 spin_unlock_irqrestore(&conf->segment_lock, flags); in sync_request_done()
615 spin_lock_irq(&conf->segment_lock); in raid1_make_request()
619 conf->segment_lock); in raid1_make_request()
627 spin_unlock_irq(&conf->segment_lock); in raid1_make_request()
866 spin_lock_irq(&conf->segment_lock); in close_sync()
869 wait_event_lock_irq(conf->wait_ready, !conf->cnt_pending, conf->segment_lock); in close_sync()
875 wait_event_lock_irq(conf->wait_ready, !conf->cnt_pending, conf->segment_lock); in close_sync()
880 spin_unlock_irq(&conf->segment_lock); in close_sync()
1410 spin_lock_irq(&conf->segment_lock); in raid1_sync_request()
1430 conf->segment_lock); in raid1_sync_request()
1433 conf->segment_lock); in raid1_sync_request()
1447 spin_unlock_irq(&conf->segment_lock); in raid1_sync_request()
1691 conf->segment_lock = MD_SPIN_LOCK_UNLOCKED; in raid1_run()