Lines Matching refs:In_sync
506 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
760 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1890 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1923 test_bit(In_sync, &rdev->flags)) in _enough()
1961 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid10_error()
1969 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2006 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2037 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2040 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2055 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
2104 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
2152 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2695 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2751 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2787 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3374 !test_bit(In_sync, &mrdev->flags)) in raid10_sync_request()
3461 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3548 if (!test_bit(In_sync, in raid10_sync_request()
3591 test_bit(In_sync, in raid10_sync_request()
4175 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
4184 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4449 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4465 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4514 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4612 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4622 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
5096 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
5190 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
5193 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()