Lines Matching refs:In_sync
1374 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1469 set_bit(In_sync, &rdev->flags); in super_90_validate()
1568 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1598 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1878 clear_bit(In_sync, &rdev->flags); in super_1_validate()
2058 set_bit(In_sync, &rdev->flags); in super_1_validate()
2121 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2228 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2714 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
2922 if (test_bit(In_sync, &flags)) in state_show()
2934 !test_bit(In_sync, &flags)) in state_show()
3030 set_bit(In_sync, &rdev->flags); in state_store()
3043 clear_bit(In_sync, &rdev->flags); in state_store()
3213 if (test_bit(In_sync, &rdev->flags)) in slot_store()
3217 clear_bit(In_sync, &rdev->flags); in slot_store()
3236 set_bit(In_sync, &rdev->flags); in slot_store()
3440 if (test_bit(In_sync, &rdev->flags) || in recovery_start_show()
3462 set_bit(In_sync, &rdev->flags); in recovery_start_store()
3464 clear_bit(In_sync, &rdev->flags); in recovery_start_store()
3823 clear_bit(In_sync, &rdev->flags); in analyze_sbs()
4090 clear_bit(In_sync, &rdev->flags); in level_store()
6806 if (test_bit(In_sync, &rdev->flags)) in get_array_info()
6901 else if (test_bit(In_sync, &rdev->flags)) { in get_disk_info()
7011 clear_bit(In_sync, &rdev->flags); /* just to be sure */ in md_add_new_disk()
7105 set_bit(In_sync, &rdev->flags); in md_add_new_disk()
7207 clear_bit(In_sync, &rdev->flags); in hot_add_disk()
8974 !test_bit(In_sync, &rdev->flags) && in md_sync_position()
9338 !test_bit(In_sync, &rdev->flags) && in md_do_sync()
9414 if (!test_bit(In_sync, &rdev->flags)) in rdev_removeable()
9423 !test_bit(In_sync, &rdev->flags) && in rdev_is_spare()
10225 !test_bit(In_sync, &rdev->flags) && in read_rdev()