Searched refs:dva_word (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h91 uint64_t dva_word[2]; member in struct:dva
179 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0)
181 BF64_SET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, \
184 #define DVA_GET_GRID(dva) BF64_GET((dva)->dva_word[0], 24, 8)
185 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
187 #define DVA_GET_VDEV(dva) BF64_GET((dva)->dva_word[0], 32, 32)
188 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x)
191 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0)
193 BF64_SET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0, x)
195 #define DVA_GET_GANG(dva) BF64_GET((dva)->dva_word[
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h142 uint64_t dva_word[2]; member in struct:dva
332 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0)
334 BF64_SET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, \
337 #define DVA_GET_GRID(dva) BF64_GET((dva)->dva_word[0], 24, 8)
338 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
340 #define DVA_GET_VDEV(dva) BF64_GET((dva)->dva_word[0], 32, 32)
341 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x)
344 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0)
346 BF64_SET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0, x)
348 #define DVA_GET_GANG(dva) BF64_GET((dva)->dva_word[
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h162 uint64_t dva_word[2]; member in struct:dva
444 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0)
446 BF64_SET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, \
449 #define DVA_GET_GRID(dva) BF64_GET((dva)->dva_word[0], 24, 8)
450 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x)
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)
457 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0)
459 BF64_SET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0, x)
461 #define DVA_GET_GANG(dva) BF64_GET((dva)->dva_word[
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_crypt.c765 bcopy(salt, &bp->blk_dva[2].dva_word[0], sizeof (uint64_t));
766 bcopy(iv, &bp->blk_dva[2].dva_word[1], sizeof (uint64_t));
771 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64);
774 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64);
797 bcopy(&bp->blk_dva[2].dva_word[0], salt, sizeof (uint64_t));
798 bcopy(&bp->blk_dva[2].dva_word[1], iv, sizeof (uint64_t));
803 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]);
806 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]);
H A Darc.c1278 return (cityhash4(spa, dva->dva_word[0], dva->dva_word[1], birth));
1282 ((hdr)->b_dva.dva_word[0] == 0 && \
1283 (hdr)->b_dva.dva_word[1] == 0)
1286 ((hdr)->b_dva.dva_word[0] == (dva)->dva_word[0]) && \
1287 ((hdr)->b_dva.dva_word[1] == (dva)->dva_word[1]) && \
1293 hdr->b_dva.dva_word[0] = 0;
1294 hdr->b_dva.dva_word[
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c367 if (bp->blk_dva[i].dva_word[0] == 0 &&
368 bp->blk_dva[i].dva_word[1] == 0)
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1000 if (dva.dva_word[0] == data->dva.dva_word[0] &&
1001 dva.dva_word[1] == data->dva.dva_word[1]) {
1027 data.dva.dva_word[i] = mdb_strtoull(argv[i].a_un.a_str);
1030 data.dva.dva_word[i] = argv[i].a_un.a_val;
4304 { "abuf_find", "dva_word[0] dva_word[1]",
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c1846 if (!dva->dva_word[0] && !dva->dva_word[1])

Completed in 151 milliseconds