Searched refs:blk_dva (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h166 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */ member in struct:blkptr
240 (DVA_GET_ASIZE(&(bp)->blk_dva[0]) + DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
241 DVA_GET_ASIZE(&(bp)->blk_dva[2]))
248 (!!DVA_GET_ASIZE(&(bp)->blk_dva[0]) + \
249 !!DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
250 !!DVA_GET_ASIZE(&(bp)->blk_dva[2]))
258 DVA_EQUAL(&(bp1)->blk_dva[0], &(bp2)->blk_dva[0]) && \
259 DVA_EQUAL(&(bp1)->blk_dva[
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h388 * blkptr_t structure by zeroed blk_dva. Correct checking for holes is
394 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */ member in struct:blkptr
531 DVA_GET_ASIZE(&(bp)->blk_dva[0]) + \
532 DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
533 (DVA_GET_ASIZE(&(bp)->blk_dva[2]) * !BP_IS_ENCRYPTED(bp)))
540 !!DVA_GET_ASIZE(&(bp)->blk_dva[0]) + \
541 !!DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
542 (!!DVA_GET_ASIZE(&(bp)->blk_dva[2]) * !BP_IS_ENCRYPTED(bp)))
546 (DVA_GET_GANG(&(bp)->blk_dva[0]) + \
547 DVA_GET_GANG(&(bp)->blk_dva[
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h327 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */ member in struct:blkptr
398 (DVA_GET_ASIZE(&(bp)->blk_dva[0]) + DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
399 DVA_GET_ASIZE(&(bp)->blk_dva[2]))
406 (!!DVA_GET_ASIZE(&(bp)->blk_dva[0]) + \
407 !!DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
408 !!DVA_GET_ASIZE(&(bp)->blk_dva[2]))
431 #define BP_IDENTITY(bp) (&(bp)->blk_dva[0])
440 (bp)->blk_dva[0].dva_word[0] = 0; \
441 (bp)->blk_dva[
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1450 const dva_t *dva = bp->blk_dva;
2990 if (DVA_GET_VDEV(&bp->blk_dva[0]) ==
2991 DVA_GET_VDEV(&bp->blk_dva[1])) {
2995 DVA_GET_VDEV(&bp->blk_dva[0]),
2996 DVA_GET_OFFSET(&bp->blk_dva[0]),
2997 DVA_GET_OFFSET(&bp->blk_dva[1])))
3002 equal = (DVA_GET_VDEV(&bp->blk_dva[0]) ==
3003 DVA_GET_VDEV(&bp->blk_dva[1])) +
3004 (DVA_GET_VDEV(&bp->blk_dva[0]) ==
3005 DVA_GET_VDEV(&bp->blk_dva[
[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 Ddsl_scan.c418 bcopy(sio->sio_dva, bp->blk_dva, sio->sio_nr_dvas * sizeof (dva_t));
437 sio->sio_dva[i] = bp->blk_dva[j % sio->sio_nr_dvas];
2675 cur_size += DVA_GET_ASIZE(&bp->blk_dva[i]);
3121 const dva_t *dva = &bp->blk_dva[0];
3673 DVA_GET_ASIZE(&bp->blk_dva[0]));
3679 DVA_GET_ASIZE(&bp->blk_dva[i]));
3708 if (DVA_GET_VDEV(&bp->blk_dva[0]) ==
3709 DVA_GET_VDEV(&bp->blk_dva[1]))
3713 equal = (DVA_GET_VDEV(&bp->blk_dva[0]) ==
3714 DVA_GET_VDEV(&bp->blk_dva[
[all...]
H A Dmetaslab.c4502 const dva_t *dva = bp->blk_dva;
5306 if (size != DVA_GET_ASIZE(&bp->blk_dva[0]))
5337 DVA_GET_VDEV(&bp->blk_dva[0]));
5340 DVA_GET_OFFSET(&bp->blk_dva[0]), DVA_GET_ASIZE(&bp->blk_dva[0]));
5342 DVA_SET_VDEV(&bp->blk_dva[0], vd->vdev_id);
5343 DVA_SET_OFFSET(&bp->blk_dva[0], offset);
5395 dva_t *dva = &bp->blk_dva[0];
5420 if (DVA_GET_VDEV(&rbca.rbca_bp->blk_dva[0]) == vd->vdev_id)
5695 dva_t *dva = bp->blk_dva;
[all...]
H A Dvdev_mirror.c252 dva_t *dva = zio->io_bp->blk_dva;
448 dva_t *dva = zio->io_bp->blk_dva;
H A Dvdev_removal.c766 DVA_SET_VDEV(&bp.blk_dva[0], DVA_GET_VDEV(vcsa->vcsa_dest_dva));
767 DVA_SET_OFFSET(&bp.blk_dva[0],
769 DVA_SET_ASIZE(&bp.blk_dva[0], size);
H A Dzio_inject.c198 dva_t *dva = &zio->io_bp->blk_dva[i];
H A Dddt.c252 bp->blk_dva[d] = ddp->ddp_dva[d];
303 ddp->ddp_dva[d] = bp->blk_dva[d];
H A Dzio.c857 uint64_t vdevid = DVA_GET_VDEV(&bp->blk_dva[i]);
885 uint64_t offset = DVA_GET_OFFSET(&bp->blk_dva[i]);
886 uint64_t asize = DVA_GET_ASIZE(&bp->blk_dva[i]);
2368 dva_t *cdva = zio->io_bp->blk_dva;
2369 dva_t *pdva = pio->io_bp->blk_dva;
H A Dspa_misc.c2025 dsize += dva_get_dsize_sync(spa, &bp->blk_dva[d]);
2038 dsize += dva_get_dsize_sync(spa, &bp->blk_dva[d]);
H A Dzil.c904 vd = vdev_lookup_top(os->os_spa, DVA_GET_VDEV(&bp->blk_dva[0]));
1014 zvsearch.zv_vdev = DVA_GET_VDEV(&bp->blk_dva[i]);
H A Ddbuf.c843 DVA_IS_EMPTY(&bp->blk_dva[0]) &&
844 DVA_IS_EMPTY(&bp->blk_dva[1]) &&
845 DVA_IS_EMPTY(&bp->blk_dva[2]));
H A Dzvol.c297 ze->ze_dva = bp->blk_dva[0]; /* structure assignment */
H A Ddsl_dataset.c185 dva_t *dva = &fakebp.blk_dva[0];
/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)
371 if (DVA_GET_GANG(&bp->blk_dva[i])) {
372 if (zio_read_gang(bp, &bp->blk_dva[i], buf, stack) != 0)
376 offset = DVA_GET_OFFSET(&bp->blk_dva[i]);
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c2125 DVA_SET_GANG(&gbh_bp.blk_dva[i], 0);
2189 const dva_t *dva = &bp->blk_dva[i];

Completed in 158 milliseconds