Searched refs:unit_shift (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/cddl/boot/zfs/ |
| H A D | zfssubr.c | 1207 vdev_raidz_map_alloc(void *data, off_t offset, size_t size, uint64_t unit_shift, in vdev_raidz_map_alloc() argument 1211 uint64_t b = offset >> unit_shift; in vdev_raidz_map_alloc() 1212 uint64_t s = size >> unit_shift; in vdev_raidz_map_alloc() 1214 uint64_t o = (b / dcols) << unit_shift; in vdev_raidz_map_alloc() 1254 coff += 1ULL << unit_shift; in vdev_raidz_map_alloc() 1266 rm->rm_col[c].rc_size = (q + 1) << unit_shift; in vdev_raidz_map_alloc() 1268 rm->rm_col[c].rc_size = q << unit_shift; in vdev_raidz_map_alloc() 1273 ASSERT3U(asize, ==, tot << unit_shift); in vdev_raidz_map_alloc() 1274 rm->rm_asize = roundup(asize, (nparity + 1) << unit_shift); in vdev_raidz_map_alloc() 1276 ASSERT3U(rm->rm_asize - asize, ==, rm->rm_nskip << unit_shift); in vdev_raidz_map_alloc()
|
| /freebsd/sys/arm64/arm64/ |
| H A D | pmap.c | 2184 int scale, unit_shift; in pmap_s1_invalidate_loop() local 2191 unit_shift = TLBI_RANGE_UNIT_SHIFT(scale); in pmap_s1_invalidate_loop() 2192 units = ulmin(pages >> unit_shift, in pmap_s1_invalidate_loop() 2202 va += ptoa(units << unit_shift); in pmap_s1_invalidate_loop()
|