Lines Matching refs:In_sync
1294 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1391 set_bit(In_sync, &rdev->flags); in super_90_validate()
1408 set_bit(In_sync, &rdev->flags); in super_90_validate()
1491 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1521 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1808 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1957 set_bit(In_sync, &rdev->flags); in super_1_validate()
1969 set_bit(In_sync, &rdev->flags); in super_1_validate()
2022 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2129 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2711 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
2931 if (test_bit(In_sync, &flags)) in state_show()
2943 !test_bit(In_sync, &flags)) in state_show()
3036 set_bit(In_sync, &rdev->flags); in state_store()
3047 clear_bit(In_sync, &rdev->flags); in state_store()
3214 if (test_bit(In_sync, &rdev->flags)) in slot_store()
3218 clear_bit(In_sync, &rdev->flags); in slot_store()
3237 set_bit(In_sync, &rdev->flags); in slot_store()
3446 if (test_bit(In_sync, &rdev->flags) || in recovery_start_show()
3468 set_bit(In_sync, &rdev->flags); in recovery_start_store()
3470 clear_bit(In_sync, &rdev->flags); in recovery_start_store()
3803 set_bit(In_sync, &rdev->flags); in analyze_sbs()
3808 clear_bit(In_sync, &rdev->flags); in analyze_sbs()
4080 clear_bit(In_sync, &rdev->flags); in level_store()
6573 if (test_bit(In_sync, &rdev->flags)) in get_array_info()
6668 else if (test_bit(In_sync, &rdev->flags)) { in get_disk_info()
6763 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
6780 clear_bit(In_sync, &rdev->flags); /* just to be sure */ in md_add_new_disk()
6874 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
6981 clear_bit(In_sync, &rdev->flags); in hot_add_disk()
8809 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
9028 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
9109 (!test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9136 !test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9747 !test_bit(In_sync, &rdev->flags) && in read_rdev()