Lines Matching refs:In_sync

646 		else if (test_bit(In_sync, &rdev->flags))  in raid5_calc_degraded()
672 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2765 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2780 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2881 if (test_bit(In_sync, &rdev->flags) && in raid5_error()
2893 clear_bit(In_sync, &rdev->flags); in raid5_error()
3563 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3691 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3698 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3720 && !test_bit(In_sync, &rdev->flags) in want_replace()
4687 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5432 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6082 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6189 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7322 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7620 if (test_bit(In_sync, &rdev->flags)) { in raid5_run()
7807 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
7850 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid5_spare_active()
7853 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid5_spare_active()
7868 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid5_spare_active()
7913 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
7915 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8015 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8030 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8164 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8229 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8239 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8303 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8332 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8335 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()