Lines Matching refs:In_sync
531 if (test_bit(In_sync, &rdev->flags) &&
793 if (!test_bit(In_sync, &rdev->flags) &&
1959 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_");
1992 test_bit(In_sync, &rdev->flags))
2039 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) {
2047 if (test_and_clear_bit(In_sync, &rdev->flags))
2081 i, !test_bit(In_sync, &rdev->flags),
2112 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) {
2115 || !test_and_clear_bit(In_sync, &tmp->rdev->flags))
2130 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) {
2199 clear_bit(In_sync, &rdev->flags);
2233 if (test_bit(In_sync, &rdev->flags) ||
2774 test_bit(In_sync, &rdev->flags) &&
2828 !test_bit(In_sync, &rdev->flags))
2862 !test_bit(In_sync, &rdev->flags))
3463 test_bit(In_sync, &mrdev->flags)))
3548 !test_bit(In_sync, &rdev->flags))
3635 if (mrdev && !test_bit(In_sync,
3682 test_bit(In_sync,
4260 !test_bit(In_sync, &disk->rdev->flags)) {
4269 !test_bit(In_sync, &disk->replacement->flags) &&
4522 else if (!test_bit(In_sync, &rdev->flags))
4538 else if (!test_bit(In_sync, &rdev->flags)) {
4587 if (!test_bit(In_sync, &rdev->flags)
4685 set_bit(In_sync, &rdev->flags);
4695 set_bit(In_sync, &rdev->flags);
5167 !test_bit(In_sync, &rdev->flags))
5261 clear_bit(In_sync, &rdev->flags);
5264 clear_bit(In_sync, &rdev->flags);