Lines Matching refs:in_sync
1471 if (mddev->in_sync)
1953 * be in_sync with rest of array.
1990 if (mddev->in_sync)
2580 if (!mddev->in_sync) {
2585 if (!mddev->in_sync &&
2587 mddev->in_sync = 1;
2589 * Ensure ->in_sync is visible before we clear
2601 return mddev->in_sync;
2762 sync_req = mddev->in_sync;
2767 && (mddev->in_sync && mddev->recovery_cp == MaxSector)
2796 mdname(mddev), mddev->in_sync);
2839 if (mddev->in_sync != sync_req ||
2932 len += sprintf(page+len, "in_sync%s", sep);
4038 mddev->in_sync = 0;
4090 * it must always be in_sync
4092 mddev->in_sync = 1;
4382 else if (mddev->in_sync)
6018 mddev->in_sync = 1;
6184 mddev->in_sync = 0;
6218 ((!mddev->in_sync && !mddev_is_clustered(mddev)) ||
6222 mddev->in_sync = 1;
6599 if (mddev->in_sync)
8502 if (mddev->in_sync || mddev->sync_checkers) {
8504 if (mddev->in_sync) {
8505 mddev->in_sync = 0;
8541 WARN_ON_ONCE(mddev->in_sync || mddev->ro);
8634 if (mddev->in_sync) {
8635 mddev->in_sync = 0;
9253 && !mddev->in_sync && mddev->recovery_cp == MaxSector)
9266 if (!mddev->external && mddev->in_sync)
9276 * - add already-in_sync devices if the array itself
9305 if (try_set_sync && !mddev->external && !mddev->in_sync) {