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()
2806 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2821 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2918 clear_bit(In_sync, &rdev->flags); in raid5_error()
3596 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3713 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3721 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3741 && !test_bit(In_sync, &rdev->flags) in want_replace()
4699 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5421 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6347 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6456 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7596 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7944 if (test_bit(In_sync, &rdev->flags)) in raid5_run()
8070 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
8112 && !test_and_set_bit(In_sync, &replacement->flags)) { in raid5_spare_active()
8115 || !test_and_clear_bit(In_sync, &rdev->flags)) in raid5_spare_active()
8130 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid5_spare_active()
8179 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
8181 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8273 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8290 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8433 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8498 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8508 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8551 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8581 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8584 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()