Lines Matching refs:In_sync
524 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
768 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1931 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1962 test_bit(In_sync, &rdev->flags)) in _enough()
2008 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2016 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2049 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2080 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2083 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2098 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
2163 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
2196 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2661 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2712 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2744 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3333 test_bit(In_sync, &mrdev->flags))) in raid10_sync_request()
3411 !test_bit(In_sync, &rdev->flags)) in raid10_sync_request()
3497 if (mrdev && !test_bit(In_sync, in raid10_sync_request()
3544 test_bit(In_sync, in raid10_sync_request()
4131 !test_bit(In_sync, &disk->rdev->flags)) { in raid10_run()
4140 !test_bit(In_sync, &disk->replacement->flags) && in raid10_run()
4390 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4405 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4453 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4551 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4561 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
5016 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
5102 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
5105 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()