Searched refs:spares (Results 1 - 15 of 15) sorted by relevance

/netbsd-current/sys/dev/mca/
H A Dedvar.h61 u_int8_t spares; /* spares per cylinder */ member in struct:ed_softc
H A Ded_mca.c179 aprint_normal("%s: %u spares/cyl, %s, %s, %s, %s, %s\n",
180 device_xname(ed->sc_dev), ed->spares,
689 ed->spares = ed->sense_data[1] >> 8;
/netbsd-current/lib/libc/db/hash/
H A Dhash.h89 int32_t spares[NCACHED];/* spare pages for overflow */ member in struct:hashhdr
295 #define SPARES hdr.spares
H A Dhash.c407 "spares[%d] = %d\n", i, hashp->SPARES[i]);
971 P_32_COPY(srcp->spares[i], destp->spares[i]);
1002 M_32_SWAP(hdrp->spares[i]);
/netbsd-current/sbin/raidctl/
H A Draidctl.c511 __arraycount(device_config.spares));
517 device_config.spares[i].devname,
518 device_status(device_config.spares[i].status));
521 printf("No spares.\n");
535 if ((device_config.spares[i].status ==
537 (device_config.spares[i].status ==
540 device_config.spares[i].devname);
543 device_config.spares[i].devname,
545 device_config.spares[i].status));
689 __arraycount(device_config.spares));
[all...]
/netbsd-current/external/cddl/osnet/dist/cmd/zpool/
H A Dzpool_vdev.c40 * Hot spares
47 * Hot spares are a special case, and passed down as an array of disk vdevs, at
334 * Allow hot spares to be shared between pools.
875 * for spares there may be no children, and therefore no
1054 nvlist_t **spares; local
1078 &spares, &nspares) == 0) {
1080 verify(nvlist_lookup_uint64(spares[i],
1228 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; local
1236 spares = NULL;
1256 if (spares !
[all...]
H A Dzpool_main.c593 * spares, cache, and log devices from the pool.
936 /* make_root_vdev() allows 0 toplevel children if there are spares */
1351 * For hot spares, we use the terms 'INUSE' and 'AVAILABLE' for
4046 print_spares(zpool_handle_t *zhp, nvlist_t **spares, uint_t nspares, argument
4058 name = zpool_vdev_name(g_zfs, zhp, spares[i], B_FALSE);
4059 print_status_config(zhp, name, spares[i],
4390 nvlist_t **spares, **l2cache; local
4415 &spares, &nspares) == 0)
4416 print_spares(zhp, spares, nspares, namewidth);
5033 (void) printf(gettext(" 3 Hot spares an
[all...]
/netbsd-current/sys/dev/raidframe/
H A Drf_compat80.c78 RF_RaidDisk_t80 spares[RF_MAX_DISKS]; member in struct:RF_DeviceConfig_s80
184 rf_copy_raiddisk80(&config->spares[i],
185 &config80->spares[i]);
H A Drf_compat50.c83 RF_RaidDisk50_t spares[RF_MAX_DISKS]; member in struct:RF_DeviceConfig50_s
205 rf_disk_to_disk50(&d_cfg->spares[i], &raidPtr->Disks[j]);
H A Draidframevar.h525 RF_RaidDisk_t spares[RF_MAX_DISKS]; member in struct:RF_DeviceConfig_s
H A Drf_netbsdkintf.c1464 /* XXXjld what about the spares? */
3842 * Get cache info for all the components (including spares).
3845 * XXXfua feature flags can change as spares are added - lock down somehow
4000 config->spares[i] = raidPtr->Disks[raidPtr->numCol + i];
4001 if (config->spares[i].status == rf_ds_rebuilding_spare) {
4003 config->spares[i].status = rf_ds_used_spare;
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dspa.c1393 * Load (or re-load) the current list of vdevs describing the active spares for
1401 nvlist_t **spares; local
1430 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
1441 * structures associated with it: one in the list of spares (used only
1450 VERIFY(spa_config_parse(spa, &vd, spares[i], NULL, 0,
1489 * Recompute the stashed list of spares, with status information
1495 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *),
1498 spares[i] = vdev_config_generate(spa,
1501 ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0);
1503 nvlist_free(spares[
3291 nvlist_t **spares; local
3690 nvlist_t **spares, **l2cache; local
4343 nvlist_t **spares, **l2cache; local
4771 nvlist_t **spares, **l2cache; local
5762 nvlist_t **spares, **l2cache, *nv; local
[all...]
H A Dzfs_ioctl.c1924 nvlist_t *config, **l2cache, **spares; local
1937 &spares, &nspares);
/netbsd-current/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_import.c450 nvlist_t **spares, **l2cache; local
788 * Go through and update the paths for spares, now that we have
794 &spares, &nspares) == 0) {
796 if (fix_paths(spares[i], pl->names) != 0)
1754 * Due to the shared nature of spares, we don't actually report
1756 * can freely create pools on the hot spares of exported pools,
H A Dlibzfs_pool.c1281 nvlist_t **spares, **l2cache; local
1290 &spares, &nspares) == 0) {
1292 "upgraded to add hot spares"));
2936 * Unlike cache & spares, slogs are stored in the
3081 * Remove the given device. Currently, this is supported only for hot spares
3106 "only inactive hot spares, cache, top-level, "
3157 * Don't allow error clearing for hot spares. Do allow

Completed in 405 milliseconds