Lines Matching defs:disks
425 g_raid_md_sii_supported(int level, int qual, int disks, int force)
428 if (disks > 8)
432 if (disks < 1)
434 if (!force && (disks < 2 || disks > 6))
438 if (disks < 1)
440 if (!force && (disks != 2))
444 if (disks < 2)
446 if (disks % 2 != 0)
448 if (!force && (disks < 4))
452 if (disks != 1)
456 if (disks < 2)
460 if (disks < 3)
504 * Try to replace OFFLINE disks first, then FAILED.
588 * Different disks may have different sizes,
666 /* Try to get use some of STALE disks. */
677 /* Try to get use some of SPARE disks. */
777 * Make all disks found till the moment take their places
805 /* Pickup any STALE/SPARE disks to refill array if needed. */
853 /* If we collected all needed disks - start array. */
1092 /* Write updated metadata to all disks. */
1158 "(0x%02x/0x%02x), or number of disks (%d).",
1163 /* Search for disks, connect them and probe. */
1317 /* Pickup any STALE/SPARE disks to refill array if needed. */
1400 /* Write updated metadata to remaining disks. */
1542 /* We are done. Print meta data and store them to disks. */
1622 /* Write updated metadata to remaining disks. */