Lines Matching refs:In_sync

526 		if (test_bit(In_sync, &rdev->flags) &&  in raid10_end_write_request()
770 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1925 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1956 test_bit(In_sync, &rdev->flags)) in _enough()
2002 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2010 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2043 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2074 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2077 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2092 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
2154 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
2187 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2648 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2698 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2730 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3288 test_bit(In_sync, &mrdev->flags))) in raid10_sync_request()
3363 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3450 !test_bit(In_sync, &mrdev->flags)) in raid10_sync_request()
3486 test_bit(In_sync, in raid10_sync_request()
4058 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
4067 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4316 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4331 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4379 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4479 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4489 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4945 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
5031 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
5034 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()