Lines Matching refs:In_sync
1378 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1473 set_bit(In_sync, &rdev->flags); in super_90_validate()
1572 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1602 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1882 clear_bit(In_sync, &rdev->flags); in super_1_validate()
2062 set_bit(In_sync, &rdev->flags); in super_1_validate()
2125 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2232 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2718 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
2926 if (test_bit(In_sync, &flags)) in state_show()
2938 !test_bit(In_sync, &flags)) in state_show()
3034 set_bit(In_sync, &rdev->flags); in state_store()
3047 clear_bit(In_sync, &rdev->flags); in state_store()
3217 if (test_bit(In_sync, &rdev->flags)) in slot_store()
3221 clear_bit(In_sync, &rdev->flags); in slot_store()
3240 set_bit(In_sync, &rdev->flags); in slot_store()
3444 if (test_bit(In_sync, &rdev->flags) || in recovery_start_show()
3466 set_bit(In_sync, &rdev->flags); in recovery_start_store()
3468 clear_bit(In_sync, &rdev->flags); in recovery_start_store()
3827 clear_bit(In_sync, &rdev->flags); in analyze_sbs()
4094 clear_bit(In_sync, &rdev->flags); in level_store()
4847 !test_bit(In_sync, &rdev->flags) && in rdev_needs_recovery()
6875 if (test_bit(In_sync, &rdev->flags)) in get_array_info()
6970 else if (test_bit(In_sync, &rdev->flags)) { in get_disk_info()
7080 clear_bit(In_sync, &rdev->flags); /* just to be sure */ in md_add_new_disk()
7174 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
7276 clear_bit(In_sync, &rdev->flags); in hot_add_disk()
9480 if (!test_bit(In_sync, &rdev->flags)) in rdev_removeable()
9489 !test_bit(In_sync, &rdev->flags) && in rdev_is_spare()
10291 !test_bit(In_sync, &rdev->flags) && in read_rdev()