Searched refs:BF64_SET (Results 1 - 8 of 8) 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.h118 #define WEIGHT_SET_ACTIVE(weight, x) BF64_SET((weight), 62, 2, x)
122 #define WEIGHT_SET_SPACEBASED(weight) BF64_SET((weight), 61, 1, 1)
128 #define WEIGHT_SET_INDEX(weight, x) BF64_SET((weight), 55, 6, x)
130 #define WEIGHT_SET_COUNT(weight, x) BF64_SET((weight), 0, 55, x)
H A Dspa.h77 #define BF64_SET(x, low, len, val) do { \ macro
96 BF64_SET(x, low, len, ((val) >> (shift)) - (bias)); \
286 BF64_SET((bp)->blk_prop, 40, 8, t); \
348 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
351 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x)
359 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x)
383 BF64_SET((bp)->blk_prop, 32, SPA_COMPRESSBITS, x)
386 #define BP_SET_EMBEDDED(bp, x) BF64_SET((bp)->blk_prop, 39, 1, x)
393 BF64_SET((bp)->blk_prop, 40, 8, x); \
397 #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 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)
H A Dddt.h86 #define DDK_SET_COMPRESS(ddk, x) BF64_SET((ddk)->ddk_prop, 32, 8, x)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dblkptr.c72 BF64_SET(w, (i % sizeof (w)) * NBBY, NBBY, data8[i]);
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h96 #define BF64_SET(x, low, len, val) \ macro
107 BF64_SET(x, low, len, ((val) >> (shift)) - (bias))
283 BF64_SET((bp)->blk_prop, 40, 8, t); \
336 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
339 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x)
347 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x)
365 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 7, x)
368 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x)
371 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
374 #define BP_SET_LEVEL(bp, x) BF64_SET((b
[all...]

Completed in 76 milliseconds