/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_rename.c | 151 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 D | be_snapshot.c | 300 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 D | be_activate.c | 187 &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 D | be_create.c | 453 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 D | libbe_priv.h | 89 char *obe_zpool; /* Original BE pool */ member
|
H A D | be_mount.c | 281 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 D | be_utils.c | 156 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 D | be_list.c | 247 rpool = bt.obe_zpool; in _be_list()
|