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.h425 * blkptr_t structure by zeroed blk_dva. Correct checking for holes is
431 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */ member in struct:blkptr
568 DVA_GET_ASIZE(&(bp)->blk_dva[0]) + \
569 DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
570 (DVA_GET_ASIZE(&(bp)->blk_dva[2]) * !BP_IS_ENCRYPTED(bp)))
577 !!DVA_GET_ASIZE(&(bp)->blk_dva[0]) + \
578 !!DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
579 (!!DVA_GET_ASIZE(&(bp)->blk_dva[2]) * !BP_IS_ENCRYPTED(bp)))
583 (DVA_GET_GANG(&(bp)->blk_dva[0]) + \
584 DVA_GET_GANG(&(bp)->blk_dva[
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h319 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */ member in struct:blkptr
390 (DVA_GET_ASIZE(&(bp)->blk_dva[0]) + DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
391 DVA_GET_ASIZE(&(bp)->blk_dva[2]))
398 (!!DVA_GET_ASIZE(&(bp)->blk_dva[0]) + \
399 !!DVA_GET_ASIZE(&(bp)->blk_dva[1]) + \
400 !!DVA_GET_ASIZE(&(bp)->blk_dva[2]))
423 #define BP_IDENTITY(bp) (&(bp)->blk_dva[0])
432 (bp)->blk_dva[0].dva_word[0] = 0; \
433 (bp)->blk_dva[
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c1455 const dva_t *dva = bp->blk_dva;
2995 if (DVA_GET_VDEV(&bp->blk_dva[0]) ==
2996 DVA_GET_VDEV(&bp->blk_dva[1])) {
3000 DVA_GET_VDEV(&bp->blk_dva[0]),
3001 DVA_GET_OFFSET(&bp->blk_dva[0]),
3002 DVA_GET_OFFSET(&bp->blk_dva[1])))
3007 equal = (DVA_GET_VDEV(&bp->blk_dva[0]) ==
3008 DVA_GET_VDEV(&bp->blk_dva[1])) +
3009 (DVA_GET_VDEV(&bp->blk_dva[0]) ==
3010 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];
2679 cur_size += DVA_GET_ASIZE(&bp->blk_dva[i]);
3087 const dva_t *dva = &bp->blk_dva[0];
3639 DVA_GET_ASIZE(&bp->blk_dva[0]));
3645 DVA_GET_ASIZE(&bp->blk_dva[i]));
3674 if (DVA_GET_VDEV(&bp->blk_dva[0]) ==
3675 DVA_GET_VDEV(&bp->blk_dva[1]))
3679 equal = (DVA_GET_VDEV(&bp->blk_dva[0]) ==
3680 DVA_GET_VDEV(&bp->blk_dva[
[all...]
H A Dmetaslab.c3835 const dva_t *dva = bp->blk_dva;
4500 if (size != DVA_GET_ASIZE(&bp->blk_dva[0]))
4531 DVA_GET_VDEV(&bp->blk_dva[0]));
4534 DVA_GET_OFFSET(&bp->blk_dva[0]), DVA_GET_ASIZE(&bp->blk_dva[0]));
4536 DVA_SET_VDEV(&bp->blk_dva[0], vd->vdev_id);
4537 DVA_SET_OFFSET(&bp->blk_dva[0], offset);
4589 dva_t *dva = &bp->blk_dva[0];
4614 if (DVA_GET_VDEV(&rbca.rbca_bp->blk_dva[0]) == vd->vdev_id)
4878 dva_t *dva = bp->blk_dva;
[all...]
H A Dvdev_mirror.c251 dva_t *dva = zio->io_bp->blk_dva;
447 dva_t *dva = zio->io_bp->blk_dva;
H A Dvdev_removal.c765 DVA_SET_VDEV(&bp.blk_dva[0], DVA_GET_VDEV(vcsa->vcsa_dest_dva));
766 DVA_SET_OFFSET(&bp.blk_dva[0],
768 DVA_SET_ASIZE(&bp.blk_dva[0], size);
H A Dzio_inject.c178 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.c853 uint64_t vdevid = DVA_GET_VDEV(&bp->blk_dva[i]);
881 uint64_t offset = DVA_GET_OFFSET(&bp->blk_dva[i]);
882 uint64_t asize = DVA_GET_ASIZE(&bp->blk_dva[i]);
2364 dva_t *cdva = zio->io_bp->blk_dva;
2365 dva_t *pdva = pio->io_bp->blk_dva;
H A Dspa_misc.c1984 dsize += dva_get_dsize_sync(spa, &bp->blk_dva[d]);
1997 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.c299 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.c1724 DVA_SET_OFFSET(&bp.blk_dva[0], off);
1780 DVA_SET_GANG(&gbh_bp.blk_dva[i], 0);
1841 const dva_t *dva = &bp->blk_dva[i];

Completed in 245 milliseconds