Lines Matching refs:origin
392 * BE_DESTROY_ORIGIN: destroy the origin snapshot as well
399 char origin[BE_MAXPATHLEN], path[BE_MAXPATHLEN];
409 *origin = '\0';
436 * If we're initially destroying a snapshot, origin options do
437 * not make sense. If we're destroying the origin snapshot of
466 * If we're just destroying the origin of some other dataset
479 * that we grab the new origin after everything's settled down.
482 zfs_prop_get(fs, ZFS_PROP_ORIGIN, origin, sizeof(origin),
488 * If the caller wants auto-origin destruction and the origin
493 * the caller can determine if it needs to warn about the origin
496 if ((options & BE_DESTROY_AUTOORIGIN) != 0 && *origin != '\0' &&
497 be_is_auto_snapshot_name(lbh, origin))
513 /* The origin can't possibly be shorter than the BE root */
515 if (*origin == '\0' || strlen(origin) <= rootlen + 1)
520 * be_destroy, so that we properly handle the origin snapshot whether
523 if (strncmp(origin, lbh->root, rootlen) != 0 || origin[rootlen] != '/')
526 return (be_destroy_internal(lbh, origin + rootlen + 1,
538 * origin, or complain otherwise.
1273 char *origin;
1325 if (nvlist_lookup_string(dsprops, "origin", &origin) == 0)