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

/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c226 uint_t s, nspares; local
240 &spares, &nspares) != 0)
259 for (s = 0; s < nspares; s++) {
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c1118 uint_t i, nspares; local
1141 &spares, &nspares) == 0) {
1142 for (i = 0; i < nspares; i++) {
1297 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; local
1306 nspares = 0;
1429 nspares = children;
1501 if (toplevels == 0 && nspares == 0 && nl2cache == 0) {
1522 if (nspares != 0)
1524 spares, nspares) == 0);
1531 for (t = 0; t < nspares;
[all...]
H A Dzpool_main.c5494 uint_t nspares)
5499 if (nspares == 0)
5504 for (i = 0; i < nspares; i++) {
5882 uint_t nspares, nl2cache; local
5921 &spares, &nspares) == 0)
5922 print_spares(zhp, cbp, spares, nspares);
5493 print_spares(zpool_handle_t *zhp, status_cbdata_t *cb, nvlist_t **spares, uint_t nspares) argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_removal.c2067 uint_t nspares, nl2cache; 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.c1932 uint_t nl2cache = 0, nspares = 0; local
1944 &spares, &nspares);
1956 if (spa_bootfs(spa) != 0 && nl2cache == 0 && nspares == 0) {
H A Dspa.c1575 uint_t nspares; local
1612 nspares = 0;
1615 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
1617 spa->spa_spares.sav_count = (int)nspares;
1620 if (nspares == 0)
1632 spa->spa_spares.sav_vdevs = kmem_alloc(nspares * sizeof (void *),
4643 uint_t i, nspares; local
4658 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0);
4659 if (nspares != 0) {
4661 ZPOOL_CONFIG_SPARES, spares, nspares)
5045 uint_t nspares, nl2cache; local
5550 uint_t nspares, nl2cache; local
6005 uint_t nspares, nl2cache; local
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c416 uint_t i, nspares, nl2cache; local
765 &spares, &nspares) == 0) {
766 for (i = 0; i < nspares; i++) {
H A Dlibzfs_pool.c1431 uint_t nspares, nl2cache; local
1439 &spares, &nspares) == 0) {

Completed in 240 milliseconds