Lines Matching refs:origin

1247 		 * auto named snapshot to use as its origin.
1891 * d_snap - boolean flag to delete BE origin or not.
1904 char origin[MAXPATHLEN];
1940 * Get the origin of this BE's root dataset. This will be used
1943 if (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, sizeof (origin), NULL,
1947 (void) strlcpy(parent, origin, sizeof (parent));
1951 "get snapshot name from origin %s\n"), origin);
1956 * Only fret about the origin if the origin snapshot won't
1959 if ((snapzhp = zfs_open(g_zfs, origin, ZFS_TYPE_SNAPSHOT)) ==
1963 "open origin snapshot %s\n"), origin);
1982 /* If BE has an origin */
1986 * If the origin was an existing snapshot, we don't want
1995 * If origin snapshot doesn't have any other
1996 * dependents, delete the origin.
1998 if ((zhp = zfs_open(g_zfs, origin, ZFS_TYPE_SNAPSHOT)) ==
2001 "open BE's origin (%s): %s\n"), origin,
2007 /* If origin has dependents, don't delete it. */
2024 /* Destroy the snapshot origin used to create this BE. */
2041 * only checking that the root dataset's origin
2043 * possible that a subordinate dataset origin snapshot
2045 * before trying to destroy the origin snapshot.
2402 /* Get handle to origin BE's root dataset */
2406 "the origin BE root dataset (%s) for zones processing: "
2433 * If the origin BE is not mounted, we must mount it here to
3197 char origin[ZFS_MAXNAMELEN];
3211 if (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, sizeof (origin), NULL,
3214 * If the origin property is not set, zfs_prop_get returns !0.
3221 if (strcmp(origin, dd->snapshot) != 0) {
3253 * origin - char pointer to a snapshot dataset name. Its
3264 be_get_snap(char *origin, char **snap)
3269 * Separate out the origin's dataset and snapshot portions by
3272 cp = strrchr(origin, '@');