Lines Matching defs:snapname
2938 const char *snapname;
2942 snapname = strchr(propname, '@') + 1;
2943 if (strchr(snapname, '@')) {
2944 (void) strlcpy(zc.zc_value, snapname, sizeof (zc.zc_value));
2946 /* snapname is the short name, append it to zhp's fsname */
2955 (void) strlcat(zc.zc_value, snapname, sizeof (zc.zc_value));
3457 const char *snapname;
3468 "%s@%s", zhp->zfs_name, dd->snapname);
3482 zfs_destroy_snaps(zfs_handle_t *zhp, char *snapname, boolean_t defer)
3487 dd.snapname = snapname;
3494 zhp->zfs_name, snapname);
3717 const char *snapname = nvpair_name(elem);
3720 if (!zfs_validate_name(hdl, snapname, ZFS_TYPE_SNAPSHOT,
3724 "cannot create snapshot '%s'"), snapname);
4438 const char *snapname;
4452 "%s@%s", zhp->zfs_name, ha->snapname);
4464 zfs_hold(zfs_handle_t *zhp, const char *snapname, const char *tag,
4471 ha.snapname = snapname;
4484 zhp->zfs_name, snapname);
4572 "%s@%s", zhp->zfs_name, ha->snapname);
4592 zfs_release(zfs_handle_t *zhp, const char *snapname, const char *tag,
4603 ha.snapname = snapname;
4615 zhp->zfs_name, snapname);