Lines Matching refs:disk
171 * we have only one active disk
183 pr_warn("md/raid0:%s: bad disk number %d - aborting!\n",
279 /* disk_shift is first disk index used in the zone */
435 * Convert disk_index to the disk order in which it is read/written.
437 * write the disks starting at disk 3, then the read/write order would
438 * be disk 3, then 0, then 1, and then disk 2 and we want map_disk_shift()
439 * to map the disks as follows 0,1,2,3 => 1,2,3,0. So disk 0 would map
441 * that 'output' space to understand the read/write disk ordering.
460 unsigned int disk;
513 for (disk = 0; disk < zone->nb_dev; disk++) {
518 compare_disk = map_disk_shift(disk, zone->nb_dev,
540 conf->strip_zone[0].nb_dev + disk];
653 /* check slot number for a disk */
655 pr_warn("md/raid0:%s: raid5 must have missing parity disk!\n",
694 pr_warn("md/raid0:%s: Raid0 cannot takeover Raid10 with odd disk number.\n",
766 * raid5 - providing it is Raid4 layout and one disk is faulty