Lines Matching refs:In_sync
870 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
897 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1008 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1054 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1080 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1177 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1320 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2182 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2332 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2473 set_bit(In_sync, &rdev->flags); in super_validate()
2479 clear_bit(In_sync, &rdev->flags); /* Mandatory for recovery */ in super_validate()
2487 clear_bit(In_sync, &rdev->flags); in super_validate()
2737 clear_bit(In_sync, &rdev->flags); in rs_setup_takeover()
2878 clear_bit(In_sync, &rdev->flags); in rs_setup_reshape()
3416 !test_bit(In_sync, &rdev->flags))) in __raid_dev_status()
3494 !test_bit(In_sync, &rdev->flags)) { in rs_get_progress()
3847 clear_bit(In_sync, &r->flags); /* Mandatory for hot remove. */ in attempt_restore_of_faulty_devices()
3865 clear_bit(In_sync, &r->flags); in attempt_restore_of_faulty_devices()