Searched defs:nspares (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c234 uint_t s, nspares; local
250 &spares, &nspares) != 0)
269 for (s = 0; s < nspares; s++) {
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_removal.c2070 uint_t nspares, nl2cache; 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.c1584 uint_t nspares; local
1621 nspares = 0;
1624 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
1626 spa->spa_spares.sav_count = (int)nspares;
1629 if (nspares == 0)
1641 spa->spa_spares.sav_vdevs = kmem_alloc(nspares * sizeof (void *),
4669 uint_t i, nspares; local
4684 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
4685 if (nspares != 0) {
4687 ZPOOL_CONFIG_SPARES, spares, nspares)
5073 uint_t nspares, nl2cache; local
5614 uint_t nspares, nl2cache; local
6069 uint_t nspares, nl2cache; local
[all...]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c1119 uint_t i, nspares; local
1142 &spares, &nspares) == 0) {
1143 for (i = 0; i < nspares; i++) {
1298 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; local
1307 nspares = 0;
1430 nspares = children;
1502 if (toplevels == 0 && nspares == 0 && nl2cache == 0) {
1523 if (nspares != 0)
1525 spares, nspares) == 0);
1532 for (t = 0; t < nspares;
[all...]
H A Dzpool_main.c6922 uint_t nspares)
6927 if (nspares == 0)
6932 for (i = 0; i < nspares; i++) {
7310 uint_t nspares, nl2cache; local
7352 &spares, &nspares) == 0)
7353 print_spares(zhp, cbp, spares, nspares);
6921 print_spares(zpool_handle_t *zhp, status_cbdata_t *cb, nvlist_t **spares, uint_t nspares) argument
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c475 uint_t i, nspares, nl2cache; local
824 &spares, &nspares) == 0) {
825 for (i = 0; i < nspares; i++) {
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1433 uint_t nspares, nl2cache; local
1441 &spares, &nspares) == 0) {

Completed in 125 milliseconds