Searched refs:BF64_ENCODE (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | space_map.h | 176 #define SM_PREFIX_ENCODE(x) BF64_ENCODE(x, 62, 2) 179 #define SM_DEBUG_ACTION_ENCODE(x) BF64_ENCODE(x, 60, 2) 181 #define SM_DEBUG_SYNCPASS_ENCODE(x) BF64_ENCODE(x, 50, 10) 183 #define SM_DEBUG_TXG_ENCODE(x) BF64_ENCODE(x, 0, 50) 186 #define SM_OFFSET_ENCODE(x) BF64_ENCODE(x, 16, SM_OFFSET_BITS) 188 #define SM_TYPE_ENCODE(x) BF64_ENCODE(x, 15, 1) 190 #define SM_RUN_ENCODE(x) BF64_ENCODE((x) - 1, 0, SM_RUN_BITS) 195 #define SM2_RUN_ENCODE(x) BF64_ENCODE((x) - 1, SPA_VDEVBITS, SM2_RUN_BITS) 197 #define SM2_VDEV_ENCODE(x) BF64_ENCODE(x, 0, SPA_VDEVBITS) 199 #define SM2_TYPE_ENCODE(x) BF64_ENCODE(x, SM2_OFFSET_BITS, 1) [all …]
|
H A D | bitops.h | 48 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) macro 62 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len)); \
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 104 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) macro 112 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len)) 1380 #define SM_PREFIX_ENCODE(x) BF64_ENCODE(x, 62, 2) 1383 #define SM_DEBUG_ACTION_ENCODE(x) BF64_ENCODE(x, 60, 2) 1385 #define SM_DEBUG_SYNCPASS_ENCODE(x) BF64_ENCODE(x, 50, 10) 1387 #define SM_DEBUG_TXG_ENCODE(x) BF64_ENCODE(x, 0, 50) 1390 #define SM_OFFSET_ENCODE(x) BF64_ENCODE(x, 16, SM_OFFSET_BITS) 1392 #define SM_TYPE_ENCODE(x) BF64_ENCODE(x, 15, 1) 1394 #define SM_RUN_ENCODE(x) BF64_ENCODE((x) - 1, 0, SM_RUN_BITS) 1399 #define SM2_RUN_ENCODE(x) BF64_ENCODE((x) - 1, 24, SM2_RUN_BITS) [all …]
|