Lines Matching refs:In_sync
1053 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1148 set_bit(In_sync, &rdev->flags); in super_90_validate()
1163 set_bit(In_sync, &rdev->flags); in super_90_validate()
1246 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1276 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1541 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1669 set_bit(In_sync, &rdev->flags); in super_1_validate()
1680 set_bit(In_sync, &rdev->flags); in super_1_validate()
1729 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
1826 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2316 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
2533 if (test_bit(In_sync, &flags)) { in state_show()
2553 !test_bit(In_sync, &flags)) { in state_show()
2637 set_bit(In_sync, &rdev->flags); in state_store()
2642 clear_bit(In_sync, &rdev->flags); in state_store()
2799 if (test_bit(In_sync, &rdev->flags)) in slot_store()
2803 clear_bit(In_sync, &rdev->flags); in slot_store()
2823 set_bit(In_sync, &rdev->flags); in slot_store()
3032 if (test_bit(In_sync, &rdev->flags) || in recovery_start_show()
3054 set_bit(In_sync, &rdev->flags); in recovery_start_store()
3056 clear_bit(In_sync, &rdev->flags); in recovery_start_store()
3321 set_bit(In_sync, &rdev->flags); in analyze_sbs()
3326 clear_bit(In_sync, &rdev->flags); in analyze_sbs()
3597 clear_bit(In_sync, &rdev->flags); in level_store()
5839 if (test_bit(In_sync, &rdev->flags)) in get_array_info()
5931 else if (test_bit(In_sync, &rdev->flags)) { in get_disk_info()
6028 set_bit(In_sync, &rdev->flags); in add_new_disk()
6045 clear_bit(In_sync, &rdev->flags); /* just to be sure */ in add_new_disk()
6117 set_bit(In_sync, &rdev->flags); in add_new_disk()
6224 clear_bit(In_sync, &rdev->flags); in hot_add_disk()
7882 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
8108 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
8152 (!test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
8174 !test_bit(In_sync, &rdev->flags) && in remove_and_add_spares()
9167 !test_bit(In_sync, &rdev->flags) && in read_rdev()