Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c445 uint64_t unit_shift, uint64_t dcols, uint64_t nparity) in vdev_raidz_map_alloc() argument
449 uint64_t b = offset >> unit_shift; in vdev_raidz_map_alloc()
451 uint64_t s = size >> unit_shift; in vdev_raidz_map_alloc()
455 uint64_t o = (b / dcols) << unit_shift; in vdev_raidz_map_alloc()
513 coff += 1ULL << unit_shift; in vdev_raidz_map_alloc()
526 rm->rm_col[c].rc_size = (q + 1) << unit_shift; in vdev_raidz_map_alloc()
528 rm->rm_col[c].rc_size = q << unit_shift; in vdev_raidz_map_alloc()
533 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc()
534 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); in vdev_raidz_map_alloc()
536 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc()