/freebsd-11-stable/lib/libc/db/hash/ |
H A D | hash.h | 84 int32_t spares[NCACHED];/* spare pages for overflow */ member in struct:hashhdr 285 #define SPARES hdr.spares
|
H A D | hash.c | 398 "spares[%d] = %d\n", i, hashp->SPARES[i]); 932 P_32_COPY(srcp->spares[i], destp->spares[i]); 963 M_32_SWAP(hdrp->spares[i]);
|
/freebsd-11-stable/cddl/contrib/opensolaris/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 328 * Allow hot spares to be shared between pools. 872 * for spares there may be no children, and therefore no 1084 nvlist_t **spares; local 1108 &spares, &nspares) == 0) { 1110 verify(nvlist_lookup_uint64(spares[i], 1258 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; local 1266 spares = NULL; 1286 if (spares ! [all...] |
H A D | zpool_main.c | 1122 /* make_root_vdev() allows 0 toplevel children if there are spares */ 1543 * For hot spares, we use the terms 'INUSE' and 'AVAILABLE' for 4767 print_spares(zpool_handle_t *zhp, nvlist_t **spares, uint_t nspares, argument 4779 name = zpool_vdev_name(g_zfs, zhp, spares[i], B_FALSE); 4780 print_status_config(zhp, name, spares[i], 5110 nvlist_t **spares, **l2cache; local 5145 &spares, &nspares) == 0) 5146 print_spares(zhp, spares, nspares, namewidth); 5763 (void) printf(gettext(" 3 Hot spares and double parity "
|
/freebsd-11-stable/cddl/usr.sbin/zfsd/ |
H A D | case_file.cc | 418 /* Try to activate spares if they are available */ 491 nvlist_t **spares; local 523 * Don't activate spares for members of a "replacing" vdev. 534 nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, &spares, 537 /* The pool has no spares configured */ 539 "No spares available for pool %s", poolname); 547 if (nvlist_lookup_uint64_array(spares[i], 564 /* No available spares were found */ 568 error = nvlist_lookup_string(spares[i], ZPOOL_CONFIG_PATH, &devPath); 576 error = nvlist_lookup_string(spares[ [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | spa.c | 1519 * Load (or re-load) the current list of vdevs describing the active spares for 1527 nvlist_t **spares; local 1568 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0); 1579 * structures associated with it: one in the list of spares (used only 1588 VERIFY(spa_config_parse(spa, &vd, spares[i], NULL, 0, 1627 * Recompute the stashed list of spares, with status information 1633 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *), 1636 spares[i] = vdev_config_generate(spa, 1639 ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0); 1641 nvlist_free(spares[ 4280 nvlist_t **spares; local 4721 nvlist_t **spares, **l2cache; local 5406 nvlist_t **spares, **l2cache; local 5864 nvlist_t **spares, **l2cache; local [all...] |
H A D | vdev_removal.c | 2039 nvlist_t **spares, **l2cache, *nv; local 2066 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0 && 2067 (nv = spa_nvlist_lookup_by_guid(spares, nspares, guid)) != NULL) { 2083 ZPOOL_CONFIG_SPARES, spares, nspares, nv);
|
H A D | zfs_ioctl.c | 1960 nvlist_t *config, **l2cache, **spares; local 1973 &spares, &nspares);
|
/freebsd-11-stable/sys/geom/raid/ |
H A D | md_jmicron.c | 1397 int i, spares; local 1441 /* Put spares to their slots. */ 1442 spares = 0; 1447 meta->spare[spares] = pd->pd_disk_id; 1448 if (++spares >= 2)
|
H A D | md_nvidia.c | 1401 int i, spares; local 1475 spares = 0; 1497 pd->pd_meta->disk_number = meta->total_disks + spares++;
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_import.c | 443 nvlist_t **spares, **l2cache; local 787 * Go through and update the paths for spares, now that we have 793 &spares, &nspares) == 0) { 795 if (fix_paths(spares[i], pl->names) != 0) 1792 * Due to the shared nature of spares, we don't actually report 1794 * can freely create pools on the hot spares of exported pools,
|
H A D | libzfs_pool.c | 1349 nvlist_t **spares, **l2cache; local 1358 &spares, &nspares) == 0) { 1360 "upgraded to add hot spares")); 3131 * Unlike cache & spares, slogs are stored in the 3416 * Don't allow error clearing for hot spares. Do allow
|