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

/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_hsp.c178 * c. add spares to the HSP to service the list of input devices.
230 dlist_t *spares = devconfig_get_components(default_hsp); local
237 devconfig_set_components(*hsp, spares);
291 * otherwise, add new spares to handle the input list
336 /* does the hsprequest specify spares? */
340 /* put requested spares into HSP */
362 /* select new spares */
381 * PURPOSE: Processes the input HSP request and add spares sufficient
388 * too small to serve as spares.
397 * If spares ar
[all...]
H A Dlayout_svm_util.c159 * 5. the spares in the HSPs
668 * add the named spare slice to its list of spares.
730 dlist_t *spares; local
731 spares = devconfig_get_components(hsp);
732 spares = dlist_append(item, spares, AT_TAIL);
733 devconfig_set_components(hsp, spares);
/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.c26 * The ZFS retire agent is responsible for managing hot spares across all pools.
28 * pool and look for any hot spares. We iterate over any available hot spares
222 nvlist_t **spares; local
232 * Find out if there are any hot spares available in the pool.
235 &spares, &nspares) != 0)
252 if (nvlist_lookup_string(spares[s], ZPOOL_CONFIG_PATH,
257 ZPOOL_CONFIG_CHILDREN, &spares[s], 1);
/illumos-gate/usr/src/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
324 * Allow hot spares to be shared between pools.
814 * for spares there may be no children, and therefore no
991 nvlist_t **spares; local
1015 &spares, &nspares) == 0) {
1017 verify(nvlist_lookup_uint64(spares[i],
1163 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; local
1171 spares = NULL;
1191 if (spares !
[all...]
H A Dzpool_main.c591 * spares, cache, and log devices from the pool.
930 /* make_root_vdev() allows 0 toplevel children if there are spares */
1343 * For hot spares, we use the terms 'INUSE' and 'AVAILABLE' for
4021 print_spares(zpool_handle_t *zhp, nvlist_t **spares, uint_t nspares, argument
4033 name = zpool_vdev_name(g_zfs, zhp, spares[i], B_FALSE);
4034 print_status_config(zhp, name, spares[i],
4355 nvlist_t **spares, **l2cache; local
4380 &spares, &nspares) == 0)
4381 print_spares(zhp, spares, nspares, namewidth);
4882 (void) printf(gettext(" 3 Hot spares an
[all...]
/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/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);
2412 /* check for a better route among the spares */
2419 /* find the best alternative among the spares */
2443 /* find the best alternative among the spares */
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c442 nvlist_t **spares, **l2cache; local
780 * Go through and update the paths for spares, now that we have
786 &spares, &nspares) == 0) {
788 if (fix_paths(spares[i], pl->names) != 0)
1643 * Due to the shared nature of spares, we don't actually report
1645 * 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"));
2920 * Unlike cache & spares, slogs are stored in the
3065 * Remove the given device. Currently, this is supported only for hot spares
3090 "only inactive hot spares, cache, top-level, "
3141 * Don't allow error clearing for hot spares. Do allow
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmd_mddb.h518 int spares[7]; member in struct:mddb_mb
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c1332 * Load (or re-load) the current list of vdevs describing the active spares for
1340 nvlist_t **spares; local
1369 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
1380 * structures associated with it: one in the list of spares (used only
1389 VERIFY(spa_config_parse(spa, &vd, spares[i], NULL, 0,
1428 * Recompute the stashed list of spares, with status information
1434 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *),
1437 spares[i] = vdev_config_generate(spa,
1440 ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0);
1442 nvlist_free(spares[
3206 nvlist_t **spares; local
3600 nvlist_t **spares, **l2cache; local
4055 nvlist_t **spares, **l2cache; local
4478 nvlist_t **spares, **l2cache; local
5462 nvlist_t **spares, **l2cache, *nv; local
[all...]
H A Dzfs_ioctl.c1842 nvlist_t *config, **l2cache, **spares; local
1855 &spares, &nspares);

Completed in 1606 milliseconds