Home
last modified time | relevance | path

Searched refs:zoneroot_ds (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/lib/libbe/common/
H A Dbe_zones.c54 char *zoneroot_ds; member
59 char *zoneroot_ds; member
112 char *zoneroot_ds, int zoneroot_ds_size) in be_find_active_zone_root() argument
164 if (azr_data.zoneroot_ds != NULL) { in be_find_active_zone_root()
165 (void) strlcpy(zoneroot_ds, azr_data.zoneroot_ds, in be_find_active_zone_root()
167 free(azr_data.zoneroot_ds); in be_find_active_zone_root()
199 char *zoneroot_ds, int zoneroot_ds_size) in be_find_mounted_zone_root() argument
242 if (mzr_data.zoneroot_ds != NULL) { in be_find_mounted_zone_root()
243 (void) strlcpy(zoneroot_ds, mzr_data.zoneroot_ds, in be_find_mounted_zone_root()
245 free(mzr_data.zoneroot_ds); in be_find_mounted_zone_root()
[all …]
H A Dbe_mount.c708 be_get_legacy_fs(char *be_name, char *be_root_ds, char *zoneroot_ds, in be_get_legacy_fs() argument
733 zoneroot_ds ? BE_MOUNT_FLAG_NULL : in be_get_legacy_fs()
754 if (zoneroot_ds != NULL) { in be_get_legacy_fs()
761 if ((zhp = zfs_open(g_zfs, zoneroot_ds, in be_get_legacy_fs()
765 zoneroot_ds, libzfs_error_description(g_zfs)); in be_get_legacy_fs()
788 zoneroot_ds); in be_get_legacy_fs()
836 zoneroot_ds); in be_get_legacy_fs()
2547 char zoneroot_ds[MAXPATHLEN]; in be_mount_one_zone() local
2551 if ((ret = be_find_active_zone_root(be_zhp, zonepath_ds, zoneroot_ds, in be_mount_one_zone()
2552 sizeof (zoneroot_ds))) == BE_ERR_ZONE_NO_ACTIVE_ROOT) { in be_mount_one_zone()
[all …]
H A Dbe_activate.c1140 char zoneroot_ds[MAXPATHLEN]; in be_promote_zone_ds() local
1216 zoneroot_ds, sizeof (zoneroot_ds)) != 0) { in be_promote_zone_ds()
1223 if ((z_zhp = zfs_open(g_zfs, zoneroot_ds, in be_promote_zone_ds()
1227 "(%s): %s\n"), zoneroot_ds, in be_promote_zone_ds()
1248 zoneroot_ds, in be_promote_zone_ds()
H A Dbe_create.c1898 char zoneroot_ds[MAXPATHLEN]; in be_copy_zones() local
2011 zoneroot_ds, sizeof (zoneroot_ds))) != BE_SUCCESS) { in be_copy_zones()
2021 if ((z_zhp = zfs_open(g_zfs, zoneroot_ds, in be_copy_zones()
2025 zoneroot_ds, libzfs_error_description(g_zfs)); in be_copy_zones()
2031 be_get_zone_be_name(zoneroot_ds, zone_container_ds); in be_copy_zones()
2048 (void) snprintf(ss, sizeof (ss), "%s@%s", zoneroot_ds, in be_copy_zones()
2067 bt.obe_root_ds = zoneroot_ds; in be_copy_zones()
2131 if ((z_zhp = zfs_open(g_zfs, zoneroot_ds, in be_copy_zones()
2136 zoneroot_ds, in be_copy_zones()
2217 zoneroot_ds, zoneroot, &fld)) != BE_SUCCESS) { in be_copy_zones()