• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/module/zfs/

Lines Matching defs:asize

576  * Return the asize which is the psize rounded up to a full group width.
588 uint64_t asize = (rows * vdc->vdc_groupwidth) << ashift;
590 ASSERT3U(asize, !=, 0);
591 ASSERT3U(asize % (vdc->vdc_groupwidth), ==, 0);
593 return (asize);
597 * Deflate the asize to the psize, this includes stripping parity.
600 vdev_draid_asize_to_psize(vdev_t *vd, uint64_t asize)
604 ASSERT0(asize % vdc->vdc_groupwidth);
606 return ((asize / vdc->vdc_groupwidth) * vdc->vdc_ndata);
995 uint64_t iter, asize = 0;
1023 asize += rc->rc_size;
1026 ASSERT3U(asize, ==, tot << ashift);
1126 * 1 / (children - nspares) of its asize.
1430 * Find the smallest child asize and largest sector size to calculate the
1439 uint64_t asize = 0, max_asize = 0;
1449 asize = MIN(asize - 1, cvd->vdev_asize - 1) + 1;
1456 *asizep = asize;
1486 vdev_draid_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize,
1542 *asize = (((child_asize * vdc->vdc_ndisks) / vdc->vdc_groupsz) *
1563 * Return the maximum asize for a rebuild zio in the provided range
1570 vdev_draid_rebuild_asize(vdev_t *vd, uint64_t start, uint64_t asize,
1583 ASSERT3U(asize % (vdc->vdc_groupwidth << ashift), ==, 0);
1587 uint64_t chunk_size = MIN(asize, vdev_psize_to_asize(vd, psize));
1617 uint64_t asize = ((*ms_size - (astart - *ms_start)) / sz) * sz;
1620 *ms_size = asize;
1731 uint64_t asize = vdev_draid_asize(vd, psize);
1740 vdev_draid_offset_to_group(vd, offset + asize - 1));
1756 vdev_draid_offset_to_group(vd, offset + asize - 1)) {
1758 offset + asize, phys_birth, 1))
2403 uint64_t asize, max_asize;
2434 * To avoid this always recalculate the dRAID asize and max_asize.
2436 vdev_draid_calculate_asize(tvd, &asize, &max_asize,
2439 *psize = asize + VDEV_LABEL_START_SIZE + VDEV_LABEL_END_SIZE;