Searched refs:SPA_VDEVBITS (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspace_map.h153 #define SM_NO_VDEVID (1 << SPA_VDEVBITS)
184 #define SM2_RUN_DECODE(x) (BF64_DECODE(x, SPA_VDEVBITS, SM2_RUN_BITS) + 1)
185 #define SM2_RUN_ENCODE(x) BF64_ENCODE((x) - 1, SPA_VDEVBITS, SM2_RUN_BITS)
186 #define SM2_VDEV_DECODE(x) BF64_DECODE(x, 0, SPA_VDEVBITS)
187 #define SM2_VDEV_ENCODE(x) BF64_ENCODE(x, 0, SPA_VDEVBITS)
H A Dspa.h155 #define SPA_VDEVBITS 24 macro
452 #define DVA_GET_VDEV(dva) BF64_GET((dva)->dva_word[0], 32, SPA_VDEVBITS)
454 BF64_SET((dva)->dva_word[0], 32, SPA_VDEVBITS, x)

Completed in 138 milliseconds