Lines Matching defs:volname
95 * volname (input) - name of the volume
102 ndmp_has_backup_snapshot(char *volname, char *jobname)
109 if ((zhp = zfs_open(zlibh, volname, ZFS_TYPE_DATASET)) == 0) {
110 NDMP_LOG(LOG_ERR, "Cannot open snapshot %s.", volname);
190 snapshot_hold(char *volname, char *snapname, char *jname, boolean_t recursive)
195 if ((zhp = zfs_open(zlibh, volname, ZFS_TYPE_DATASET)) == 0) {
196 NDMP_LOG(LOG_ERR, "Cannot open volume %s.", volname);
218 snapshot_release(char *volname, char *snapname, char *jname,
225 if ((zhp = zfs_open(zlibh, volname, ZFS_TYPE_DATASET)) == 0) {
226 NDMP_LOG(LOG_ERR, "Cannot open volume %s", volname);
247 snapshot_create(char *volname, char *jname, boolean_t recursive,
253 if (!volname || !*volname)
257 "%s@%s", volname, jname);
272 if (hold && snapshot_hold(volname, snapname, jname, recursive) != 0) {
288 snapshot_destroy(char *volname, char *jname, boolean_t recursive,
300 if (!volname || !*volname)
305 namep = volname;
308 "%s@%s", volname, jname);
315 snapshot_release(volname, namep, jname, recursive) != 0) {