Searched refs:BF64_SET (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h46 #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((b
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dmetaslab_impl.h124 #define WEIGHT_SET_ACTIVE(weight, x) BF64_SET((weight), 61, 3, x)
128 #define WEIGHT_SET_SPACEBASED(weight) BF64_SET((weight), 60, 1, 1)
134 #define WEIGHT_SET_INDEX(weight, x) BF64_SET((weight), 54, 6, x)
136 #define WEIGHT_SET_COUNT(weight, x) BF64_SET((weight), 0, 54, x)
H A Dspa.h84 #define BF64_SET(x, low, len, val) do { \ macro
103 BF64_SET(x, low, len, ((val) >> (shift)) - (bias)); \
387 BF64_SET((bp)->blk_prop, 40, 8, t); \
450 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
454 BF64_SET((dva)->dva_word[0], 32, SPA_VDEVBITS, x)
462 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x)
486 BF64_SET((bp)->blk_prop, 32, SPA_COMPRESSBITS, x)
489 #define BP_SET_EMBEDDED(bp, x) BF64_SET((bp)->blk_prop, 39, 1, x)
496 BF64_SET((bp)->blk_prop, 40, 8, x); \
500 #define BP_SET_TYPE(bp, x) BF64_SET((b
[all...]
H A Dsa_impl.h74 BF64_SET(x, 24, 16, length); \
75 BF64_SET(x, 16, 8, bswap); \
76 BF64_SET(x, 0, 16, attr); \
H A Dddt.h90 #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 Dzil.h197 #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 Dzfs_ioctl.h76 #define DMU_SET_STREAM_HDRTYPE(vi, x) BF64_SET((vi), 0, 2, x)
79 #define DMU_SET_FEATUREFLAGS(vi, x) BF64_SET((vi), 2, 30, x)
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h98 #define BF64_SET(x, low, len, val) \ macro
109 BF64_SET(x, low, len, ((val) >> (shift)) - (bias))
285 BF64_SET((bp)->blk_prop, 40, 8, t); \
338 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
341 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x)
349 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x)
367 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 7, x)
370 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x)
373 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
376 #define BP_SET_LEVEL(bp, x) BF64_SET((b
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dblkptr.c72 BF64_SET(w, (i % sizeof (w)) * NBBY, NBBY, data8[i]);

Completed in 120 milliseconds