/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_diff.c | 164 dsl_dataset_t *tosnap; local 177 error = dsl_dataset_hold(dp, tosnap_name, FTAG, &tosnap); 185 dsl_dataset_rele(tosnap, FTAG); 190 if (!dsl_dataset_is_before(tosnap, fromsnap, 0)) { 192 dsl_dataset_rele(tosnap, FTAG); 200 dsl_dataset_long_hold(tosnap, FTAG); 209 error = traverse_dataset(tosnap, fromtxg, 219 dsl_dataset_long_rele(tosnap, FTAG); 220 dsl_dataset_rele(tosnap, FTAG);
|
H A D | dmu_send.c | 959 dmu_send_obj(const char *pool, uint64_t tosnap, uint64_t fromsnap, argument 972 err = dsl_dataset_hold_obj(dp, tosnap, FTAG, &ds); 1007 dmu_send(const char *tosnap, const char *fromsnap, boolean_t embedok, argument 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, fromsna 1728 dmu_recv_begin(char *tofs, char *tosnap, dmu_replay_record_t *drr_begin, boolean_t force, boolean_t resumable, char *origin, dmu_recv_cookie_t *drc) argument [all...] |
H A D | zfs_ioctl.c | 4187 char *tosnap; local 4197 tosnap = strchr(tofs, '@'); 4198 *tosnap++ = '\0'; 4217 error = dmu_recv_begin(tofs, tosnap, 4419 dsl_dataset_t *tosnap; local 4425 error = dsl_dataset_hold_obj(dp, zc->zc_sendobj, FTAG, &tosnap); 4431 if (dsl_dir_is_clone(tosnap->ds_dir)) 4433 dsl_dir_phys(tosnap->ds_dir)->dd_origin_obj; 4434 dsl_dataset_rele(tosnap, FTAG); 4440 dsl_dataset_t *tosnap; local 5482 dsl_dataset_t *tosnap; local [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 64 char *tosnap; member in struct:differ_info 273 tobjerr = get_stats_for_obj(di, di->tosnap, dobj, tobjname, 526 di->tosnap = zfs_asprintf(hdl, "%s@%s", di->ds, di->tmpsnap); 537 free(di->tosnap); 545 const char *tosnap) 561 if (tosnap == NULL) { 590 atptrt = strchr(tosnap, '@'); 592 tdslen = atptrt ? atptrt - tosnap : strlen(tosnap); 594 tsnlen = strlen(tosnap) 544 get_snapshot_names(differ_info_t *di, const char *fromsnap, const char *tosnap) argument 723 setup_differ_info(zfs_handle_t *zhp, const char *fromsnap, const char *tosnap, differ_info_t *di) argument 744 zfs_show_diffs(zfs_handle_t *zhp, int outfd, const char *fromsnap, const char *tosnap, int flags) argument [all...] |
H A D | libzfs_sendrecv.c | 584 * txg of tosnap snapshot in current dataset 599 const char *tosnap; member in struct:send_data 606 * "tosnap" -> string 645 zhp->zfs_name, sd->tosnap); 654 * an incremental replication), we will substitute the tosnap. 657 (sd->parent_fromsnap_guid == 0 && sd->tosnap && 658 strcmp(snapname, sd->tosnap) == 0)) { 791 tosnap_txg = get_snap_txg(zhp->zfs_hdl, zhp->zfs_name, sd->tosnap); 796 * on the send side, if the current dataset does not have tosnap, 800 * the parent tosnap 874 gather_nvlist(libzfs_handle_t *hdl, const char *fsname, const char *fromsnap, const char *tosnap, boolean_t recursive, boolean_t verbose, nvlist_t **nvlp, avl_tree_t **avlp) argument 917 const char *tosnap; member in struct:send_dump_data 1139 send_print_verbose(FILE *fout, const char *tosnap, const char *fromsnap, uint64_t size, boolean_t parsable) argument 1729 zfs_send(zfs_handle_t *zhp, const char *fromsnap, const char *tosnap, sendflags_t *flags, int outfd, snapfilter_cb_t filter_func, void *cb_arg, nvlist_t **debugnvp) argument 3019 zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap, const char *originsnap, recvflags_t *flags, dmu_replay_record_t *drr, dmu_replay_record_t *drr_noswap, const char *sendfs, nvlist_t *stream_nv, avl_tree_t *stream_avl, char **top_zfs, int cleanup_fd, uint64_t *action_handlep, const char *finalsnap) argument 3594 zfs_receive_impl(libzfs_handle_t *hdl, const char *tosnap, const char *originsnap, recvflags_t *flags, int infd, const char *sendfs, nvlist_t *stream_nv, avl_tree_t *stream_avl, char **top_zfs, int cleanup_fd, uint64_t *action_handlep, const char *finalsnap) argument 3715 zfs_receive(libzfs_handle_t *hdl, const char *tosnap, nvlist_t *props, recvflags_t *flags, int infd, avl_tree_t *stream_avl) argument [all...] |
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 6770 char *tosnap = NULL; local 6809 tosnap = (argc == 2) ? argv[1] : NULL; 6814 else if (tosnap) 6815 copy = strdup(tosnap); 6833 err = zfs_show_diffs(zhp, STDOUT_FILENO, fromsnap, tosnap, flags);
|