Lines Matching refs:In_sync
1273 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1370 set_bit(In_sync, &rdev->flags); in super_90_validate()
1387 set_bit(In_sync, &rdev->flags); in super_90_validate()
1470 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1500 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1784 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1933 set_bit(In_sync, &rdev->flags); in super_1_validate()
1945 set_bit(In_sync, &rdev->flags); in super_1_validate()
1998 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2105 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2684 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
2902 if (test_bit(In_sync, &flags)) in state_show()
2914 !test_bit(In_sync, &flags)) in state_show()
3013 set_bit(In_sync, &rdev->flags); in state_store()
3026 clear_bit(In_sync, &rdev->flags); in state_store()
3195 if (test_bit(In_sync, &rdev->flags)) in slot_store()
3199 clear_bit(In_sync, &rdev->flags); in slot_store()
3218 set_bit(In_sync, &rdev->flags); in slot_store()
3423 if (test_bit(In_sync, &rdev->flags) || in recovery_start_show()
3445 set_bit(In_sync, &rdev->flags); in recovery_start_store()
3447 clear_bit(In_sync, &rdev->flags); in recovery_start_store()
3779 set_bit(In_sync, &rdev->flags); in analyze_sbs()
3784 clear_bit(In_sync, &rdev->flags); in analyze_sbs()
4056 clear_bit(In_sync, &rdev->flags); in level_store()
6564 if (test_bit(In_sync, &rdev->flags)) in get_array_info()
6659 else if (test_bit(In_sync, &rdev->flags)) { in get_disk_info()
6753 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
6770 clear_bit(In_sync, &rdev->flags); /* just to be sure */ in md_add_new_disk()
6864 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
6969 clear_bit(In_sync, &rdev->flags); in hot_add_disk()
8850 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
9069 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
9150 (!test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9177 !test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9798 !test_bit(In_sync, &rdev->flags) && in read_rdev()