Home
last modified time | relevance | path

Searched refs:BF64_ENCODE (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspace_map.h166 #define SM_PREFIX_ENCODE(x) BF64_ENCODE(x, 62, 2)
169 #define SM_DEBUG_ACTION_ENCODE(x) BF64_ENCODE(x, 60, 2)
171 #define SM_DEBUG_SYNCPASS_ENCODE(x) BF64_ENCODE(x, 50, 10)
173 #define SM_DEBUG_TXG_ENCODE(x) BF64_ENCODE(x, 0, 50)
176 #define SM_OFFSET_ENCODE(x) BF64_ENCODE(x, 16, SM_OFFSET_BITS)
178 #define SM_TYPE_ENCODE(x) BF64_ENCODE(x, 15, 1)
180 #define SM_RUN_ENCODE(x) BF64_ENCODE((x) - 1, 0, SM_RUN_BITS)
185 #define SM2_RUN_ENCODE(x) BF64_ENCODE((x) - 1, SPA_VDEVBITS, SM2_RUN_BITS)
187 #define SM2_VDEV_ENCODE(x) BF64_ENCODE(x, 0, SPA_VDEVBITS)
189 #define SM2_TYPE_ENCODE(x) BF64_ENCODE(x, SM2_OFFSET_BITS, 1)
[all …]
H A Dbitops.h47 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) macro
61 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len)); \
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h39 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) macro
47 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len))
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h103 #define BF64_ENCODE(x, low, len) (P2PHASE((x), 1ULL << (len)) << (low)) macro
111 ((x) ^= BF64_ENCODE((x >> low) ^ (val), low, len))