Lines Matching defs:snapshot

212 	 * If we're deleting a snapshot, we need to make sure we only promote
214 * rather than that of a snapshot we're not touching. This keeps stuff
227 * It checks if the dependent type is a snapshot then attempts to find any
321 * snapshot.
372 * here being if the snapshot doesn't exist in the first place, which
374 * exist after the call. Thus, such a missing snapshot shouldn't jam
389 * Destroy the boot environment or snapshot specified by the name
392 * BE_DESTROY_ORIGIN: destroy the origin snapshot as well
436 * If we're initially destroying a snapshot, origin options do
437 * not make sense. If we're destroying the origin snapshot of
458 * Whether we're destroying a BE or a single snapshot, we need to walk
489 * name matches one of our automatically created snapshot names
520 * be_destroy, so that we properly handle the origin snapshot whether
750 /* no snapshot found for this dataset, silently skip it */
784 * Create a boot environment with a given name from a given snapshot.
785 * Snapshots can be in the format 'zroot/ROOT/default@snapshot' or
786 * 'default@snapshot'. In the latter case, 'default@snapshot' will be prepended
790 be_clone(libbe_handle_t *lbh, const char *bename, const char *snapshot, int depth)
804 * given a partial snapshot name.
806 if ((err = be_root_concat(lbh, snapshot, snap_path)) != 0)
809 /* ensure the snapshot exists */
813 /* get a copy of the snapshot path so we can disect it */
817 /* split dataset name from snapshot name */
844 * Create a boot environment from pre-existing snapshot, specifying a depth.
853 * Create the boot environment from pre-existing snapshot
882 * Verifies that a snapshot has a valid name, exists, and has a mountpoint of