Lines Matching defs:snapname
492 fsavl_find(avl_tree_t *avl, uint64_t snapguid, char **snapname)
501 if (snapname)
502 *snapname = fn->fn_snapname;
635 char *snapname;
638 snapname = strrchr(zhp->zfs_name, '@')+1;
651 VERIFY(0 == nvlist_add_uint64(sd->parent_snaps, snapname, guid));
656 if ((sd->fromsnap && strcmp(snapname, sd->fromsnap) == 0) ||
658 strcmp(snapname, sd->tosnap) == 0)) {
664 VERIFY(0 == nvlist_add_nvlist(sd->snapprops, snapname, nv));
915 /* these are all just the short snapname (the part after the @) */
1228 char *snapname;
1235 zhp->zfs_dmustats.dds_guid, &snapname);
1398 char *snapname;
1400 origin_guid, &snapname);
1406 snapname, &snapprops));
2348 char *fsname, *snapname;
2359 nvfs = fsavl_find(avl, guid1, &snapname);
2361 (void) snprintf(buf, sizeof (buf), "%s@%s", fsname, snapname);
2366 nvfs = fsavl_find(avl, guid2, &snapname);
2368 (void) snprintf(buf, sizeof (buf), "%s@%s", fsname, snapname);
2551 /* check for different snapname */
3040 char *snapname = NULL;
3052 &snapname);
3072 snapname, &snapprops_nvlist));
3397 } else if (snapname == NULL || finalsnap == NULL ||
3398 strcmp(finalsnap, snapname) == 0 ||