Home
last modified time | relevance | path

Searched refs:drrs (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_dump.c229 struct drr_spill *drrs = &thedrr.drr_u.drr_spill; in zstream_do_dump() local
637 drrs->drr_object = BSWAP_64(drrs->drr_object); in zstream_do_dump()
638 drrs->drr_length = BSWAP_64(drrs->drr_length); in zstream_do_dump()
639 drrs->drr_compressed_size = in zstream_do_dump()
640 BSWAP_64(drrs->drr_compressed_size); in zstream_do_dump()
641 drrs->drr_type = BSWAP_32(drrs->drr_type); in zstream_do_dump()
644 payload_size = DRR_SPILL_PAYLOAD_SIZE(drrs); in zstream_do_dump()
647 sprintf_bytes(salt, drrs->drr_salt, in zstream_do_dump()
649 sprintf_bytes(iv, drrs->drr_iv, in zstream_do_dump()
651 sprintf_bytes(mac, drrs->drr_mac, in zstream_do_dump()
[all …]
H A Dzstream_recompress.c201 struct drr_spill *drrs = &drr->drr_u.drr_spill; in zstream_do_recompress() local
203 payload_size = DRR_SPILL_PAYLOAD_SIZE(drrs); in zstream_do_recompress()
H A Dzstream_decompress.c234 struct drr_spill *drrs = &drr->drr_u.drr_spill; in zstream_do_decompress() local
236 payload_size = DRR_SPILL_PAYLOAD_SIZE(drrs); in zstream_do_decompress()
H A Dzstream_redup.c300 struct drr_spill *drrs = &drr->drr_u.drr_spill; in zfs_redup_stream() local
302 payload_size = DRR_SPILL_PAYLOAD_SIZE(drrs); in zfs_redup_stream()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_recv.c2521 receive_spill(struct receive_writer_arg *rwa, struct drr_spill *drrs, in receive_spill() argument
2527 if (drrs->drr_length < SPA_MINBLOCKSIZE || in receive_spill()
2528 drrs->drr_length > spa_maxblocksize(dmu_objset_spa(rwa->os))) in receive_spill()
2537 if (rwa->spill && DRR_SPILL_IS_UNMODIFIED(drrs->drr_flags)) { in receive_spill()
2543 if (!DMU_OT_IS_VALID(drrs->drr_type) || in receive_spill()
2544 drrs->drr_compressiontype >= ZIO_COMPRESS_FUNCTIONS || in receive_spill()
2545 drrs->drr_compressed_size == 0) in receive_spill()
2549 if (dmu_object_info(rwa->os, drrs->drr_object, NULL) != 0) in receive_spill()
2552 if (drrs->drr_object > rwa->max_object) in receive_spill()
2553 rwa->max_object = drrs->drr_object; in receive_spill()
[all …]
H A Ddmu_send.c607 struct drr_spill *drrs = &(dscp->dsc_drr->drr_u.drr_spill); in dump_spill() local
620 drrs->drr_object = object; in dump_spill()
621 drrs->drr_length = blksz; in dump_spill()
622 drrs->drr_toguid = dscp->dsc_toguid; in dump_spill()
627 drrs->drr_flags |= DRR_SPILL_UNMODIFIED; in dump_spill()
635 drrs->drr_flags |= DRR_RAW_BYTESWAP; in dump_spill()
636 drrs->drr_compressiontype = BP_GET_COMPRESS(bp); in dump_spill()
637 drrs->drr_compressed_size = BP_GET_PSIZE(bp); in dump_spill()
638 zio_crypt_decode_params_bp(bp, drrs->drr_salt, drrs->drr_iv); in dump_spill()
639 zio_crypt_decode_mac_bp(bp, drrs->drr_mac); in dump_spill()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_ioctl.h226 #define DRR_SPILL_PAYLOAD_SIZE(drrs) \ argument
227 ((drrs)->drr_compressed_size ? \
228 (drrs)->drr_compressed_size : (drrs)->drr_length)