Home
last modified time | relevance | path

Searched refs:drr (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/uts/sun4u/io/
H A Drmc_comm_drvintf.c276 dp_req_resp_t *drr; in rmc_comm_send_req_resp() local
304 drr = &dps->req_resp; in rmc_comm_send_req_resp()
305 exp_resp = &drr->response; in rmc_comm_send_req_resp()
353 drr->flags = 0; in rmc_comm_send_req_resp()
354 drr->error_status = 0; in rmc_comm_send_req_resp()
395 (void) cv_reltimedwait(drr->cv_wait_reply, dps->dp_mutex, in rmc_comm_send_req_resp()
400 drr->flags, request->msg_type, in rmc_comm_send_req_resp()
410 if ((drr->flags & MSG_ERROR) != 0) { in rmc_comm_send_req_resp()
411 if (drr->error_status == 0) { in rmc_comm_send_req_resp()
414 err = drr->error_status; in rmc_comm_send_req_resp()
[all …]
H A Drmc_comm_dp.c332 dp_req_resp_t *drr = &dps->req_resp; in dp_tx_handle_ack() local
339 if ((drr->flags & MSG_SENT) == 0) { in dp_tx_handle_ack()
352 drr->flags |= MSG_ACKED; in dp_tx_handle_ack()
353 if (drr->response.msg_type == DP_NULL_MSG) { in dp_tx_handle_ack()
366 dp_req_resp_t *drr = &dps->req_resp; in dp_tx_handle_nak() local
372 if ((drr->flags & MSG_SENT) == 0) { in dp_tx_handle_nak()
446 dp_req_resp_t *drr = &dps->req_resp; in dp_got_bp_msg() local
454 if ((drr->flags & MSG_SENT_BP) != 0) { in dp_got_bp_msg()
467 if (datalen <= drr->response.msg_bufsiz) { in dp_got_bp_msg()
468 bcopy(pkt->buf, drr->response.msg_buf, datalen); in dp_got_bp_msg()
[all …]
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c186 dump_record(dmu_replay_record_t *drr, void *payload, int payload_len, in dump_record() argument
191 fletcher_4_incremental_native(drr, in dump_record()
193 if (drr->drr_type != DRR_BEGIN) { in dump_record()
194 ASSERT(ZIO_CHECKSUM_IS_ZERO(&drr->drr_u. in dump_record()
196 drr->drr_u.drr_checksum.drr_checksum = *zc; in dump_record()
198 fletcher_4_incremental_native(&drr->drr_u.drr_checksum.drr_checksum, in dump_record()
200 if (write(outfd, drr, sizeof (*drr)) == -1) in dump_record()
214 dmu_replay_record_t drr = { 0 }; in zfs_send_compoundstream_begin() local
226 drr.drr_type = DRR_BEGIN; in zfs_send_compoundstream_begin()
227 drr.drr_u.drr_begin.drr_magic = DMU_BACKUP_MAGIC; in zfs_send_compoundstream_begin()
[all …]
/titanic_41/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c106 read_hdr(dmu_replay_record_t *drr, zio_cksum_t *cksum) in read_hdr() argument
110 size_t r = ssread(drr, sizeof (*drr) - sizeof (zio_cksum_t), cksum); in read_hdr()
114 r = ssread(&drr->drr_u.drr_checksum.drr_checksum, in read_hdr()
118 if (!ZIO_CHECKSUM_IS_ZERO(&drr->drr_u.drr_checksum.drr_checksum) && in read_hdr()
120 drr->drr_u.drr_checksum.drr_checksum)) { in read_hdr()
130 return (sizeof (*drr)); in read_hdr()
204 dmu_replay_record_t *drr = &thedrr; in main() local
266 while (read_hdr(drr, &zc)) { in main()
282 fletcher_4_incremental_byteswap(drr, in main()
293 drr->drr_type = BSWAP_32(drr->drr_type); in main()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddmu_send.c69 static void byteswap_record(dmu_replay_record_t *drr);
695 dmu_replay_record_t *drr; in dmu_send_impl() local
708 drr = kmem_zalloc(sizeof (dmu_replay_record_t), KM_SLEEP); in dmu_send_impl()
709 drr->drr_type = DRR_BEGIN; in dmu_send_impl()
710 drr->drr_u.drr_begin.drr_magic = DMU_BACKUP_MAGIC; in dmu_send_impl()
711 DMU_SET_STREAM_HDRTYPE(drr->drr_u.drr_begin.drr_versioninfo, in dmu_send_impl()
718 kmem_free(drr, sizeof (dmu_replay_record_t)); in dmu_send_impl()
741 DMU_SET_FEATUREFLAGS(drr->drr_u.drr_begin.drr_versioninfo, in dmu_send_impl()
744 drr->drr_u.drr_begin.drr_creation_time = in dmu_send_impl()
746 drr->drr_u.drr_begin.drr_type = dmu_objset_type(os); in dmu_send_impl()
[all …]
/titanic_41/usr/src/cmd/truss/
H A Dexpound.c4979 struct drr_begin *drr = &zc.zc_begin_record.drr_u.drr_begin; in show_zfs_ioc() local
4981 if (drr->drr_magic) { in show_zfs_ioc()
4983 (u_longlong_t)drr->drr_magic); in show_zfs_ioc()
4985 if (drr->drr_versioninfo) { in show_zfs_ioc()
4987 (u_longlong_t)drr->drr_versioninfo); in show_zfs_ioc()
4989 if (drr->drr_creation_time) { in show_zfs_ioc()
4991 (u_longlong_t)drr->drr_creation_time); in show_zfs_ioc()
4993 if (drr->drr_type) in show_zfs_ioc()
4994 (void) printf("\tdrr_type=%u\n", drr->drr_type); in show_zfs_ioc()
4995 if (drr->drr_flags) in show_zfs_ioc()
[all …]