Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c446 uint64_t unit_shift, uint64_t dcols, uint64_t nparity) in vdev_raidz_map_alloc() argument
450 uint64_t b = offset >> unit_shift; in vdev_raidz_map_alloc()
452 uint64_t s = size >> unit_shift; in vdev_raidz_map_alloc()
456 uint64_t o = (b / dcols) << unit_shift; in vdev_raidz_map_alloc()
514 coff += 1ULL << unit_shift; in vdev_raidz_map_alloc()
527 rm->rm_col[c].rc_size = (q + 1) << unit_shift; in vdev_raidz_map_alloc()
529 rm->rm_col[c].rc_size = q << unit_shift; in vdev_raidz_map_alloc()
534 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc()
535 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); in vdev_raidz_map_alloc()
537 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc()