Home
last modified time | relevance | path

Searched refs:BF64_DECODE (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Dspace_map.h175 #define SM_PREFIX_DECODE(x) BF64_DECODE(x, 62, 2)
178 #define SM_DEBUG_ACTION_DECODE(x) BF64_DECODE(x, 60, 2)
180 #define SM_DEBUG_SYNCPASS_DECODE(x) BF64_DECODE(x, 50, 10)
182 #define SM_DEBUG_TXG_DECODE(x) BF64_DECODE(x, 0, 50)
185 #define SM_OFFSET_DECODE(x) BF64_DECODE(x, 16, SM_OFFSET_BITS)
187 #define SM_TYPE_DECODE(x) BF64_DECODE(x, 15, 1)
189 #define SM_RUN_DECODE(x) (BF64_DECODE(x, 0, SM_RUN_BITS) + 1)
194 #define SM2_RUN_DECODE(x) (BF64_DECODE(x, SPA_VDEVBITS, SM2_RUN_BITS) + 1)
196 #define SM2_VDEV_DECODE(x) BF64_DECODE(x, 0, SPA_VDEVBITS)
198 #define SM2_TYPE_DECODE(x) BF64_DECODE(x, SM2_OFFSET_BITS, 1)
[all …]
H A Dbitops.h46 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) macro
51 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len)
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h102 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) macro
107 #define BF64_GET(x, low, len) BF64_DECODE(x, low, len)
1379 #define SM_PREFIX_DECODE(x) BF64_DECODE(x, 62, 2)
1382 #define SM_DEBUG_ACTION_DECODE(x) BF64_DECODE(x, 60, 2)
1384 #define SM_DEBUG_SYNCPASS_DECODE(x) BF64_DECODE(x, 50, 10)
1386 #define SM_DEBUG_TXG_DECODE(x) BF64_DECODE(x, 0, 50)
1389 #define SM_OFFSET_DECODE(x) BF64_DECODE(x, 16, SM_OFFSET_BITS)
1391 #define SM_TYPE_DECODE(x) BF64_DECODE(x, 15, 1)
1393 #define SM_RUN_DECODE(x) (BF64_DECODE(x, 0, SM_RUN_BITS) + 1)
1398 #define SM2_RUN_DECODE(x) (BF64_DECODE(x, 24, SM2_RUN_BITS) + 1)
[all …]