Searched refs:BF64_ENCODE (Results 1 – 2 of 2) sorted by relevance
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
H A D | space_map.h | 112 #define SM_RUN_ENCODE(x) BF64_ENCODE((x) - 1, 0, 15) 114 #define SM_TYPE_ENCODE(x) BF64_ENCODE(x, 15, 1) 116 #define SM_OFFSET_ENCODE(x) BF64_ENCODE(x, 16, 47) 118 #define SM_DEBUG_ENCODE(x) BF64_ENCODE(x, 63, 1) 121 #define SM_DEBUG_ACTION_ENCODE(x) BF64_ENCODE(x, 60, 3) 124 #define SM_DEBUG_SYNCPASS_ENCODE(x) BF64_ENCODE(x, 50, 10) 127 #define SM_DEBUG_TXG_ENCODE(x) BF64_ENCODE(x, 0, 50)
|
H A D | spa.h | 66 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) macro 80 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len)); \
|