dmu_replay_record_t
read_hdr(dmu_replay_record_t *drr, zio_cksum_t *cksum)
ASSERT3U(offsetof(dmu_replay_record_t, drr_u.drr_checksum.drr_checksum),
==, sizeof (dmu_replay_record_t) - sizeof (zio_cksum_t));
dmu_replay_record_t thedrr;
dmu_replay_record_t *drr = &thedrr;
sizeof (dmu_replay_record_t), &zc);
dmu_replay_record_t drr = { 0 };
dump_record(dmu_replay_record_t *drr, void *payload, int payload_len,
ASSERT3U(offsetof(dmu_replay_record_t, drr_u.drr_checksum.drr_checksum),
==, sizeof (dmu_replay_record_t) - sizeof (zio_cksum_t));
offsetof(dmu_replay_record_t, drr_u.drr_checksum.drr_checksum), zc);
dmu_replay_record_t drr = { 0 };
dmu_replay_record_t thedrr;
dmu_replay_record_t *drr = &thedrr;
recvflags_t *flags, dmu_replay_record_t *drr, zio_cksum_t *zc,
dmu_replay_record_t drre;
dmu_replay_record_t *drr;
while (recv_read(hdl, fd, drr, sizeof (dmu_replay_record_t),
const char *originsnap, recvflags_t *flags, dmu_replay_record_t *drr,
dmu_replay_record_t *drr_noswap, const char *sendfs, nvlist_t *stream_nv,
dmu_replay_record_t wbr_drr = {0};
dmu_replay_record_t drr, drr_noswap;
const dmu_replay_record_t *begin_record, int cleanup_fd,
dmu_replay_record_t drr;
int fd, const dmu_replay_record_t *begin_record)
const dmu_replay_record_t *begin_record, int cleanup_fd,
dmu_replay_record_t drr = { 0 };
ASSERT3U(offsetof(dmu_replay_record_t, drr_u.drr_checksum.drr_checksum),
==, sizeof (dmu_replay_record_t) - sizeof (zio_cksum_t));
offsetof(dmu_replay_record_t, drr_u.drr_checksum.drr_checksum),
static void byteswap_record(dmu_replay_record_t *drr);
dmu_recv_begin(char *tofs, char *tosnap, dmu_replay_record_t *drr_begin,
sizeof (dmu_replay_record_t), &drc->drc_cksum);
sizeof (dmu_replay_record_t), &drc->drc_cksum);
dmu_replay_record_t header;
byteswap_record(dmu_replay_record_t *drr)
kmem_free(drr, sizeof (dmu_replay_record_t));
bzero(drr, sizeof (dmu_replay_record_t));
kmem_free(drr, sizeof (dmu_replay_record_t));
ASSERT3U(offsetof(dmu_replay_record_t, drr_u.drr_checksum.drr_checksum),
==, sizeof (dmu_replay_record_t) - sizeof (zio_cksum_t));
offsetof(dmu_replay_record_t, drr_u.drr_checksum.drr_checksum),
size += record_count * sizeof (dmu_replay_record_t);
*sizep += 2 * sizeof (dmu_replay_record_t);
if (dump_bytes(dsp, dsp->dsa_drr, sizeof (dmu_replay_record_t)) != 0)
bzero(dsp->dsa_drr, sizeof (dmu_replay_record_t));
bzero(dsp->dsa_drr, sizeof (dmu_replay_record_t));
bzero(dsp->dsa_drr, sizeof (dmu_replay_record_t));
bzero(dsp->dsa_drr, sizeof (dmu_replay_record_t));
bzero(dsp->dsa_drr, sizeof (dmu_replay_record_t));
bzero(dsp->dsa_drr, sizeof (dmu_replay_record_t));
bzero(dsp->dsa_drr, sizeof (dmu_replay_record_t));
dmu_replay_record_t *drr;
drr = kmem_zalloc(sizeof (dmu_replay_record_t), KM_SLEEP);
dmu_replay_record_t *dsa_drr;
dmu_replay_record_t zc_begin_record;
boolean_t resumable, int input_fd, dmu_replay_record_t *begin_record,
dmu_replay_record_t begin_record;