Lines Matching defs:x
17 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument
18 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument
19 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument
20 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument
22 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument
23 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument
25 #define BF32_SET(x, low, len, val) \ argument
27 #define BF64_SET(x, low, len, val) \ argument
30 #define BF32_GET_SB(x, low, len, shift, bias) \ argument
32 #define BF64_GET_SB(x, low, len, shift, bias) \ argument
35 #define BF32_SET_SB(x, low, len, shift, bias, val) \ argument
37 #define BF64_SET_SB(x, low, len, shift, bias, val) \ argument
161 #define DVA_SET_ASIZE(dva, x) \ argument
165 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x) argument
168 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x) argument
171 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x) argument
175 #define BP_SET_LSIZE(bp, x) \ argument
179 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x) argument
182 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) argument
185 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument
188 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x) argument
191 #define BP_SET_PROP_BIT_61(bp, x) BF64_SET((bp)->blk_prop, 61, 1, x) argument
194 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x) argument
197 #define BP_SET_BYTEORDER(bp, x) BF64_SET((bp)->blk_prop, 63, 1, x) argument