Lines Matching defs:zonecfg_root
374 char *zonecfg_root = "";
392 if (*zonecfg_root != '\0')
393 free(zonecfg_root);
395 (zonecfg_root = strdup(rootpath)) == NULL)
396 zonecfg_root = "";
402 return (zonecfg_root);
515 return (*zonecfg_root != '\0');
526 return (snprintf(answer, MAXPATHLEN, "%s%s/%s.xml", zonecfg_root,
534 zonecfg_root, ZONE_SNAPSHOT_ROOT, zonename) < MAXPATHLEN);
1367 if ((len = strlcpy(path, zonecfg_root, pathsize)) >= pathsize)
1403 len = strlen(zonecfg_root);
1404 if (strncmp(modpath, zonecfg_root, len) != 0 || modpath[len] != '/') {
1588 (void) strlcpy(ze.zone_path, zonepath + strlen(zonecfg_root),
2006 if (snprintf(path, sizeof (path), "%s%s", zonecfg_root,
2056 if (snprintf(path, sizeof (path), "%s%s", zonecfg_root,
6669 (void) strlcpy(zonepath, zonecfg_root, rp_sz);
6869 if (*zonecfg_root != '\0' && !zonecfg_is_scratch(zone_name)) {
6871 if (zonecfg_find_scratch(fp, zone_name, zonecfg_root,