Searched refs:obe_root_ds (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_snapshot.c | 257 char obe_root_ds[MAXPATHLEN]; in be_rollback() local 324 sizeof (obe_root_ds))) != BE_SUCCESS) { in be_rollback() 329 bt.obe_root_ds = obe_root_ds; in be_rollback() 332 if (!be_zone_compare_uuids(bt.obe_root_ds)) { in be_rollback() 344 bt.obe_root_ds, libzfs_error_description(g_zfs)); in be_rollback() 362 bt.obe_root_ds, libzfs_error_description(g_zfs)); in be_rollback() 448 bt.obe_root_ds = root_ds; in _be_create_snapshot() 451 if (!be_zone_compare_uuids(bt.obe_root_ds)) { in _be_create_snapshot() 496 bt.obe_root_ds, libzfs_error_description(g_zfs)); in _be_create_snapshot() 571 bt.obe_root_ds, bt.obe_snap_name); in _be_create_snapshot() [all …]
|
H A D | be_rename.c | 159 bt.obe_root_ds = strdup(root_ds); in be_rename() 173 if ((ret = be_get_legacy_fs(bt.obe_name, bt.obe_root_ds, NULL, NULL, in be_rename() 182 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) in be_rename() 186 bt.obe_root_ds, libzfs_error_description(g_zfs)); in be_rename() 194 "rename dataset (%s): %s\n"), bt.obe_root_ds, in be_rename() 206 nextboot != NULL && strcmp(nextboot, bt.obe_root_ds) == 0) { in be_rename() 212 bt.obe_root_ds, bt.obe_zpool); in be_rename() 290 free(bt.obe_root_ds); in be_rename()
|
H A D | be_create.c | 396 char obe_root_ds[MAXPATHLEN]; in be_destroy() local 454 sizeof (obe_root_ds))) != BE_SUCCESS) { in be_destroy() 459 bt.obe_root_ds = obe_root_ds; in be_destroy() 498 bt.obe_root_ds, bt.obe_zpool); in be_destroy() 590 bt.obe_root_ds); in be_destroy() 644 char obe_root_ds[MAXPATHLEN]; in be_copy() local 869 sizeof (obe_root_ds))) != BE_SUCCESS) { in be_copy() 881 bt.obe_root_ds = obe_root_ds; in be_copy() 1007 "(%s): %s\n"), bt.obe_root_ds, in be_copy() 2152 bt.obe_root_ds = zoneroot_ds; in be_copy_zones() [all …]
|
H A D | be_mount.c | 256 char obe_root_ds[MAXPATHLEN]; in _be_mount() local 282 sizeof (obe_root_ds))) != BE_SUCCESS) { in _be_mount() 287 bt.obe_root_ds = obe_root_ds; in _be_mount() 293 "open BE root dataset (%s): %s\n"), bt.obe_root_ds, in _be_mount() 313 "failed for %s\n"), bt.obe_root_ds); in _be_mount() 389 be_get_uuid(bt.obe_root_ds, &uu) == BE_SUCCESS) { in _be_mount() 430 char obe_root_ds[MAXPATHLEN]; in _be_unmount() local 457 sizeof (obe_root_ds))) != BE_SUCCESS) { in _be_unmount() 462 bt.obe_root_ds = obe_root_ds; in _be_unmount() 486 "failed for %s\n"), bt.obe_root_ds); in _be_unmount() [all …]
|
H A D | be_activate.c | 195 &bt.obe_root_ds); in be_installboot() 275 cb.obe_root_ds = strdup(root_ds); in _be_activate() 367 be_get_uuid(cb.obe_root_ds, &uu) == BE_SUCCESS && in _be_activate() 368 (ret = be_promote_zone_ds(cb.obe_name, cb.obe_root_ds)) in _be_activate() 701 bt->obe_root_ds == NULL) { in be_get_grub_vers() 747 if ((zhp = zfs_open(g_zfs, bt->obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in be_get_grub_vers() 750 "open BE root dataset (%s): %s\n"), bt->obe_root_ds, in be_get_grub_vers() 1104 if ((zhp = zfs_open(g_zfs, bt->obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in be_do_copy_grub_cap() 1108 bt->obe_root_ds, libzfs_error_description(g_zfs)); in be_do_copy_grub_cap() 1361 if ((zhp = zfs_open(g_zfs, bt->obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in be_do_installboot() [all …]
|
H A D | libbe_priv.h | 88 char *obe_root_ds; /* Original BE root dataset */ member
|
H A D | be_utils.c | 287 free(bt.obe_root_ds); in be_get_boot_args() 2862 if ((bt->obe_root_ds = strdup(zfs_get_name(zhp))) in be_zfs_find_current_be_callback() 2871 if ((bt->obe_name = strdup(basename(bt->obe_root_ds))) in be_zfs_find_current_be_callback()
|