Searched refs:blk_prop (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h174 uint64_t blk_prop; /* size, compression, type, etc */ member in struct:blkptr
231 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1)
233 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x)
236 BF64_GET_SB((bp)->blk_prop, 16, 16, SPA_MINBLOCKSHIFT, 1)
238 BF64_SET_SB((bp)->blk_prop, 16, 16, SPA_MINBLOCKSHIFT, 1, x)
240 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8)
241 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x)
243 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8)
244 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x)
246 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 4
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/zfs/
H A Dspa.h170 grub_uint64_t blk_prop; /* size, compression, type, etc */ member in struct:blkptr
196 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1)
198 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x)
200 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8)
201 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x)
203 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8)
204 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x)
206 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8)
207 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x)
209 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 5
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs.c570 return ((((grub_zfs_to_cpu64 ((bp)->blk_prop, endian) >> 16) & 0xffff) + 1)
1923 endian = (grub_zfs_to_cpu64 (bp->blk_prop, endian) >> 63) & 1;
1980 checksum = (grub_zfs_to_cpu64((bp)->blk_prop, endian) >> 40) & 0xff;
2024 checksum = (grub_zfs_to_cpu64((bp)->blk_prop, endian) >> 40) & 0xff;
2025 comp = (grub_zfs_to_cpu64((bp)->blk_prop, endian)>>32) & 0xff;
2026 encrypted = ((grub_zfs_to_cpu64((bp)->blk_prop, endian) >> 60) & 3);
2028 (((grub_zfs_to_cpu64 ((bp)->blk_prop, endian) & 0xffff) + 1)
2170 endian = (grub_zfs_to_cpu64 (bp->blk_prop, endian) >> 63) & 1;
2177 endian = (grub_zfs_to_cpu64 (bp->blk_prop, endian) >> 63) & 1;
2182 endian = (grub_zfs_to_cpu64 (bp->blk_prop, endia
[all...]

Completed in 32 milliseconds