Lines Matching refs:In_sync
505 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
759 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1560 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1593 test_bit(In_sync, &rdev->flags)) in _enough()
1631 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid10_error()
1639 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
1676 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1707 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
1710 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
1725 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
1774 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
1825 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2368 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2424 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2460 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3047 !test_bit(In_sync, &mrdev->flags)) in raid10_sync_request()
3134 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3221 if (!test_bit(In_sync, in raid10_sync_request()
3264 test_bit(In_sync, in raid10_sync_request()
3848 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
3857 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4122 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4138 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4187 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4285 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4295 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4773 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
4867 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
4870 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()