Lines Matching refs:In_sync
871 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
898 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1010 ((!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1057 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1083 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1180 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1323 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2184 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2334 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2475 set_bit(In_sync, &rdev->flags); in super_validate()
2481 clear_bit(In_sync, &rdev->flags); /* Mandatory for recovery */ in super_validate()
2489 clear_bit(In_sync, &rdev->flags); in super_validate()
2739 clear_bit(In_sync, &rdev->flags); in rs_setup_takeover()
2880 clear_bit(In_sync, &rdev->flags); in rs_setup_reshape()
3418 !test_bit(In_sync, &rdev->flags))) in __raid_dev_status()
3496 !test_bit(In_sync, &rdev->flags)) { in rs_get_progress()
3819 clear_bit(In_sync, &r->flags); /* Mandatory for hot remove. */ in attempt_restore_of_faulty_devices()
3837 clear_bit(In_sync, &r->flags); in attempt_restore_of_faulty_devices()