Lines Matching refs:In_sync

498 		if (test_bit(In_sync, &rdev->flags) &&  in raid10_end_write_request()
831 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1598 test_bit(In_sync, &conf->mirrors[i].rdev->flags) ? "U" : "_"); in status()
1629 test_bit(In_sync, &rdev->flags)) in _enough()
1667 if (test_bit(In_sync, &rdev->flags) in error()
1675 if (test_and_clear_bit(In_sync, &rdev->flags)) in error()
1710 i, !test_bit(In_sync, &tmp->rdev->flags), in print_conf()
1742 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
1745 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
1760 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
1811 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
1873 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
2408 test_bit(In_sync, &rdev->flags) && in fix_read_error()
2462 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
2501 !test_bit(In_sync, &rdev->flags)) in fix_read_error()
3028 test_bit(In_sync, &mirror->rdev->flags)) in sync_request()
3099 !test_bit(In_sync, &conf->mirrors[d].rdev->flags)) in sync_request()
3143 if (!test_bit(In_sync, &rdev->flags)) { in sync_request()
3197 if (!test_bit(In_sync, in sync_request()
3717 !test_bit(In_sync, &disk->rdev->flags)) { in run()
4005 else if (!test_bit(In_sync, &rdev->flags)) in calc_degraded()
4021 else if (!test_bit(In_sync, &rdev->flags)) { in calc_degraded()
4070 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4134 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4144 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4587 !test_bit(In_sync, &rdev->flags)) in handle_reshape_read_error()
4678 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
4681 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()