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.h174 #define SM_PREFIX_DECODE(x) BF64_DECODE(x, 62, 2)
177 #define SM_DEBUG_ACTION_DECODE(x) BF64_DECODE(x, 60, 2)
179 #define SM_DEBUG_SYNCPASS_DECODE(x) BF64_DECODE(x, 50, 10)
181 #define SM_DEBUG_TXG_DECODE(x) BF64_DECODE(x, 0, 50)
184 #define SM_OFFSET_DECODE(x) BF64_DECODE(x, 16, SM_OFFSET_BITS)
186 #define SM_TYPE_DECODE(x) BF64_DECODE(x, 15, 1)
188 #define SM_RUN_DECODE(x) (BF64_DECODE(x, 0, SM_RUN_BITS) + 1)
193 #define SM2_RUN_DECODE(x) (BF64_DECODE(x, SPA_VDEVBITS, SM2_RUN_BITS) + 1)
195 #define SM2_VDEV_DECODE(x) BF64_DECODE(x, 0, SPA_VDEVBITS)
197 #define SM2_TYPE_DECODE(x) BF64_DECODE(x, SM2_OFFSET_BITS, 1)
[all …]
H A Dbitops.h45 #define BF64_DECODE(x, low, len) P2PHASE((x) >> (low), 1ULL << (len)) macro
50 #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 …]