Lines Matching defs:tosnap

579 	const char *tosnap;
586 * "tosnap" -> string
624 * an incremental replication), we will substitute the tosnap.
627 (sd->parent_fromsnap_guid == 0 && sd->tosnap &&
628 strcmp(snapname, sd->tosnap) == 0)) {
871 const char *tosnap, boolean_t recursive, boolean_t received,
884 sd.tosnap = tosnap;
994 const char *tosnap;
1167 istosnap = (strcmp(sdd->tosnap, thissnap) == 0);
1276 zhp->zfs_name, sdd->tosnap);
1280 zhp->zfs_name, sdd->tosnap);
1311 zhp->zfs_name, sdd->tosnap,
1320 zhp->zfs_name, sdd->tosnap,
1325 zhp->zfs_name, sdd->tosnap);
1372 if (nvlist_lookup_uint64(snaps, sdd->tosnap, &origin_guid) !=
1438 * 'tosnap'. Incremental streams are requested in two ways:
1451 zfs_send(zfs_handle_t *zhp, const char *fromsnap, const char *tosnap,
1544 VERIFY(0 == nvlist_add_string(hdrnv, "tosnap", tosnap));
1551 fromsnap, tosnap, flags.replicate,
1578 "%s@%s", zhp->zfs_name, tosnap);
1611 sdd.tosnap = tosnap;
1688 const char *tosnap;
2361 * tosnap for stream_parent_fromsnap_guid,
2451 if (recursive && strchr(rdp->tosnap, '@')) {
2504 VERIFY(ZFS_MAXNAMELEN > strlcpy(tofs, rdp->tosnap,
2905 * Restores a backup of tosnap from the file descriptor specified by infd.
2952 if (strchr(rdp->tosnap, '@')) {
2980 if (strchr(rdp->tosnap, '@')) {
2990 } else if (strchr(rdp->tosnap, '@') == NULL) {
3019 VERIFY(sizeof (zc.zc_top_ds) > strlcpy(zc.zc_top_ds, rdp->tosnap,
3044 VERIFY(sizeof (zc.zc_value) > strlcpy(zc.zc_value, rdp->tosnap,
3058 if (guid_to_name(hdl, rdp->tosnap,
3091 if (guid_to_name(hdl, rdp->tosnap, parent_snapguid,
3122 if (guid_to_name(hdl, rdp->tosnap, drrb->drr_fromguid,
3263 strlen(rdp->tosnap)) != 0) {
3702 !zfs_dataset_exists(hdl, rdp->tosnap, ZFS_TYPE_DATASET)) {
3704 "(%s) does not exist"), rdp->tosnap);
3790 * Restores a backup of tosnap from the file descriptor specified by infd.
3796 zfs_receive(libzfs_handle_t *hdl, const char *tosnap, recvflags_t flags,
3810 rd.tosnap = tosnap;