Lines Matching defs:source_zone
3017 warn_dev_match(zone_dochandle_t s_handle, char *source_zone,
3033 zperror2(source_zone,
3139 warn_fs_match(zone_dochandle_t s_handle, char *source_zone,
3156 zperror2(source_zone,
3183 warn_ip_match(zone_dochandle_t s_handle, char *source_zone,
3206 zperror2(source_zone,
3280 valid_brand_clone(char *source_zone, char *target_zone)
3285 if ((zone_get_brand(source_zone, source_brand,
3288 execname, source_zone, gettext("missing or invalid brand"));
3295 "types.\n"), execname, source_zone, target_zone);
3308 validate_clone(char *source_zone, char *target_zone)
3330 if ((err = zonecfg_get_handle(source_zone, s_handle)) != Z_OK) {
3337 err = valid_brand_clone(source_zone, target_zone);
3342 warn_fs_match(s_handle, source_zone, t_handle, target_zone);
3345 warn_ip_match(s_handle, source_zone, t_handle, target_zone);
3348 warn_dev_match(s_handle, source_zone, t_handle, target_zone);
3351 warn_dataset_match(s_handle, source_zone, t_handle, target_zone);
3441 char *source_zone = NULL;
3493 source_zone = argv[optind];
3505 if (strcmp(source_zone, GLOBAL_ZONENAME) == 0) {
3511 if (strncmp(source_zone, "SUNW", 4) == 0) {
3517 if (auth_check(username, source_zone, SOURCE_ZONE) == Z_ERR) {
3524 zent = lookup_running_zone(source_zone);
3543 if ((err = zone_get_state(source_zone, &state)) != Z_OK) {
3545 zperror2(source_zone, gettext("could not get state"));
3551 execname, source_zone, zone_state_str(state),
3560 if (validate_clone(source_zone, target_zone) != Z_OK)
3570 if ((err = zone_get_zonepath(source_zone, source_zonepath,
3573 zperror2(source_zone, gettext("could not get zone path"));
3611 source_zone, source_zonepath) != Z_OK) {
3620 source_zone, source_zonepath) != Z_OK) {