Home
last modified time | relevance | path

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

/f-stack/freebsd/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)