Lines Matching refs:groupwidth
922 uint64_t groupwidth = vdc->vdc_groupwidth; in vdev_draid_logical_to_physical() local
931 uint64_t groupstart = (group * groupwidth) % ndisks; in vdev_draid_logical_to_physical()
932 ASSERT3U(groupstart + groupwidth, <=, ndisks + groupstart); in vdev_draid_logical_to_physical()
936 b_offset = b_offset % (rowheight_sectors * groupwidth); in vdev_draid_logical_to_physical()
937 ASSERT0(b_offset % groupwidth); in vdev_draid_logical_to_physical()
948 uint64_t row = (*perm * ((groupwidth * ngroups) / ndisks)) + in vdev_draid_logical_to_physical()
949 (((group % ngroups) * groupwidth) / ndisks); in vdev_draid_logical_to_physical()
952 (b_offset / groupwidth)) << ashift); in vdev_draid_logical_to_physical()
998 uint64_t groupwidth = vdc->vdc_groupwidth; in vdev_draid_map_alloc_row() local
999 uint64_t wrap = groupwidth; in vdev_draid_map_alloc_row()
1001 if (groupstart + groupwidth > ndisks) in vdev_draid_map_alloc_row()
1021 ASSERT3U(bc, <, groupwidth); in vdev_draid_map_alloc_row()
1029 rr = kmem_alloc(offsetof(raidz_row_t, rr_col[groupwidth]), KM_SLEEP); in vdev_draid_map_alloc_row()
1030 rr->rr_cols = groupwidth; in vdev_draid_map_alloc_row()
1031 rr->rr_scols = groupwidth; in vdev_draid_map_alloc_row()
1046 for (uint64_t i = 0; i < groupwidth; i++) { in vdev_draid_map_alloc_row()
1076 rr->rr_nempty = roundup(tot, groupwidth) - tot; in vdev_draid_map_alloc_row()
1077 IMPLY(bc > 0, rr->rr_nempty == groupwidth - bc); in vdev_draid_map_alloc_row()