Searched refs:drrs (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/zstreamdump/ |
H A D | zstreamdump.c | 235 struct drr_spill *drrs = &thedrr.drr_u.drr_spill; in main() local 604 drrs->drr_object = BSWAP_64(drrs->drr_object); in main() 605 drrs->drr_length = BSWAP_64(drrs->drr_length); in main() 606 drrs->drr_compressed_size = in main() 607 BSWAP_64(drrs->drr_compressed_size); in main() 608 drrs->drr_type = BSWAP_32(drrs->drr_type); in main() 611 payload_size = DRR_SPILL_PAYLOAD_SIZE(drrs); in main() 614 sprintf_bytes(salt, drrs->drr_salt, in main() 616 sprintf_bytes(iv, drrs->drr_iv, in main() 618 sprintf_bytes(mac, drrs->drr_mac, in main() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_recv.c | 1690 receive_spill(struct receive_writer_arg *rwa, struct drr_spill *drrs, in receive_spill() argument 1698 if (drrs->drr_length < SPA_MINBLOCKSIZE || in receive_spill() 1699 drrs->drr_length > spa_maxblocksize(dmu_objset_spa(rwa->os))) in receive_spill() 1708 if (rwa->spill && DRR_SPILL_IS_UNMODIFIED(drrs->drr_flags)) { in receive_spill() 1714 if (!DMU_OT_IS_VALID(drrs->drr_type) || in receive_spill() 1715 drrs->drr_compressiontype >= ZIO_COMPRESS_FUNCTIONS || in receive_spill() 1716 drrs->drr_compressed_size == 0) in receive_spill() 1722 if (dmu_object_info(rwa->os, drrs->drr_object, NULL) != 0) in receive_spill() 1725 if (drrs->drr_object > rwa->max_object) in receive_spill() 1726 rwa->max_object = drrs->drr_object; in receive_spill() [all …]
|
H A D | dmu_send.c | 392 struct drr_spill *drrs = &(dsp->dsa_drr->drr_u.drr_spill); in dump_spill() local 405 drrs->drr_object = object; in dump_spill() 406 drrs->drr_length = blksz; in dump_spill() 407 drrs->drr_toguid = dsp->dsa_toguid; in dump_spill() 412 drrs->drr_flags |= DRR_SPILL_UNMODIFIED; in dump_spill() 420 drrs->drr_flags |= DRR_RAW_BYTESWAP; in dump_spill() 421 drrs->drr_compressiontype = BP_GET_COMPRESS(bp); in dump_spill() 422 drrs->drr_compressed_size = BP_GET_PSIZE(bp); in dump_spill() 423 zio_crypt_decode_params_bp(bp, drrs->drr_salt, drrs->drr_iv); in dump_spill() 424 zio_crypt_decode_mac_bp(bp, drrs->drr_mac); in dump_spill() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_ioctl.h | 192 #define DRR_SPILL_PAYLOAD_SIZE(drrs) \ argument 193 ((drrs)->drr_compressed_size ? \ 194 (drrs)->drr_compressed_size : (drrs)->drr_length)
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 341 struct drr_spill *drrs = &drr->drr_u.drr_spill; in cksummer() local 342 (void) ssread(buf, DRR_SPILL_PAYLOAD_SIZE(drrs), ofp); in cksummer() 343 if (dump_record(drr, buf, DRR_SPILL_PAYLOAD_SIZE(drrs), in cksummer()
|