ZPOOL_CONFIG_SPARES
if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_SPARES, &child,
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES, &child,
if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
verify(nvlist_add_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
aux = ZPOOL_CONFIG_SPARES;
cb.cb_type = ZPOOL_CONFIG_SPARES;
nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
if (nvlist_lookup_nvlist_array(nv, ZPOOL_CONFIG_SPARES,
show_vdev_stats(NULL, ZPOOL_CONFIG_SPARES, nvroot, 0);
if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
VERIFY(nvlist_remove(spa->spa_spares.sav_config, ZPOOL_CONFIG_SPARES,
ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0);
ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
ZPOOL_CONFIG_SPARES, spares, nspares) == 0);
ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
&spa->spa_spares, ZPOOL_CONFIG_SPARES, SPA_VERSION_SPARES,
if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
ZPOOL_CONFIG_SPARES, spares, nspares) == 0);
if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES,
ZPOOL_CONFIG_SPARES, DATA_TYPE_NVLIST_ARRAY) == 0);
ZPOOL_CONFIG_SPARES, spares, nspares) == 0);
if (nvlist_lookup_nvlist_array(nvroot, ZPOOL_CONFIG_SPARES, &spares,
ZPOOL_CONFIG_SPARES);
if (nvlist_lookup_nvlist(nvl, ZPOOL_CONFIG_SPARES, &tmp) == 0 ||
ZPOOL_CONFIG_SPARES, DMU_POOL_SPARES);
ZPOOL_CONFIG_SPARES, &aux, &naux) == 0);
ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0 &&
ZPOOL_CONFIG_SPARES, spares, nspares, nv);