Lines Matching refs:MD_RECOVERY_RUNNING

2680 		    test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) &&  in md_update_sb()
2816 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in md_update_sb()
3184 if (test_bit(MD_RECOVERY_RUNNING, &rdev->mddev->recovery)) in slot_store()
3269 test_bit(MD_RECOVERY_RUNNING,&mddev->recovery)) in new_offset_store()
3920 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) || in level_store()
4772 else if (test_bit(MD_RECOVERY_RUNNING, &recovery) || in action_show()
4803 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) && in action_store()
4826 } else if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in action_store()
4839 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in action_store()
5008 if (!test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in sync_completed_show()
5049 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in min_sync_store()
5093 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in max_sync_store()
6287 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in md_set_readonly()
6297 wait_event(resync_wait, !test_bit(MD_RECOVERY_RUNNING, in md_set_readonly()
6306 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) { in md_set_readonly()
6351 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in do_md_stop()
6360 !test_bit(MD_RECOVERY_RUNNING, in do_md_stop()
6368 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) { in do_md_stop()
7209 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) || in update_size()
7248 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) || in update_raid_disks()
9123 if (this && test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in remove_and_add_spares()
9223 clear_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in md_start_sync()
9356 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) && in md_check_recovery()
9372 set_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in md_check_recovery()
9423 clear_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in md_check_recovery()
9474 clear_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in md_reap_sync_thread()