Lines Matching defs:bp
190 #define BP_GET_LSIZE(bp) \ argument
192 #define BP_SET_LSIZE(bp, x) \ argument
195 #define BP_GET_PSIZE(bp) \ argument
197 #define BP_SET_PSIZE(bp, x) \ argument
200 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8) argument
201 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x) argument
203 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8) argument
204 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) argument
206 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument
207 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument
209 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) argument
210 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x) argument
212 #define BP_GET_PROP_BIT_61(bp) BF64_GET((bp)->blk_prop, 61, 1) argument
213 #define BP_SET_PROP_BIT_61(bp, x) BF64_SET((bp)->blk_prop, 61, 1, x) argument
215 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1) argument
216 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x) argument
218 #define BP_GET_BYTEORDER(bp) (0 - BF64_GET((bp)->blk_prop, 63, 1)) argument
219 #define BP_SET_BYTEORDER(bp, x) BF64_SET((bp)->blk_prop, 63, 1, x) argument
221 #define BP_PHYSICAL_BIRTH(bp) \ argument
224 #define BP_SET_BIRTH(bp, logical, physical) \ argument
230 #define BP_GET_ASIZE(bp) \ argument
234 #define BP_GET_UCSIZE(bp) \ argument
238 #define BP_GET_NDVAS(bp) \ argument
243 #define BP_COUNT_GANG(bp) \ argument
274 #define BP_IDENTITY(bp) (&(bp)->blk_dva[0]) argument
275 #define BP_IS_GANG(bp) DVA_GET_GANG(BP_IDENTITY(bp)) argument
276 #define BP_IS_HOLE(bp) ((bp)->blk_birth == 0) argument
279 #define BP_IS_RAIDZ(bp) (DVA_GET_ASIZE(&(bp)->blk_dva[0]) > \ argument
282 #define BP_ZERO(bp) \ argument
309 #define BP_SHOULD_BYTESWAP(bp) (BP_GET_BYTEORDER(bp) != ZFS_HOST_BYTEORDER) argument