/titanic_41/usr/src/lib/libbe/common/ |
H A D | be_rename.c | 71 char root_ds[MAXPATHLEN]; in be_rename() local 150 be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, sizeof (root_ds)); in be_rename() 151 bt.obe_root_ds = strdup(root_ds); in be_rename() 152 be_make_root_ds(bt.nbe_zpool, bt.nbe_name, root_ds, sizeof (root_ds)); in be_rename() 153 bt.nbe_root_ds = strdup(root_ds); in be_rename()
|
H A D | be_zones.c | 345 be_zone_get_parent_uuid(const char *root_ds, uuid_t *uu) in be_zone_get_parent_uuid() argument 354 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_zone_get_parent_uuid() 356 "open zone root dataset (%s): %s\n"), root_ds, in be_zone_get_parent_uuid() 365 "dataset (%s): %s\n"), root_ds, in be_zone_get_parent_uuid() 407 be_zone_set_parent_uuid(char *root_ds, uuid_t uu) in be_zone_set_parent_uuid() argument 416 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_zone_set_parent_uuid() 418 "open root zone dataset (%s): %s\n"), root_ds, in be_zone_set_parent_uuid() 449 be_zone_compare_uuids(char *root_ds) in be_zone_compare_uuids() argument 456 if ((be_zone_get_parent_uuid(root_ds, in be_zone_compare_uuids()
|
H A D | be_snapshot.c | 407 char root_ds[MAXPATHLEN]; in _be_create_snapshot() local 437 be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, in _be_create_snapshot() 438 sizeof (root_ds)); in _be_create_snapshot() 439 bt.obe_root_ds = root_ds; in _be_create_snapshot() 633 char root_ds[MAXPATHLEN]; in _be_destroy_snapshot() local 666 be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, in _be_destroy_snapshot() 667 sizeof (root_ds)); in _be_destroy_snapshot() 668 bt.obe_root_ds = root_ds; in _be_destroy_snapshot()
|
H A D | be_activate.c | 143 char root_ds[MAXPATHLEN]; in _be_activate() local 175 be_make_root_ds(cb.obe_zpool, cb.obe_name, root_ds, sizeof (root_ds)); in _be_activate() 176 cb.obe_root_ds = strdup(root_ds); in _be_activate() 209 if (!be_has_menu_entry(root_ds, cb.obe_zpool, &entry)) { in _be_activate() 240 root_ds)) != BE_SUCCESS) { in _be_activate() 242 "bootfs pool property for %s\n"), root_ds); in _be_activate() 247 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) != NULL) { in _be_activate() 257 root_ds, in _be_activate() 264 "dataset (%s): %s\n"), root_ds, in _be_activate() 280 if (!be_zone_compare_uuids(root_ds)) { in _be_activate() [all …]
|
H A D | be_create.c | 72 static char *be_get_zone_be_name(char *root_ds, char *container_ds); 1330 be_set_uuid(char *root_ds) in be_set_uuid() argument 1347 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_set_uuid() 1349 "open BE root dataset (%s): %s\n"), root_ds, in be_set_uuid() 1383 be_get_uuid(const char *root_ds, uuid_t *uu) in be_get_uuid() argument 1392 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_get_uuid() 1394 "open BE root dataset (%s): %s\n"), root_ds, in be_get_uuid() 1403 root_ds, libzfs_error_description(g_zfs)); in be_get_uuid() 1457 _be_destroy(const char *root_ds, be_destroy_data_t *dd) in _be_destroy() argument 1467 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_destroy() [all …]
|
H A D | be_utils.c | 232 char *root_ds = NULL; in be_make_root_ds() local 247 if ((root_ds = be_get_ds_from_dir("/")) != NULL) { in be_make_root_ds() 249 dirname(root_ds), be_name); in be_make_root_ds() 277 char *root_ds = NULL; in be_make_container_ds() local 288 if ((root_ds = be_get_ds_from_dir("/")) != NULL) { in be_make_container_ds() 289 (void) strlcpy(container_ds, dirname(root_ds), in be_make_container_ds() 1729 char *root_ds = strtok(NULL, BE_WHITE_SPACE); in be_update_menu() local 1731 if (root_ds == NULL) { in be_update_menu() 1742 if (strcmp(root_ds, be_root_ds) == 0) { in be_update_menu()
|
/titanic_41/usr/src/cmd/beadm/ |
H A D | beadm.c | 291 const char *root_ds = cur_be->be_root_ds; in count_widths() local 306 (void) strlcpy(name, root_ds, sizeof (name)); in count_widths() 436 const char *root_ds = be->be_root_ds; in print_be_snapshots() local 443 (void) strncpy(name, root_ds, sizeof (name)); in print_be_snapshots()
|