Searched refs:nparity (Results 1 - 3 of 3) sorted by relevance
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | vdev_raidz.c | 436 uint64_t nparity) 445 q = s / (dcols - nparity); 446 r = s - q * (dcols - nparity); 447 bc = (r == 0 ? 0 : r + nparity); 448 tot = s + nparity * (q + (r == 0 ? 0 : 1)); 452 scols = MIN(dcols, roundup(bc, nparity + 1)); 468 rm->rm_firstdatacol = nparity; 502 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); 503 rm->rm_nskip = roundup(tot, nparity + 1) - tot; 505 ASSERT3U(rm->rm_nskip, <=, nparity); 435 vdev_raidz_map_alloc(zio_t *zio, uint64_t unit_shift, uint64_t dcols, uint64_t nparity) argument 1448 uint64_t nparity = vd->vdev_nparity; local 1501 uint64_t nparity = vd->vdev_nparity; local [all...] |
H A D | vdev.c | 350 uint64_t guid = 0, islog, nparity; local 403 * Set the nparity property for RAID-Z vdevs. 405 nparity = -1ULL; 408 &nparity) == 0) { 409 if (nparity == 0 || nparity > VDEV_RAIDZ_MAXPARITY) 415 if (nparity > 1 && 418 if (nparity > 2 && 431 nparity = 1; 434 nparity [all...] |
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/cmd/zpool/ |
H A D | zpool_vdev.c | 953 long nparity; local 956 nparity = 1; 961 nparity = strtol(p, &end, 10); 962 if (errno != 0 || nparity < 1 || nparity >= 255 || 968 *mindev = nparity + 1;
|
Completed in 73 milliseconds