Home
last modified time | relevance | path

Searched refs:unit_shift (Results 1 – 1 of 1) sorted by relevance

/freebsd-13.1/sys/cddl/boot/zfs/
H A Dzfssubr.c1200 vdev_raidz_map_alloc(void *data, off_t offset, size_t size, uint64_t unit_shift, in vdev_raidz_map_alloc() argument
1204 uint64_t b = offset >> unit_shift; in vdev_raidz_map_alloc()
1205 uint64_t s = size >> unit_shift; in vdev_raidz_map_alloc()
1207 uint64_t o = (b / dcols) << unit_shift; in vdev_raidz_map_alloc()
1247 coff += 1ULL << unit_shift; in vdev_raidz_map_alloc()
1259 rm->rm_col[c].rc_size = (q + 1) << unit_shift; in vdev_raidz_map_alloc()
1261 rm->rm_col[c].rc_size = q << unit_shift; in vdev_raidz_map_alloc()
1266 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc()
1267 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); in vdev_raidz_map_alloc()
1269 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc()