HomeSort by: relevance | last modified time | path
    Searched refs:nparity (Results 1 - 3 of 3) sorted by relevancy

  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
vdev_raidz.c 453 uint64_t unit_shift, uint64_t dcols, uint64_t nparity)
470 q = s / (dcols - nparity);
476 r = s - q * (dcols - nparity);
479 bc = (r == 0 ? 0 : r + nparity);
485 tot = s + nparity * (q + (r == 0 ? 0 : 1));
492 scols = MIN(dcols, roundup(bc, nparity + 1));
508 rm->rm_firstdatacol = nparity;
542 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift);
543 rm->rm_nskip = roundup(tot, nparity + 1) - tot;
545 ASSERT3U(rm->rm_nskip, <=, nparity);
1491 uint64_t nparity = vd->vdev_nparity; local
1696 uint64_t nparity = vd->vdev_nparity; local
    [all...]
vdev.c 474 uint64_t guid = 0, islog, nparity; local
527 * Set the nparity property for RAID-Z vdevs.
529 nparity = -1ULL;
532 &nparity) == 0) {
533 if (nparity == 0 || nparity > VDEV_RAIDZ_MAXPARITY)
539 if (nparity > 1 &&
542 if (nparity > 2 &&
555 nparity = 1;
558 nparity = 0
    [all...]
  /src/external/cddl/osnet/dist/cmd/zpool/
zpool_vdev.c 1168 long nparity; local
1171 nparity = 1;
1176 nparity = strtol(p, &end, 10);
1177 if (errno != 0 || nparity < 1 || nparity >= 255 ||
1183 *mindev = nparity + 1;

Completed in 27 milliseconds