Lines Matching defs:origin
857 * auto named snapshot to use as its origin.
1458 char origin[MAXPATHLEN];
1494 * Get the origin of this BE's root dataset. This will be used
1497 if (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, sizeof (origin), NULL,
1499 (void) strlcpy(parent, origin, sizeof (parent));
1503 "get snapshot name from origin %s\n"), origin);
1521 /* If BE has an origin */
1525 * If origin snapshot doesn't have any other
1526 * dependents, delete the origin.
1528 if ((zhp = zfs_open(g_zfs, origin, ZFS_TYPE_SNAPSHOT)) ==
1531 "open BE's origin (%s): %s\n"), origin,
1537 /* If origin has dependents, don't delete it. */
1554 /* Destroy the snapshot origin used to create this BE. */
1571 * only checking that the root dataset's origin
1573 * possible that a subordinate dataset origin snapshot
1575 * before trying to destroy the origin snapshot.
1925 /* Get handle to origin BE's root dataset */
1929 "the origin BE root dataset (%s) for zones processing: "
1956 * If the origin BE is not mounted, we must mount it here to
2761 char origin[ZFS_MAX_DATASET_NAME_LEN];
2775 if (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, sizeof (origin), NULL,
2778 "failed to get origin of %s: %s\n"), ds_path,
2783 if (strcmp(origin, dd->snapshot) != 0) {
2815 * origin - char pointer to a snapshot dataset name. Its
2826 be_get_snap(char *origin, char **snap)
2831 * Separate out the origin's dataset and snapshot portions by
2834 cp = strrchr(origin, '@');