Lines Matching refs:blk_prop
147 uint64_t blk_prop; /* size, compression, type, etc */ member
173 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1)
175 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x)
177 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8)
178 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x)
180 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8)
181 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x)
183 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8)
184 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
186 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5)
187 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x)
189 #define BP_GET_PROP_BIT_61(bp) BF64_GET((bp)->blk_prop, 61, 1)
190 #define BP_SET_PROP_BIT_61(bp, x) BF64_SET((bp)->blk_prop, 61, 1, x)
192 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1)
193 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x)
195 #define BP_GET_BYTEORDER(bp) (0 - BF64_GET((bp)->blk_prop, 63, 1))
196 #define BP_SET_BYTEORDER(bp, x) BF64_SET((bp)->blk_prop, 63, 1, x)
267 (bp)->blk_prop = 0; \