Lines Matching defs:disks
378 g_raid_md_nvidia_supported(int level, int qual, int disks, int force)
383 if (disks < 1)
385 if (!force && (disks < 2 || disks > 6))
389 if (disks < 1)
391 if (!force && (disks != 2))
395 if (disks < 2)
397 if (disks % 2 != 0)
399 if (!force && (disks < 4))
403 if (disks != 1)
407 if (disks < 2)
411 if (disks < 3)
460 * Try to replace OFFLINE disks first, then FAILED.
537 * Different disks may have different sizes,
610 /* Try to get use some of STALE disks. */
621 /* Try to get use some of SPARE disks. */
720 /* Make all disks found till the moment take their places. */
734 /* Pickup any STALE/SPARE disks to refill array if needed. */
780 /* If we collected all needed disks - start array. */
972 /* Bump volume ID to drop missing disks. */
1007 /* Write updated metadata to all disks. */
1074 "(0x%02x/0x%02x), or number of disks (%d).",
1079 /* Search for disks, connect them and probe. */
1235 /* Pickup any STALE/SPARE disks to refill array if needed. */
1318 /* Write updated metadata to remaining disks. */
1471 /* We are done. Print meta data and store them to disks. */
1521 /* Erase metadata to prevent disks's later resurrection. */
1534 /* Write updated metadata to remaining disks. */