Lines Matching refs:blk_prop
148 uint64_t blk_prop; /* size, compression, type, etc */ member
174 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1)
176 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x)
178 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8)
179 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x)
181 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8)
182 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x)
184 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8)
185 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
187 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5)
188 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x)
190 #define BP_GET_PROP_BIT_61(bp) BF64_GET((bp)->blk_prop, 61, 1)
191 #define BP_SET_PROP_BIT_61(bp, x) BF64_SET((bp)->blk_prop, 61, 1, x)
193 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1)
194 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x)
196 #define BP_GET_BYTEORDER(bp) (0 - BF64_GET((bp)->blk_prop, 63, 1))
197 #define BP_SET_BYTEORDER(bp, x) BF64_SET((bp)->blk_prop, 63, 1, x)
268 (bp)->blk_prop = 0; \