Searched defs:spares (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dhash_auto.h55 u_int32_t spares; member in struct:_ham_splitmeta_args
H A Ddb_page.h95 u_int32_t spares[NCACHED]; member in struct:hashhdr
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c29 * The ZFS retire agent is responsible for managing hot spares across all pools.
31 * pool and look for any hot spares. We iterate over any available hot spares
233 nvlist_t **spares; local
247 * Find out if there are any hot spares available in the pool.
250 &spares, &nspares) != 0)
272 if (nvlist_lookup_string(spares[s], ZPOOL_CONFIG_PATH,
278 (void) nvlist_add_uint64(spares[s],
282 ZPOOL_CONFIG_CHILDREN, &spares[s], 1);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.h96 int32_t spares[NCACHED];/* spare pages for overflow */ member in struct:hashhdr
173 ? hashp->hdr.spares[__log2((B)+1)-1] : 0))
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_removal.c2068 nvlist_t **spares, **l2cache, *nv; local
2095 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0 &&
2096 (nv = spa_nvlist_lookup_by_guid(spares, nspares, guid)) != NULL) {
2112 ZPOOL_CONFIG_SPARES, spares, nspares, nv);
H A Dspa.c1575 * Load (or re-load) the current list of vdevs describing the active spares for
1583 nvlist_t **spares; local
1624 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
1635 * structures associated with it: one in the list of spares (used only
1644 VERIFY(spa_config_parse(spa, &vd, spares[i], NULL, 0,
1683 * Recompute the stashed list of spares, with status information
1689 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *),
1692 spares[i] = vdev_config_generate(spa,
1695 ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0);
1697 nvlist_free(spares[
4668 nvlist_t **spares; local
5072 nvlist_t **spares, **l2cache; local
5613 nvlist_t **spares, **l2cache; local
6068 nvlist_t **spares, **l2cache; local
[all...]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c41 * Hot spares
48 * Hot spares are a special case, and passed down as an array of disk vdevs, at
327 * Allow hot spares to be shared between pools.
894 * for spares there may be no children, and therefore no
1118 nvlist_t **spares; local
1142 &spares, &nspares) == 0) {
1144 verify(nvlist_lookup_uint64(spares[i],
1297 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; local
1305 spares = NULL;
1325 if (spares !
[all...]
H A Dzpool_main.c1313 /* make_root_vdev() allows 0 toplevel children if there are spares */
1860 * For hot spares, we use the terms 'INUSE' and 'AVAILABLE' for
6921 print_spares(zpool_handle_t *zhp, status_cbdata_t *cb, nvlist_t **spares, argument
6933 name = zpool_vdev_name(g_zfs, zhp, spares[i],
6935 print_status_config(zhp, cb, name, spares[i], 2, B_TRUE);
7309 nvlist_t **spares, **l2cache; local
7352 &spares, &nspares) == 0)
7353 print_spares(zhp, cbp, spares, nspares);
7884 (void) printf(gettext(" 3 Hot spares and double parity "
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c1248 int i, spares; local
1259 spares = 0;
1267 spares++;
1277 if (spares == 0) {
1286 trace_act("Got RTM_LOSING. Found a route with %d alternates", spares);
2411 /* check for a better route among the spares */
2418 /* find the best alternative among the spares */
2442 /* find the best alternative among the spares */
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c474 nvlist_t **spares, **l2cache; local
818 * Go through and update the paths for spares, now that we have
824 &spares, &nspares) == 0) {
826 if (fix_paths(spares[i], pl->names) != 0)
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1432 nvlist_t **spares, **l2cache; local
1441 &spares, &nspares) == 0) {
1443 "upgraded to add hot spares"));
3367 * Unlike cache & spares, slogs are stored in the
3645 * Don't allow error clearing for hot spares. Do allow

Completed in 79 milliseconds