/osnet-11/usr/src/lib/libbe/common/ |
H A D | be_zones.c | 104 char *root_ds = NULL; local 109 root_ds = be_get_ds_from_dir("/"); 110 if (root_ds == NULL) { /* we must be in a scratch mounted zone */ 116 ptr = strrchr(root_ds, '/'); 118 pool_len = strlen(root_ds) - (strlen(BE_CONTAINER_DS_NAME) + 120 (void) strlcpy(p_analog, root_ds, pool_len); 130 * root_ds - Root dataset of the nested BE to set active 138 be_zone_toggle_active(char *root_ds) argument 144 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { 146 "root dataset (%s): %s\n"), root_ds, 444 be_zone_is_bootable(char *root_ds) argument 483 be_zone_get_parent_id(const char *root_ds, uuid_t *uu) argument 546 be_zone_set_parent_id(const char *root_ds, uuid_t pud) argument [all...] |
H A D | be_rename.c | 71 char root_ds[MAXPATHLEN]; local 179 be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, sizeof (root_ds)); 180 bt.obe_root_ds = strdup(root_ds); 181 be_make_root_ds(bt.nbe_zpool, bt.nbe_name, root_ds, sizeof (root_ds)); 182 bt.nbe_root_ds = strdup(root_ds);
|
H A D | be_activate.c | 139 char root_ds[MAXPATHLEN]; local 166 be_make_root_ds(cb.obe_zpool, cb.obe_name, root_ds, sizeof (root_ds)); 167 cb.obe_root_ds = strdup(root_ds); 187 _be_activate_bh(char *be_name, char *root_ds, char *be_zpool) argument 221 if ((ret = set_bootfs(be_nodes->be_rpool, root_ds)) 224 "bootfs pool property for %s\n"), root_ds); 229 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) != NULL) { 239 root_ds, 246 "dataset (%s): %s\n"), root_ds, [all...] |
H A D | be_snapshot.c | 416 char root_ds[MAXPATHLEN]; local 459 be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, 460 sizeof (root_ds)); 461 bt.obe_root_ds = root_ds; 659 char root_ds[MAXPATHLEN]; local 692 be_make_root_ds(bt.obe_zpool, bt.obe_name, root_ds, sizeof (root_ds)); 693 bt.obe_root_ds = root_ds;
|
H A D | libbe_priv.h | 192 int be_zone_toggle_active(char *root_ds); 194 boolean_t be_zone_is_bootable(char *root_ds);
|
H A D | be_create.c | 69 static char *be_get_zone_be_name(char *root_ds, char *container_ds); 1764 * root_ds - Root dataset of the BE to set a uuid on. 1772 be_set_uuid(char *root_ds) argument 1789 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { 1791 "open BE root dataset (%s): %s\n"), root_ds, 1825 be_get_uuid(const char *root_ds, uuid_t *uu) argument 1834 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { 1836 "open BE root dataset (%s): %s\n"), root_ds, 1845 root_ds, libzfs_error_description(g_zfs)); 1888 * root_ds 1901 _be_destroy(const char *root_ds, be_destroy_data_t *dd, boolean_t d_snap) argument 3487 be_get_zone_be_name(char *root_ds, char *container_ds) argument [all...] |
/osnet-11/usr/src/lib/pylibbe/common/ |
H A D | libbe.py | 114 root_ds = dest.get("root_ds", None) 115 if root_ds and default_bootfs: 116 if root_ds == default_bootfs: 145 root_ds = be_make_root_ds(new_bename, zpool) 161 binst.bootfs = root_ds 252 root_ds = be_make_root_ds(dst_bename, zpool) 265 bi_copy.bootfs = root_ds 269 be_append_menu(mybc, root_ds, newtitle) 289 root_ds [all...] |
H A D | libbe_py.c | 439 char *bename, *root_ds, *zpool; local 441 if (PyArg_ParseTuple(args, "sss", &bename, &root_ds, &zpool) == 0) { 445 return (Py_BuildValue("i", _be_activate_bh(bename, root_ds, zpool)));
|