Lines Matching refs:zonecfg_root
234 char *zonecfg_root = "";
252 if (*zonecfg_root != '\0')
253 free(zonecfg_root);
255 (zonecfg_root = strdup(rootpath)) == NULL)
256 zonecfg_root = "";
262 return (zonecfg_root);
268 return (*zonecfg_root != '\0');
279 return (snprintf(answer, MAXPATHLEN, "%s%s/%s.xml", zonecfg_root,
287 zonecfg_root, ZONE_SNAPSHOT_ROOT, zonename) < MAXPATHLEN);
938 if ((len = strlcpy(path, zonecfg_root, pathsize)) >= pathsize)
974 len = strlen(zonecfg_root);
975 if (strncmp(modpath, zonecfg_root, len) != 0 || modpath[len] != '/') {
1128 (void) strlcpy(ze.zone_path, zonepath + strlen(zonecfg_root),
1501 if (snprintf(path, sizeof (path), "%s%s", zonecfg_root,
1551 if (snprintf(path, sizeof (path), "%s%s", zonecfg_root,
5575 (void) strlcpy(zonepath, zonecfg_root, rp_sz);
5774 if (*zonecfg_root != '\0' && !zonecfg_is_scratch(zone_name)) {
5776 if (zonecfg_find_scratch(fp, zone_name, zonecfg_root,