Lines Matching refs:In_sync

708 		else if (test_bit(In_sync, &rdev->flags))  in raid5_calc_degraded()
733 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2810 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2824 if (!(set_bad && test_bit(In_sync, &rdev->flags))) in raid5_end_read_request()
2920 clear_bit(In_sync, &rdev->flags); in raid5_error()
3597 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()
4711 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5444 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6377 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6486 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7627 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7998 if (test_bit(In_sync, &rdev->flags)) in raid5_run()
8129 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
8171 && !test_and_set_bit(In_sync, &replacement->flags)) { in raid5_spare_active()
8174 || !test_and_clear_bit(In_sync, &rdev->flags)) in raid5_spare_active()
8189 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid5_spare_active()
8238 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
8240 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8329 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8346 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8491 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8556 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8566 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8609 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8639 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8642 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()