Lines Matching refs:In_sync
704 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
729 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2814 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2829 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2926 clear_bit(In_sync, &rdev->flags); in raid5_error()
3604 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3721 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3729 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3749 && !test_bit(In_sync, &rdev->flags) in want_replace()
4707 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5429 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6355 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6464 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7604 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7952 if (test_bit(In_sync, &rdev->flags)) in raid5_run()
8078 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
8120 && !test_and_set_bit(In_sync, &replacement->flags)) { in raid5_spare_active()
8123 || !test_and_clear_bit(In_sync, &rdev->flags)) in raid5_spare_active()
8138 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid5_spare_active()
8187 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
8189 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8281 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8298 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8441 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8506 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8516 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8559 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8589 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8592 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()