/netbsd-current/sys/dev/mca/ |
H A D | edvar.h | 61 u_int8_t spares; /* spares per cylinder */ member in struct:ed_softc
|
H A D | ed_mca.c | 179 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 D | hash.h | 89 int32_t spares[NCACHED];/* spare pages for overflow */ member in struct:hashhdr 295 #define SPARES hdr.spares
|
H A D | hash.c | 407 "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 D | raidctl.c | 511 __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 D | zpool_vdev.c | 40 * 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 D | zpool_main.c | 593 * 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 D | rf_compat80.c | 78 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 D | rf_compat50.c | 83 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 D | raidframevar.h | 525 RF_RaidDisk_t spares[RF_MAX_DISKS]; member in struct:RF_DeviceConfig_s
|
H A D | rf_netbsdkintf.c | 1464 /* 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 D | spa.c | 1393 * 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 D | zfs_ioctl.c | 1924 nvlist_t *config, **l2cache, **spares; local 1937 &spares, &nspares);
|
/netbsd-current/external/cddl/osnet/dist/lib/libzfs/common/ |
H A D | libzfs_import.c | 450 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 D | libzfs_pool.c | 1281 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
|