Lines Matching defs:nspares
1159 * Allocatable space for dRAID is (children - nspares) * sizeof(smallest child)
1161 * 1 / (children - nspares) of its asize.
1718 uint64_t nspares = vdc->vdc_nspares;
1721 for (uint64_t spare_id = 0; spare_id < nspares; spare_id++) {
2199 uint64_t ndata, nparity, nspares, ngroups;
2218 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_DRAID_NSPARES, &nspares) ||
2219 nspares > 100 || nspares > (children - (ndata + nparity))) {
2232 if (children < (ndata + nparity + nspares))
2249 vdc->vdc_nspares = nspares;
2696 uint_t nspares;
2701 ZPOOL_CONFIG_SPARES, &spares, &nspares) != 0)) {
2710 for (int i = 0; i < nspares; i++) {