Searched refs:obe_root_ds (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_rename.c151 bt.obe_root_ds = strdup(root_ds);
160 if ((ret = be_get_legacy_fs(bt.obe_name, bt.obe_root_ds, NULL, NULL,
169 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM))
173 bt.obe_root_ds, libzfs_error_description(g_zfs));
181 "rename dataset (%s): %s\n"), bt.obe_root_ds,
193 bt.obe_root_ds, libzfs_error_description(g_zfs));
230 free(bt.obe_root_ds);
H A Dbe_snapshot.c256 char obe_root_ds[MAXPATHLEN]; local
322 be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds,
323 sizeof (obe_root_ds));
324 bt.obe_root_ds = obe_root_ds;
327 if (!be_zone_compare_uuids(bt.obe_root_ds)) {
336 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_DATASET)) == NULL) {
339 bt.obe_root_ds, libzfs_error_description(g_zfs));
354 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_DATASET)) == NULL) {
357 bt.obe_root_ds, libzfs_error_descriptio
[all...]
H A Dbe_create.c390 char obe_root_ds[MAXPATHLEN]; local
447 be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds,
448 sizeof (obe_root_ds));
449 bt.obe_root_ds = obe_root_ds;
452 if (!be_zone_compare_uuids(bt.obe_root_ds)) {
475 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) ==
478 "open BE root dataset (%s): %s\n"), bt.obe_root_ds,
525 if ((ret = be_destroy_zones(bt.obe_name, bt.obe_root_ds, &dd))
547 if ((ret = _be_destroy((const char *)bt.obe_root_ds,
612 char obe_root_ds[MAXPATHLEN]; local
1889 be_copy_zones(char *obe_name, char *obe_root_ds, char *nbe_root_ds) argument
[all...]
H A Dbe_activate.c181 &bt.obe_root_ds);
252 cb.obe_root_ds = strdup(root_ds);
321 be_get_uuid(cb.obe_root_ds, &uu) == BE_SUCCESS &&
322 (ret = be_promote_zone_ds(cb.obe_name, cb.obe_root_ds))
643 bt->obe_root_ds == NULL) {
689 if ((zhp = zfs_open(g_zfs, bt->obe_root_ds, ZFS_TYPE_FILESYSTEM)) ==
692 "open BE root dataset (%s): %s\n"), bt->obe_root_ds,
1034 if ((zhp = zfs_open(g_zfs, bt->obe_root_ds, ZFS_TYPE_FILESYSTEM)) ==
1037 "open BE root dataset (%s): %s\n"), bt->obe_root_ds,
1239 if ((zhp = zfs_open(g_zfs, bt->obe_root_ds, ZFS_TYPE_FILESYSTE
[all...]
H A Dbe_mount.c254 char obe_root_ds[MAXPATHLEN]; local
279 be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds,
280 sizeof (obe_root_ds));
281 bt.obe_root_ds = obe_root_ds;
284 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) ==
287 "open BE root dataset (%s): %s\n"), bt.obe_root_ds,
307 "failed for %s\n"), bt.obe_root_ds);
383 be_get_uuid(bt.obe_root_ds, &uu) == BE_SUCCESS) {
424 char obe_root_ds[MAXPATHLE local
[all...]
H A Dlibbe_priv.h88 char *obe_root_ds; /* Original BE root dataset */ member in struct:be_transaction_data
H A Dbe_utils.c285 free(bt.obe_root_ds);
2762 * obe_name and obe_root_ds members of this parameter
2782 * If mounted at root, set obe_root_ds and obe_name
2787 if ((bt->obe_root_ds = strdup(zfs_get_name(zhp)))
2796 if ((bt->obe_name = strdup(basename(bt->obe_root_ds)))

Completed in 803 milliseconds