Lines Matching defs:to_ds
727 dmu_send_impl(void *tag, dsl_pool_t *dp, dsl_dataset_t *to_ds,
745 err = dmu_objset_from_ds(to_ds, &os);
771 if (large_block_ok && to_ds->ds_feature_inuse[SPA_FEATURE_LARGE_BLOCKS])
788 dsl_dataset_phys(to_ds)->ds_creation_time;
792 drr->drr_u.drr_begin.drr_toguid = dsl_dataset_phys(to_ds)->ds_guid;
793 if (dsl_dataset_phys(to_ds)->ds_flags & DS_FLAG_CI_DATASET)
803 dsl_dataset_name(to_ds, drr->drr_u.drr_begin.drr_toname);
804 if (!to_ds->ds_is_snapshot) {
818 dsp->dsa_toguid = dsl_dataset_phys(to_ds)->ds_guid;
824 mutex_enter(&to_ds->ds_sendstream_lock);
825 list_insert_head(&to_ds->ds_sendstreams, dsp);
826 mutex_exit(&to_ds->ds_sendstream_lock);
828 dsl_dataset_long_hold(to_ds, FTAG);
838 SET_BOOKMARK(&to_arg.resume, to_ds->ds_object, resumeobj, 0,
860 to_arg.ds = to_ds;
911 mutex_enter(&to_ds->ds_sendstream_lock);
912 list_remove(&to_ds->ds_sendstreams, dsp);
913 mutex_exit(&to_ds->ds_sendstream_lock);
918 dsl_dataset_long_rele(to_ds, FTAG);