/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_diff.c | 163 dsl_dataset_t *fromsnap; local 183 error = dsl_dataset_hold(dp, fromsnap_name, FTAG, &fromsnap); 190 if (!dsl_dataset_is_before(tosnap, fromsnap, 0)) { 191 dsl_dataset_rele(fromsnap, FTAG); 197 fromtxg = dsl_dataset_phys(fromsnap)->ds_creation_txg; 198 dsl_dataset_rele(fromsnap, FTAG);
|
H A D | dmu_send.c | 959 dmu_send_obj(const char *pool, uint64_t tosnap, uint64_t fromsnap, argument 978 if (fromsnap != 0) { 982 err = dsl_dataset_hold_obj(dp, fromsnap, FTAG, &fromds); 1007 dmu_send(const char *tosnap, const char *fromsnap, boolean_t embedok, argument 1017 if (fromsnap != NULL && strpbrk(fromsnap, "@#") == NULL) 1039 if (fromsnap != NULL) { 1045 * If the fromsnap is in a different filesystem, then 1048 if (strncmp(tosnap, fromsnap, fsnamelen) != 0 || 1049 (fromsnap[fsnamele [all...] |
H A D | zfs_ioctl.c | 4399 * zc_fromobj objsetid of incremental fromsnap (may be zero) 4441 dsl_dataset_t *fromsnap = NULL; local 4455 FTAG, &fromsnap); 4463 error = dmu_send_estimate(tosnap, fromsnap, compressok, 4466 if (fromsnap != NULL) 4467 dsl_dataset_rele(fromsnap, FTAG); 5405 * (optional) "fromsnap" -> full snap name to send an incremental from 5436 (void) nvlist_lookup_string(innvl, "fromsnap", &fromname); 5514 dsl_dataset_t *fromsnap; local 5515 error = dsl_dataset_hold(dp, fromname, FTAG, &fromsnap); [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 62 char *fromsnap; member in struct:differ_info 268 fobjerr = get_stats_for_obj(di, di->fromsnap, dobj, fobjname, 357 if (get_stats_for_obj(di, di->fromsnap, object, namebuf, 378 (void) strlcpy(zc.zc_name, di->fromsnap, sizeof (zc.zc_name)); 535 free(di->fromsnap); 544 get_snapshot_names(differ_info_t *di, const char *fromsnap, argument 565 "Badly formed snapshot name %s"), fromsnap); 567 if (!zfs_validate_name(hdl, fromsnap, ZFS_TYPE_SNAPSHOT, 573 atptrf = strchr(fromsnap, '@'); 575 fdslen = atptrf - fromsnap; 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 | 582 * guid of fromsnap snapshot in parent dataset 583 * txg of fromsnap snapshot in current dataset 598 const char *fromsnap; member in struct:send_data 607 * "fromsnap" -> string (if incremental) 612 * "parentfromsnap" -> number (guid of fromsnap in parent) 653 * NB: if there is no fromsnap here (it's a newly created fs in 656 if ((sd->fromsnap && strcmp(snapname, sd->fromsnap) == 0) || 787 fromsnap_txg = get_snap_txg(zhp->zfs_hdl, zhp->zfs_name, sd->fromsnap); 874 gather_nvlist(libzfs_handle_t *hdl, const char *fsname, const char *fromsnap, argument 916 const char *fromsnap; member in struct:send_dump_data 1002 dump_ioctl(zfs_handle_t *zhp, const char *fromsnap, uint64_t fromsnap_obj, boolean_t fromorigin, int outfd, enum lzc_send_flags flags, nvlist_t *debugnv) argument 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 2399 char *fromsnap; local 2680 char *fromsnap = NULL; local [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_zfs.c | 616 char *fromsnap = NULL; local 649 NDMP_LOG(LOG_ERR, "no fromsnap"); 653 fromsnap = ndmpd_zfs_args->nz_fromsnap; 656 err = zfs_send(zhp, fromsnap, ndmpd_zfs_args->nz_snapname, &flags,
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 6771 char *fromsnap = NULL; local 6808 fromsnap = argv[0]; 6812 if (*fromsnap != '@') 6813 copy = strdup(fromsnap); 6833 err = zfs_show_diffs(zhp, STDOUT_FILENO, fromsnap, tosnap, flags);
|