Lines Matching refs:nparity
446 uint64_t unit_shift, uint64_t dcols, uint64_t nparity)
463 q = s / (dcols - nparity);
469 r = s - q * (dcols - nparity);
472 bc = (r == 0 ? 0 : r + nparity);
478 tot = s + nparity * (q + (r == 0 ? 0 : 1));
485 scols = MIN(dcols, roundup(bc, nparity + 1));
501 rm->rm_firstdatacol = nparity;
535 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift);
536 rm->rm_nskip = roundup(tot, nparity + 1) - tot;
538 ASSERT3U(rm->rm_nskip, <=, nparity);
1478 uint64_t nparity = vd->vdev_nparity;
1483 ASSERT(nparity > 0);
1485 if (nparity > VDEV_RAIDZ_MAXPARITY ||
1486 vd->vdev_children < nparity + 1) {
1510 if (numerrors > nparity) {
1679 uint64_t nparity = vd->vdev_nparity;
1682 asize += nparity * ((asize + cols - nparity - 1) / (cols - nparity));
1683 asize = roundup(asize, nparity + 1) << ashift;