Home
last modified time | relevance | path

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

/titanic_44/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h45 #define BF64_SET(x, low, len, val) \ macro
56 BF64_SET(x, low, len, ((val) >> (shift)) - (bias))
182 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
185 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x)
193 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x)
206 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 7, x)
209 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x)
212 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
215 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x)
220 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x)
[all …]
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h76 #define BF64_SET(x, low, len, val) do { \ macro
95 BF64_SET(x, low, len, ((val) >> (shift)) - (bias)); \
275 BF64_SET((bp)->blk_prop, 40, 8, t); \
337 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
340 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x)
348 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x)
370 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 7, x)
373 #define BP_SET_EMBEDDED(bp, x) BF64_SET((bp)->blk_prop, 39, 1, x)
380 BF64_SET((bp)->blk_prop, 40, 8, x); \
384 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
[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.h73 #define DMU_SET_STREAM_HDRTYPE(vi, x) BF64_SET((vi), 0, 2, x)
76 #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)
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dblkptr.c72 BF64_SET(w, (i % sizeof (w)) * NBBY, NBBY, data8[i]); in encode_embedded_bp_compressed()
H A Darc.c1142 BF64_SET((_obj)->_field, 32, 8, x)
1146 BF64_SET((_obj)->_field, 40, 8, x)
1150 BF64_SET((_obj)->_field, 48, 8, x)