Lines Matching defs:x
29 #define BF32_DECODE(x, low, len) P2PHASE((x) >> (low), 1U << (len)) argument
30 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) argument
31 #define BF32_ENCODE(x, low, len) (P2PHASE((x), 1U << (len)) << (low)) argument
32 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) argument
34 #define BF32_GET(x, low, len) BF32_DECODE(x, low, len) argument
35 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len) argument
37 #define BF32_SET(x, low, len, val) \ argument
39 #define BF64_SET(x, low, len, val) \ argument
42 #define BF32_GET_SB(x, low, len, shift, bias) \ argument
44 #define BF64_GET_SB(x, low, len, shift, bias) \ argument
47 #define BF32_SET_SB(x, low, len, shift, bias, val) \ argument
49 #define BF64_SET_SB(x, low, len, shift, bias, val) \ argument
173 #define DVA_SET_ASIZE(dva, x) \ argument
177 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x) argument
180 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x) argument
184 #define DVA_SET_OFFSET(dva, x) \ argument
188 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x) argument
192 #define BP_SET_LSIZE(bp, x) \ argument
197 #define BP_SET_PSIZE(bp, x) \ argument
201 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x) argument
204 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) argument
207 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument
210 #define BP_SET_LEVEL(bp, x) BF64_SET((bp)->blk_prop, 56, 5, x) argument
213 #define BP_SET_PROP_BIT_61(bp, x) BF64_SET((bp)->blk_prop, 61, 1, x) argument
216 #define BP_SET_DEDUP(bp, x) BF64_SET((bp)->blk_prop, 62, 1, x) argument
219 #define BP_SET_BYTEORDER(bp, x) BF64_SET((bp)->blk_prop, 63, 1, x) argument