Lines Matching defs:origin
396 * BE_DESTROY_ORIGIN: destroy the origin snapshot as well
403 char origin[BE_MAXPATHLEN], path[BE_MAXPATHLEN];
413 *origin = '\0';
440 * If we're initially destroying a snapshot, origin options do
441 * not make sense. If we're destroying the origin snapshot of
470 * If we're just destroying the origin of some other dataset
483 * that we grab the new origin after everything's settled down.
486 zfs_prop_get(fs, ZFS_PROP_ORIGIN, origin, sizeof(origin),
492 * If the caller wants auto-origin destruction and the origin
497 * the caller can determine if it needs to warn about the origin
500 if ((options & BE_DESTROY_AUTOORIGIN) != 0 && *origin != '\0' &&
501 be_is_auto_snapshot_name(lbh, origin))
517 /* The origin can't possibly be shorter than the BE root */
519 if (*origin == '\0' || strlen(origin) <= rootlen + 1)
524 * be_destroy, so that we properly handle the origin snapshot whether
527 if (strncmp(origin, lbh->root, rootlen) != 0 || origin[rootlen] != '/')
530 return (be_destroy_internal(lbh, origin + rootlen + 1,
542 * origin, or complain otherwise.
1252 char *origin;
1287 if (nvlist_lookup_string(dsprops, "origin", &origin) == 0)