Lines Matching defs:bp

198 #define	BP_GET_LSIZE(bp)	\  argument
200 #define BP_SET_LSIZE(bp, x) \ argument
203 #define BP_GET_PSIZE(bp) \ argument
205 #define BP_SET_PSIZE(bp, x) \ argument
208 #define BP_GET_COMPRESS(bp) \ argument
210 #define BP_SET_COMPRESS(bp, x) \ argument
213 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8) argument
214 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) argument
216 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument
217 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument
219 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) argument
220 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x) argument
222 #define BP_IS_EMBEDDED(bp) BF64_GET((bp)->blk_prop, 39, 1) argument
224 #define BP_GET_DEDUP(bp) BF64_GET((bp)->blk_prop, 62, 1) argument
225 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x) argument
227 #define BP_GET_BYTEORDER(bp) BF64_GET((bp)->blk_prop, 63, 1) argument
228 #define BP_SET_BYTEORDER(bp, x) BF64_SET((bp)->blk_prop, 63, 1, x) argument
230 #define BP_PHYSICAL_BIRTH(bp) \ argument
233 #define BP_SET_BIRTH(bp, logical, physical) \ argument
239 #define BP_GET_ASIZE(bp) \ argument
243 #define BP_GET_UCSIZE(bp) \ argument
247 #define BP_GET_NDVAS(bp) \ argument
278 #define BP_IDENTITY(bp) (&(bp)->blk_dva[0]) argument
279 #define BP_IS_GANG(bp) DVA_GET_GANG(BP_IDENTITY(bp)) argument
282 #define BP_IS_HOLE(bp) DVA_IS_EMPTY(BP_IDENTITY(bp)) argument
285 #define BP_IS_RAIDZ(bp) (DVA_GET_ASIZE(&(bp)->blk_dva[0]) > \ argument
288 #define BP_ZERO(bp) \ argument
305 #define BPE_GET_ETYPE(bp) BP_GET_CHECKSUM(bp) argument
306 #define BPE_GET_LSIZE(bp) \ argument
308 #define BPE_GET_PSIZE(bp) \ argument
318 #define BPE_IS_PAYLOADWORD(bp, wp) \ argument
327 #define BP_SHOULD_BYTESWAP(bp) (BP_GET_BYTEORDER(bp) != ZFS_HOST_BYTEORDER) argument