Lines Matching refs:In_sync
1261 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1358 set_bit(In_sync, &rdev->flags); in super_90_validate()
1375 set_bit(In_sync, &rdev->flags); in super_90_validate()
1458 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1488 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1772 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1921 set_bit(In_sync, &rdev->flags); in super_1_validate()
1933 set_bit(In_sync, &rdev->flags); in super_1_validate()
1986 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2093 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2638 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
2856 if (test_bit(In_sync, &flags)) in state_show()
2868 !test_bit(In_sync, &flags)) in state_show()
2967 set_bit(In_sync, &rdev->flags); in state_store()
2980 clear_bit(In_sync, &rdev->flags); in state_store()
3152 if (test_bit(In_sync, &rdev->flags)) in slot_store()
3156 clear_bit(In_sync, &rdev->flags); in slot_store()
3175 set_bit(In_sync, &rdev->flags); in slot_store()
3380 if (test_bit(In_sync, &rdev->flags) || in recovery_start_show()
3402 set_bit(In_sync, &rdev->flags); in recovery_start_store()
3404 clear_bit(In_sync, &rdev->flags); in recovery_start_store()
3760 set_bit(In_sync, &rdev->flags); in analyze_sbs()
3765 clear_bit(In_sync, &rdev->flags); in analyze_sbs()
4038 clear_bit(In_sync, &rdev->flags); in level_store()
6605 if (test_bit(In_sync, &rdev->flags)) in get_array_info()
6700 else if (test_bit(In_sync, &rdev->flags)) { in get_disk_info()
6810 clear_bit(In_sync, &rdev->flags); /* just to be sure */ in md_add_new_disk()
6904 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
7009 clear_bit(In_sync, &rdev->flags); in hot_add_disk()
8898 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
9117 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
9199 (!test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9226 !test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9857 !test_bit(In_sync, &rdev->flags) && in read_rdev()