/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_utils.c | 199 node->be_root_ds); in be_get_boot_args() 268 node->be_root_ds, tmp); in be_get_boot_args() 272 kernel_options, node->be_root_ds, tmp); in be_get_boot_args() 448 be_make_root_ds(const char *zpool, const char *be_name, char *be_root_ds, in be_make_root_ds() argument 458 (void) snprintf(be_root_ds, be_root_ds_size, in be_make_root_ds() 461 (void) snprintf(be_root_ds, be_root_ds_size, in be_make_root_ds() 485 (void) snprintf(be_root_ds, be_root_ds_size, "%s/%s", in be_make_root_ds() 684 char be_root_ds[MAXPATHLEN]; in be_append_menu() local 749 if ((ret = be_make_root_ds(be_root_pool, be_name, be_root_ds, in be_append_menu() 750 sizeof (be_root_ds))) != BE_SUCCESS) { in be_append_menu() [all …]
|
H A D | be_create.c | 1295 char be_root_ds[MAXPATHLEN]; in be_find_zpool_callback() local 1301 if (be_make_root_ds(zpool, bt->obe_name, be_root_ds, in be_find_zpool_callback() 1302 sizeof (be_root_ds)) != BE_SUCCESS) { in be_find_zpool_callback() 1309 if (zfs_dataset_exists(g_zfs, be_root_ds, ZFS_TYPE_FILESYSTEM)) { in be_find_zpool_callback() 1338 char be_root_ds[MAXPATHLEN]; in be_exists_callback() local 1344 if (be_make_root_ds(zpool, be_name, be_root_ds, in be_exists_callback() 1345 sizeof (be_root_ds)) != BE_SUCCESS) { in be_exists_callback() 1352 if (zfs_dataset_exists(g_zfs, be_root_ds, ZFS_TYPE_FILESYSTEM)) { in be_exists_callback() 1686 be_destroy_zones(char *be_name, char *be_root_ds, be_destroy_data_t *dd) in be_destroy_zones() argument 1712 if ((zhp = zfs_open(g_zfs, be_root_ds, ZFS_TYPE_FILESYSTEM)) == in be_destroy_zones() [all …]
|
H A D | be_activate.c | 57 static int set_bootfs(char *boot_rpool, char *be_root_ds); 531 set_bootfs(char *boot_rpool, char *be_root_ds) in set_bootfs() argument 543 err = zpool_set_prop(zhp, "bootfs", be_root_ds); in set_bootfs() 1475 be_promote_zone_ds(char *be_name, char *be_root_ds) in be_promote_zone_ds() argument 1501 if ((zhp = zfs_open(g_zfs, be_root_ds, in be_promote_zone_ds() 1504 "dataset (%s): %s\n"), be_root_ds, in be_promote_zone_ds()
|
H A D | be_list.c | 337 free(temp_node->be_root_ds); in be_free_list() 1020 be_node->be_root_ds = strdup(be_ds); in be_get_node_data() 1021 if ((err = errno) != 0 || be_node->be_root_ds == NULL) { in be_get_node_data() 1086 if (be_zone_compare_uuids(be_node->be_root_ds)) in be_get_node_data()
|
H A D | libbe.h | 186 char *be_root_ds; member
|
H A D | be_mount.c | 718 be_get_legacy_fs(char *be_name, char *be_root_ds, char *zoneroot_ds, in be_get_legacy_fs() argument 727 if (be_name == NULL || be_root_ds == NULL || fld == NULL) in be_get_legacy_fs() 731 if ((zhp = zfs_open(g_zfs, be_root_ds, ZFS_TYPE_FILESYSTEM)) in be_get_legacy_fs() 734 "open BE root dataset (%s): %s\n"), be_root_ds, in be_get_legacy_fs()
|
/illumos-gate/usr/src/cmd/beadm/ |
H A D | beadm.c | 269 const char *root_ds = cur_be->be_root_ds; in count_widths() 272 size_t root_ds_len = strlen(cur_be->be_root_ds); in count_widths() 418 const char *root_ds = be->be_root_ds; in print_be_snapshots() 509 cur_be->be_root_ds, in print_fmt_nodes() 518 hdr->cols[0].width-3, cur_be->be_root_ds, in print_fmt_nodes()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 265 if (strcmp(be_node->be_root_ds, bootfs) == 0) { in menu_active_on_boot() 285 if (strcmp(be_node->be_root_ds, bootfs) == 0) { in menu_active_next() 766 if (strcmp(be_node->be_root_ds, entry->me_bootfs) == 0) in bam_mount_be() 1090 (void) fprintf(fp, "bootfs %s\n", be_node->be_root_ds); in update_entry() 1262 if (strcmp(be_node->be_root_ds, in list_setting()
|
H A D | bootadm.c | 1143 if (strcmp(root_ds, node->be_root_ds) == 0) in install_bootloader() 1158 node->be_root_ds); in install_bootloader() 1223 node->be_root_ds); in install_bootloader() 1270 if (strcmp(root_ds, node->be_root_ds) == 0) in install_bootloader() 1284 ret |= nvlist_add_string(nvl, BE_ATTR_ORIG_BE_ROOT, node->be_root_ds); in install_bootloader() 3331 if (strcmp(ds_path, cur_be->be_root_ds) == 0) { in is_be()
|
/illumos-gate/usr/src/lib/pylibbe/common/ |
H A D | libbe_py.c | 891 if (be->be_root_ds != NULL) { 893 PyUnicode_FromString(be->be_root_ds)) != 0) {
|