Lines Matching refs:In_sync

527 		if (test_bit(In_sync, &rdev->flags) &&  in raid10_end_write_request()
771 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()
1921 test_bit(In_sync, &rdev->flags)) in _enough()
1967 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
1975 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2008 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2039 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2042 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2057 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
2122 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
2155 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2629 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2680 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2712 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3306 test_bit(In_sync, &mrdev->flags))) in raid10_sync_request()
3384 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3470 if (mrdev && !test_bit(In_sync, in raid10_sync_request()
3517 test_bit(In_sync, in raid10_sync_request()
4105 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
4114 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4364 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4379 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4427 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4525 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4535 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4992 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
5078 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
5081 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()