/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/ |
H A D | spa.h | 46 #define BF64_SET(x, low, len, val) \ macro 57 BF64_SET(x, low, len, ((val) >> (shift)) - (bias)) 185 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x) 188 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x) 196 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x) 211 BF64_SET((bp)->blk_prop, 32, SPA_COMPRESSBITS, x) 214 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) 217 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) 220 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x) 225 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x) [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | metaslab_impl.h | 125 #define WEIGHT_SET_ACTIVE(weight, x) BF64_SET((weight), 61, 3, x) 129 #define WEIGHT_SET_SPACEBASED(weight) BF64_SET((weight), 60, 1, 1) 135 #define WEIGHT_SET_INDEX(weight, x) BF64_SET((weight), 54, 6, x) 137 #define WEIGHT_SET_COUNT(weight, x) BF64_SET((weight), 0, 54, x)
|
H A D | arc_impl.h | 334 BF64_SET((field), 32, SPA_COMPRESSBITS, x) 336 #define L2BLK_SET_PREFETCH(field, x) BF64_SET((field), 39, 1, x) 338 #define L2BLK_SET_CHECKSUM(field, x) BF64_SET((field), 40, 8, x) 340 #define L2BLK_SET_TYPE(field, x) BF64_SET((field), 48, 8, x) 342 #define L2BLK_SET_PROTECTED(field, x) BF64_SET((field), 56, 1, x) 344 #define L2BLK_SET_STATE(field, x) BF64_SET((field), 57, 4, x)
|
H A D | spa.h | 345 BF64_SET((bp)->blk_prop, 40, 8, t); \ 408 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x) 412 BF64_SET((dva)->dva_word[0], 32, SPA_VDEVBITS, x) 420 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x) 444 BF64_SET((bp)->blk_prop, 32, SPA_COMPRESSBITS, x) 447 #define BP_SET_EMBEDDED(bp, x) BF64_SET((bp)->blk_prop, 39, 1, x) 454 BF64_SET((bp)->blk_prop, 40, 8, x); \ 458 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) 461 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x) 465 #define BP_SET_CRYPT(bp, x) BF64_SET((bp)->blk_prop, 61, 1, x) [all …]
|
H A D | sa_impl.h | 74 BF64_SET(x, 24, 16, length); \ 75 BF64_SET(x, 16, 8, bswap); \ 76 BF64_SET(x, 0, 16, attr); \
|
H A D | bitops.h | 58 #define BF64_SET(x, low, len, val) do { \ macro 83 BF64_SET(x, low, len, ((val) >> (shift)) - (bias)); \
|
H A D | zil.h | 197 #define LR_FOID_SET_SLOTS(oid, x) BF64_SET((oid), 56, 8, (x) - 1) 199 #define LR_FOID_SET_OBJ(oid, x) BF64_SET((oid), 0, DN_MAX_OBJECT_SHIFT, (x))
|
H A D | ddt.h | 90 #define DDK_SET_COMPRESS(ddk, x) BF64_SET((ddk)->ddk_prop, 32, 7, x) 93 #define DDK_SET_CRYPT(ddk, x) BF64_SET((ddk)->ddk_prop, 39, 1, x)
|
H A D | zfs_ioctl.h | 77 #define DMU_SET_STREAM_HDRTYPE(vi, x) BF64_SET((vi), 0, 2, x) 80 #define DMU_SET_FEATUREFLAGS(vi, x) BF64_SET((vi), 2, 30, x)
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 110 #define BF64_SET(x, low, len, val) \ macro 121 BF64_SET(x, low, len, ((val) >> (shift)) - (bias)) 297 BF64_SET((bp)->blk_prop, 40, 8, t); \ 350 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x) 353 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x) 361 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x) 379 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 7, x) 382 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) 385 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) 388 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x) [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | blkptr.c | 72 BF64_SET(w, (i % sizeof (w)) * NBBY, NBBY, data8[i]); in encode_embedded_bp_compressed()
|