Lines Matching refs:snapname
190 snapshot_hold(char *volname, char *snapname, char *jname, boolean_t recursive)
207 p = strchr(snapname, '@') + 1;
218 snapshot_release(char *volname, char *snapname, char *jname,
230 p = strchr(snapname, '@') + 1;
250 char snapname[ZFS_MAX_DATASET_NAME_LEN];
256 (void) snprintf(snapname, ZFS_MAX_DATASET_NAME_LEN,
260 if ((rv = zfs_snapshot(zlibh, snapname, recursive, NULL))
268 snapname, errno, libzfs_error_description(zlibh));
272 if (hold && snapshot_hold(volname, snapname, jname, recursive) != 0) {
275 snapname, errno, libzfs_error_description(zlibh));
291 char snapname[ZFS_MAX_DATASET_NAME_LEN];
307 (void) snprintf(snapname, ZFS_MAX_DATASET_NAME_LEN,
309 namep = snapname;