Searched defs:spares (Results 1 - 12 of 12) 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
225 nvlist_t **spares; local
237 * Find out if there are any hot spares available in the pool.
240 &spares, &nspares) != 0)
262 if (nvlist_lookup_string(spares[s], ZPOOL_CONFIG_PATH,
268 (void) nvlist_add_uint64(spares[s],
272 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/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
326 * Allow hot spares to be shared between pools.
893 * for spares there may be no children, and therefore no
1117 nvlist_t **spares; local
1141 &spares, &nspares) == 0) {
1143 verify(nvlist_lookup_uint64(spares[i],
1296 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; local
1304 spares = NULL;
1324 if (spares !
[all...]
H A Dzpool_main.c1226 /* make_root_vdev() allows 0 toplevel children if there are spares */
1767 * For hot spares, we use the terms 'INUSE' and 'AVAILABLE' for
5493 print_spares(zpool_handle_t *zhp, status_cbdata_t *cb, nvlist_t **spares, argument
5505 name = zpool_vdev_name(g_zfs, zhp, spares[i],
5507 print_status_config(zhp, cb, name, spares[i], 2, B_TRUE);
5881 nvlist_t **spares, **l2cache; local
5921 &spares, &nspares) == 0)
5922 print_spares(zhp, cbp, spares, nspares);
6444 (void) printf(gettext(" 3 Hot spares and double parity "
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_removal.c2065 nvlist_t **spares, **l2cache, *nv; local
2092 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0 &&
2093 (nv = spa_nvlist_lookup_by_guid(spares, nspares, guid)) != NULL) {
2109 ZPOOL_CONFIG_SPARES, spares, nspares, nv);
H A Dzfs_ioctl.c1931 nvlist_t *config, **l2cache, **spares; local
1944 &spares, &nspares);
H A Dspa.c1566 * Load (or re-load) the current list of vdevs describing the active spares for
1574 nvlist_t **spares; local
1615 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
1626 * structures associated with it: one in the list of spares (used only
1635 VERIFY(spa_config_parse(spa, &vd, spares[i], NULL, 0,
1674 * Recompute the stashed list of spares, with status information
1680 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *),
1683 spares[i] = vdev_config_generate(spa,
1686 ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0);
1688 nvlist_free(spares[
4642 nvlist_t **spares; local
5044 nvlist_t **spares, **l2cache; local
5549 nvlist_t **spares, **l2cache; local
6004 nvlist_t **spares, **l2cache; local
[all...]
/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/libzfs/common/
H A Dlibzfs_import.c415 nvlist_t **spares, **l2cache; local
759 * Go through and update the paths for spares, now that we have
765 &spares, &nspares) == 0) {
767 if (fix_paths(spares[i], pl->names) != 0)
1702 * Due to the shared nature of spares, we don't actually report
1704 * can freely create pools on the hot spares of exported pools,
H A Dlibzfs_pool.c1430 nvlist_t **spares, **l2cache; local
1439 &spares, &nspares) == 0) {
1441 "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 573 milliseconds