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()
2817 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2832 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2930 clear_bit(In_sync, &rdev->flags); in raid5_error()
3629 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3758 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3766 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3786 && !test_bit(In_sync, &rdev->flags) in want_replace()
4750 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5474 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6357 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6466 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7602 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7950 if (test_bit(In_sync, &rdev->flags)) in raid5_run()
8076 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
8118 && !test_and_set_bit(In_sync, &replacement->flags)) { in raid5_spare_active()
8121 || !test_and_clear_bit(In_sync, &rdev->flags)) in raid5_spare_active()
8136 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid5_spare_active()
8185 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
8187 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8279 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8296 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8439 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8504 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8514 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8557 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8587 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8590 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()