Lines Matching refs:newds
847 dsl_dataset_t *ds, *newds; in dmu_recv_begin_sync() local
920 &newds)); in dmu_recv_begin_sync()
921 if (dsl_dataset_feature_is_active(newds, in dmu_recv_begin_sync()
929 dsl_dataset_deactivate_feature(newds, in dmu_recv_begin_sync()
932 VERIFY0(dmu_objset_from_ds(newds, &os)); in dmu_recv_begin_sync()
935 dsl_dataset_zapify(newds, tx); in dmu_recv_begin_sync()
996 dsl_dataset_activate_redaction(newds, redact_snaps, in dmu_recv_begin_sync()
1018 dmu_buf_will_dirty(newds->ds_dbuf, tx); in dmu_recv_begin_sync()
1019 dsl_dataset_phys(newds)->ds_flags |= DS_FLAG_INCONSISTENT; in dmu_recv_begin_sync()
1025 !dsl_dataset_feature_is_active(newds, SPA_FEATURE_LONGNAME)) { in dmu_recv_begin_sync()
1026 dsl_dataset_activate_feature(newds->ds_object, in dmu_recv_begin_sync()
1028 newds->ds_feature[SPA_FEATURE_LONGNAME] = (void *)B_TRUE; in dmu_recv_begin_sync()
1037 rrw_enter(&newds->ds_bp_rwlock, RW_READER, FTAG); in dmu_recv_begin_sync()
1038 if (BP_IS_HOLE(dsl_dataset_get_blkptr(newds)) && in dmu_recv_begin_sync()
1042 newds, dsl_dataset_get_blkptr(newds), drrb->drr_type, tx); in dmu_recv_begin_sync()
1044 rrw_exit(&newds->ds_bp_rwlock, FTAG); in dmu_recv_begin_sync()
1046 drba->drba_cookie->drc_ds = newds; in dmu_recv_begin_sync()
1049 spa_history_log_internal_ds(newds, "receive", tx, " "); in dmu_recv_begin_sync()