Lines Matching refs:In_sync
393 else if (test_bit(In_sync, &rdev->flags)) in has_failed()
417 else if (test_bit(In_sync, &rdev->flags)) in has_failed()
1705 if (test_and_clear_bit(In_sync, &rdev->flags)) { in error()
2242 if (rdev && test_bit(In_sync, &rdev->flags)) in handle_failed_stripe()
3081 else if (test_bit(In_sync, &rdev->flags)) in handle_stripe5()
3372 else if (test_bit(In_sync, &rdev->flags)) in handle_stripe6()
3837 if (rdev && test_bit(In_sync, &rdev->flags)) { in chunk_aligned_read()
4858 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
5040 if (test_bit(In_sync, &rdev->flags)) { in run()
5238 test_bit(In_sync, &conf->disks[i].rdev->flags) ? "U" : "_"); in status()
5283 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid5_spare_active()
5307 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
5309 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
5365 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
5473 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
5526 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
5538 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
5620 test_bit(In_sync, in raid5_finish_reshape()