Lines Matching refs:desc
1275 mdp_disk_t *desc; in super_90_validate() local
1372 desc = sb->disks + rdev->desc_nr; in super_90_validate()
1374 if (desc->state & (1<<MD_DISK_FAULTY)) in super_90_validate()
1376 else if (desc->state & (1<<MD_DISK_SYNC) /* && in super_90_validate()
1379 rdev->raid_disk = desc->raid_disk; in super_90_validate()
1380 rdev->saved_raid_disk = desc->raid_disk; in super_90_validate()
1381 } else if (desc->state & (1<<MD_DISK_ACTIVE)) { in super_90_validate()
1387 rdev->raid_disk = desc->raid_disk; in super_90_validate()
1390 if (desc->state & (1<<MD_DISK_WRITEMOSTLY)) in super_90_validate()
1392 if (desc->state & (1<<MD_DISK_FAILFAST)) in super_90_validate()
8808 char *desc, *action = NULL; in md_do_sync() local
8837 desc = "data-check"; in md_do_sync()
8840 desc = "requested-resync"; in md_do_sync()
8843 desc = "resync"; in md_do_sync()
8845 desc = "reshape"; in md_do_sync()
8847 desc = "recovery"; in md_do_sync()
8849 mddev->last_sync_action = action ?: desc; in md_do_sync()
8900 desc, mdname(mddev), in md_do_sync()
8968 pr_info("md: %s of RAID array %s\n", desc, mdname(mddev)); in md_do_sync()
8971 speed_max(mddev), desc); in md_do_sync()
8996 desc, mdname(mddev)); in md_do_sync()
9123 pr_info("md: %s: %s %s.\n",mdname(mddev), desc, in md_do_sync()
9146 desc, mdname(mddev)); in md_do_sync()