Lines Matching refs:blk_prop
149 uint64_t blk_prop; /* size, compression, type, etc */ member
175 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1)
177 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x)
179 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8)
180 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x)
182 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8)
183 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x)
185 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8)
186 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
188 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5)
189 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x)
191 #define BP_GET_PROP_BIT_61(bp) BF64_GET((bp)->blk_prop, 61, 1)
192 #define BP_SET_PROP_BIT_61(bp, x) BF64_SET((bp)->blk_prop, 61, 1, x)
194 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1)
195 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x)
197 #define BP_GET_BYTEORDER(bp) (0 - BF64_GET((bp)->blk_prop, 63, 1))
198 #define BP_SET_BYTEORDER(bp, x) BF64_SET((bp)->blk_prop, 63, 1, x)
269 (bp)->blk_prop = 0; \