Lines Matching defs:zonepath
122 #define DTD_ATTR_ZONEPATH (const xmlChar *) "zonepath"
945 zonecfg_set_zonepath(zone_dochandle_t handle, char *zonepath)
955 modpath = strdup(zonepath);
1101 * since we need to walk all zonepath's in order to be able to detect conflicts
1112 char name[ZONENAME_MAX], zonepath[MAXPATHLEN];
1125 if ((err = zonecfg_get_zonepath(handle, zonepath,
1126 sizeof (zonepath))) != Z_OK)
1128 (void) strlcpy(ze.zone_path, zonepath + strlen(zonecfg_root),
1518 char path[MAXPATHLEN], zonepath[MAXPATHLEN], rpath[MAXPATHLEN];
1532 error = zonecfg_get_zonepath(handle, zonepath, sizeof (zonepath));
1535 if ((res = resolvepath(zonepath, rpath, sizeof (rpath))) == -1) {
1547 if (strcmp(zonepath, rpath) != 0) {
5563 zone_get_zonepath(char *zone_name, char *zonepath, size_t rp_sz)
5575 (void) strlcpy(zonepath, zonecfg_root, rp_sz);
5576 cp = zonepath + strlen(zonepath);
5577 while (cp > zonepath && cp[-1] == '/')
5581 if (zonepath[0] == '\0')
5582 (void) strlcpy(zonepath, "/", rp_sz);
5597 rp_sz - (cp - zonepath));
5612 * Check the snapshot first: if a zone is running, its zonepath
5621 err = zonecfg_get_zonepath(handle, zonepath, rp_sz);