Lines Matching defs:ashift
584 uint64_t ashift = vd->vdev_ashift;
588 uint64_t rows = ((psize - 1) / (vdc->vdc_ndata << ashift)) + 1;
589 uint64_t asize = (rows * vdc->vdc_groupwidth) << ashift;
904 uint64_t ashift = vd->vdev_top->vdev_ashift;
905 uint64_t b_offset = logical_offset >> ashift;
912 uint64_t rowheight_sectors = VDEV_DRAID_ROWHEIGHT >> ashift;
953 (b_offset / groupwidth)) << ashift);
962 uint64_t ashift = vd->vdev_top->vdev_ashift;
984 (io_asize >> ashift) % vdc->vdc_groupwidth == 0);
1006 const uint64_t psize = io_size >> ashift;
1055 rc->rc_size = (q + 1) << ashift;
1057 rc->rc_size = q << ashift;
1062 ASSERT3U(asize, ==, tot << ashift);
1618 uint64_t ashift = vd->vdev_ashift;
1620 uint64_t psize = MIN(P2ROUNDUP(max_segment * ndata, 1 << ashift),
1624 ASSERT3U(asize % (vdc->vdc_groupwidth << ashift), ==, 0);
1627 psize = (((psize >> ashift) / ndata) * ndata) << ashift;
1635 ASSERT3U(chunk_size % (vdc->vdc_groupwidth << ashift), ==, 0);
2090 uint64_t ashift = raidvd->vdev_top->vdev_ashift;
2093 ASSERT0(logical_rs->rs_start % (1 << ashift));
2094 ASSERT0(logical_rs->rs_end % (1 << ashift));
2153 uint64_t b_size = (logical_end >> ashift) -
2154 (logical_start >> ashift);
2157 vdc->vdc_groupwidth) + 1) << ashift);