Lines Matching defs:disks

84     u_int32_t		disks[JMICRON_MAX_DISKS];
163 printf("disks ");
165 printf(" 0x%08x", meta->disks[k]);
186 if (meta->disks[pos] == 0)
217 config_id += meta->disks[pos] << pos;
250 if ((meta->disks[pos] & JMICRON_DISK_MASK) == id)
368 g_raid_md_jmicron_supported(int level, int qual, int disks, int force)
371 if (disks > 8)
375 if (disks < 1)
377 if (!force && (disks < 2 || disks > 6))
381 if (disks < 1)
383 if (!force && (disks != 2))
387 if (disks < 2)
389 if (!force && (disks != 4))
393 if (disks != 1)
399 if (disks < 2)
403 if (disks < 3)
449 * Try to replace OFFLINE disks first, then FAILED.
514 meta->disks[disk_pos] = pd->pd_disk_id;
529 * Different disks may have different sizes/offsets,
603 /* Try to get use some of STALE disks. */
614 /* Try to get use some of SPARE disks. */
702 pd->pd_disk_id = meta->disks[disk_pos];
711 /* Make all disks found till the moment take their places. */
725 /* Pickup any STALE/SPARE disks to refill array if needed. */
757 * to get subdisks details, avoiding data from spare disks.
775 /* If we collected all needed disks - start array. */
1004 /* Write updated metadata to all disks. */
1070 "(0x%02x/0x%02x), or number of disks (%d).",
1075 /* Search for disks, connect them and probe. */
1230 /* Pickup any STALE/SPARE disks to refill array if needed. */
1313 /* Write updated metadata to remaining disks. */
1429 meta->disks[i] = 0xffffffff;
1433 meta->disks[i] = pd->pd_disk_id;
1452 /* We are done. Print meta data and store them to disks. */
1514 /* Write updated metadata to remaining disks. */