Lines Matching refs:MD_RECOVERY_RUNNING
2762 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) && in md_update_sb()
2900 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in md_update_sb()
3271 if (test_bit(MD_RECOVERY_RUNNING, &rdev->mddev->recovery)) in slot_store()
3356 test_bit(MD_RECOVERY_RUNNING,&mddev->recovery)) in new_offset_store()
4013 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) || in level_store()
4868 else if (test_bit(MD_RECOVERY_RUNNING, &recovery) || in action_show()
4899 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) && in action_store()
4909 } else if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in action_store()
4922 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in action_store()
5091 if (!test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in sync_completed_show()
5132 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in min_sync_store()
5175 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in max_sync_store()
6356 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in md_set_readonly()
6364 wait_event(resync_wait, !test_bit(MD_RECOVERY_RUNNING, in md_set_readonly()
6373 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) { in md_set_readonly()
6419 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in do_md_stop()
6428 !test_bit(MD_RECOVERY_RUNNING, in do_md_stop()
6436 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) { in do_md_stop()
7274 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) || in update_size()
7313 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) || in update_raid_disks()
9172 if (this && test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in remove_and_add_spares()
9272 clear_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in md_start_sync()
9405 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) && in md_check_recovery()
9420 set_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in md_check_recovery()
9471 clear_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in md_check_recovery()
9523 clear_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in md_reap_sync_thread()