Lines Matching defs:zonepath
121 #define DTD_ATTR_ZONEPATH (const xmlChar *) "zonepath"
940 zonecfg_set_zonepath(zone_dochandle_t handle, char *zonepath)
950 modpath = strdup(zonepath);
1096 * since we need to walk all zonepath's in order to be able to detect conflicts
1107 char name[ZONENAME_MAX], zonepath[MAXPATHLEN];
1120 if ((err = zonecfg_get_zonepath(handle, zonepath,
1121 sizeof (zonepath))) != Z_OK)
1123 (void) strlcpy(ze.zone_path, zonepath + strlen(zonecfg_root),
1513 char path[MAXPATHLEN], zonepath[MAXPATHLEN], rpath[MAXPATHLEN];
1527 error = zonecfg_get_zonepath(handle, zonepath, sizeof (zonepath));
1530 if ((res = resolvepath(zonepath, rpath, sizeof (rpath))) == -1) {
1542 if (strcmp(zonepath, rpath) != 0) {
5403 zone_get_zonepath(char *zone_name, char *zonepath, size_t rp_sz)
5415 (void) strlcpy(zonepath, zonecfg_root, rp_sz);
5416 cp = zonepath + strlen(zonepath);
5417 while (cp > zonepath && cp[-1] == '/')
5421 if (zonepath[0] == '\0')
5422 (void) strlcpy(zonepath, "/", rp_sz);
5437 rp_sz - (cp - zonepath));
5452 * Check the snapshot first: if a zone is running, its zonepath
5461 err = zonecfg_get_zonepath(handle, zonepath, rp_sz);