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()
2766 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2781 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2882 if (test_bit(In_sync, &rdev->flags) && in raid5_error()
2894 clear_bit(In_sync, &rdev->flags); in raid5_error()
3564 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3692 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3699 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3721 && !test_bit(In_sync, &rdev->flags) in want_replace()
4688 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
5426 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
6086 !test_bit(In_sync, &rdev->flags) && in reshape_request()
6193 !test_bit(In_sync, &rdev->flags) && in reshape_request()
7326 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
7624 if (test_bit(In_sync, &rdev->flags)) { in raid5_run()
7808 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid5_status()
7851 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid5_spare_active()
7854 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid5_spare_active()
7869 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid5_spare_active()
7914 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
7916 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8016 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8031 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8165 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8230 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8240 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8304 !test_bit(In_sync, &rdev->flags)) in end_reshape()
8333 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
8336 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()