Lines Matching defs:tosnap
959 dmu_send_obj(const char *pool, uint64_t tosnap, uint64_t fromsnap,
972 err = dsl_dataset_hold_obj(dp, tosnap, FTAG, &ds);
1007 dmu_send(const char *tosnap, const char *fromsnap, boolean_t embedok,
1020 err = dsl_pool_hold(tosnap, FTAG, &dp);
1024 if (strchr(tosnap, '@') == NULL && spa_writeable(dp->dp_spa)) {
1029 err = dsl_dataset_own(dp, tosnap, FTAG, &ds);
1032 err = dsl_dataset_hold(dp, tosnap, FTAG, &ds);
1042 int fsnamelen = strchr(tosnap, '@') - tosnap;
1048 if (strncmp(tosnap, fromsnap, fsnamelen) != 0 ||
1147 /* tosnap must be a snapshot */
1156 * fromsnap must be an earlier snapshot from the same fs as tosnap,
1216 /* tosnap must be a snapshot */
1728 dmu_recv_begin(char *tofs, char *tosnap, dmu_replay_record_t *drr_begin,
1736 drc->drc_tosnap = tosnap;