Lines Matching refs:In_sync
647 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
673 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2766 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2781 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2885 clear_bit(In_sync, &rdev->flags); in raid5_error()
3561 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3689 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3696 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3718 && !test_bit(In_sync, &rdev->flags) in want_replace()
4685 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5430 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6080 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6187 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7331 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7629 if (test_bit(In_sync, &rdev->flags)) { in raid5_run()
7816 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
7859 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid5_spare_active()
7862 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid5_spare_active()
7877 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid5_spare_active()
7922 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
7924 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8025 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8040 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8174 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8239 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8249 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8313 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8342 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8345 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()