Home
last modified time | relevance | path

Searched refs:obe_zpool (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_rename.c151 bt.nbe_zpool = bt.obe_zpool; in be_rename()
153 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, in be_rename()
156 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in be_rename()
205 if (lzbe_get_boot_device(bt.obe_zpool, &nextboot) == 0 && in be_rename()
207 if ((rv = lzbe_set_boot_device(bt.obe_zpool, in be_rename()
212 bt.obe_root_ds, bt.obe_zpool); in be_rename()
261 if ((ret = be_make_root_container_ds(bt.obe_zpool, be_root_container, in be_rename()
264 "for %s\n"), __func__, bt.obe_zpool); in be_rename()
277 bt.nbe_name, bt.obe_zpool, NULL)) != BE_SUCCESS) { in be_rename()
H A Dbe_snapshot.c300 if ((zphp = zpool_open(g_zfs, bt.obe_zpool)) == NULL) { in be_rollback()
302 "open rpool (%s): %s\n"), bt.obe_zpool, in be_rollback()
323 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in be_rollback()
326 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in be_rollback()
442 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, in _be_create_snapshot()
445 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in _be_create_snapshot()
674 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, in _be_destroy_snapshot()
677 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in _be_destroy_snapshot()
H A Dbe_activate.c187 &bt.obe_zpool); in be_installboot()
269 if ((ret = be_make_root_ds(cb.obe_zpool, cb.obe_name, root_ds, in _be_activate()
272 "for %s/%s\n"), __func__, cb.obe_zpool, cb.obe_name); in _be_activate()
282 if (!be_has_menu_entry(root_ds, cb.obe_zpool, &entry)) { in _be_activate()
283 if ((ret = be_append_menu(cb.obe_name, cb.obe_zpool, in _be_activate()
293 cb.obe_zpool)) != BE_SUCCESS) { in _be_activate()
393 if ((ret = be_find_active_zone_root(zhp, cb.obe_zpool, in _be_activate()
700 if (bt == NULL || bt->obe_name == NULL || bt->obe_zpool == NULL || in be_get_grub_vers()
706 if ((pool_zhp = zfs_open(g_zfs, bt->obe_zpool, ZFS_TYPE_FILESYSTEM)) == in be_get_grub_vers()
720 "(%s) could not be mounted\n"), bt->obe_zpool); in be_get_grub_vers()
[all …]
H A Dbe_create.c453 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in be_destroy()
456 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in be_destroy()
491 if (lzbe_get_boot_device(bt.obe_zpool, &nextboot) == 0 && in be_destroy()
493 if (lzbe_set_boot_device(bt.obe_zpool, in be_destroy()
498 bt.obe_root_ds, bt.obe_zpool); in be_destroy()
586 if ((ret = be_remove_menu(bt.obe_name, bt.obe_zpool, NULL)) in be_destroy()
688 if ((zphp = zpool_open(g_zfs, bt.obe_zpool)) == NULL) { in be_copy()
690 "open rpool (%s): %s\n"), bt.obe_zpool, in be_copy()
806 bt.nbe_zpool = bt.obe_zpool; in be_copy()
868 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in be_copy()
[all …]
H A Dlibbe_priv.h89 char *obe_zpool; /* Original BE pool */ member
H A Dbe_mount.c281 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in _be_mount()
284 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in _be_mount()
456 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in _be_unmount()
459 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in _be_unmount()
H A Dbe_utils.c156 if (strcmp(node->be_rpool, bt.obe_zpool) != 0) in be_get_boot_args()
288 free(bt.obe_zpool); in be_get_boot_args()
2809 if ((bt->obe_zpool = strdup(zpool)) == NULL) { in be_zpool_find_current_be_callback()
H A Dbe_list.c247 rpool = bt.obe_zpool; in _be_list()