Lines Matching defs:drr
108 read_hdr(dmu_replay_record_t *drr, zio_cksum_t *cksum)
112 size_t r = ssread(drr, sizeof (*drr) - sizeof (zio_cksum_t), cksum);
116 r = ssread(&drr->drr_u.drr_checksum.drr_checksum,
120 if (!ZIO_CHECKSUM_IS_ZERO(&drr->drr_u.drr_checksum.drr_checksum) &&
122 drr->drr_u.drr_checksum.drr_checksum)) {
132 return (sizeof (*drr));
206 dmu_replay_record_t *drr = &thedrr;
268 while (read_hdr(drr, &zc)) {
284 fletcher_4_incremental_byteswap(drr,
295 drr->drr_type = BSWAP_32(drr->drr_type);
296 drr->drr_payloadlen =
297 BSWAP_32(drr->drr_payloadlen);
307 if (drr->drr_type >= DRR_NUMTYPES) {
309 drr->drr_type);
314 drr_record_count[drr->drr_type]++;
317 switch (drr->drr_type) {
351 if (drr->drr_payloadlen != 0) {
353 int sz = drr->drr_payloadlen;
602 if (drr->drr_type != DRR_BEGIN && very_verbose) {