Home
last modified time | relevance | path

Searched refs:zone_path (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_paths.c77 z_make_zone_root(char *zone_path) in z_make_zone_root() argument
81 if (zone_path == NULL) in z_make_zone_root()
84 (void) snprintf(zone_root_buf, MAXPATHLEN, "%s%slu/a", zone_path, in z_make_zone_root()
85 (zone_path[0] != '\0' && in z_make_zone_root()
86 zone_path[strlen(zone_path) - 1] == '/') ? "" : "/"); in z_make_zone_root()
H A Dzones.c523 zlst[numzones]._zlPath = _z_strdup(ze->zone_path); in z_get_nonglobal_zone_list_by_brand()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dgetzoneent.c160 (void) strlcpy(ze->zone_path, p, MAXPATHLEN); in getzoneent_private()
279 const char *zone_name, *zone_state, *zone_path, *zone_uuid; in putzoneent() local
293 (ze->zone_state < 0 || strlen(ze->zone_path) == 0)) in putzoneent()
342 zone_path = ze->zone_path; in putzoneent()
390 zone_path = gettok(&cp); in putzoneent()
420 if (ze->zone_path[0] != '\0') in putzoneent()
421 zone_path = ze->zone_path; in putzoneent()
452 need_quotes = (strchr(zone_path, ':') != NULL); in putzoneent()
454 zone_state, need_quotes ? "\"" : "", zone_path, in putzoneent()
H A Dlibzonecfg.c1130 (void) strlcpy(ze.zone_path, zonepath + strlen(zonecfg_root), in zonecfg_refresh_index_file()
1131 sizeof (ze.zone_path)); in zonecfg_refresh_index_file()
5597 if (ze->zone_path[0] != '\0') in zone_get_zonepath()
5598 (void) strlcpy(cp, ze->zone_path, in zone_get_zonepath()
5821 (void) strlcpy(ze.zone_path, "", sizeof (ze.zone_path)); in zone_set_state()
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c109 struct zone_path { struct
121 static int create_znode(char *, struct zone_path *, devmap_t *); argument
696 mk_alloc(devmap_t *list, uid_t uid, struct zone_path *zpath) in mk_alloc()
1161 struct zone_path zpath; in _allocate_dev()
1693 create_znode(char *zonename, struct zone_path *zpath, devmap_t *list) in create_znode()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_activate.c1542 char *zone_path = NULL; in be_promote_zone_ds() local
1549 if (((zone_path = in be_promote_zone_ds()
1551 ((zone_ds = be_get_ds_from_dir(zone_path)) == NULL) || in be_promote_zone_ds()
/illumos-gate/usr/src/head/
H A Dlibzonecfg.h172 char zone_path[MAXPATHLEN]; /* path to zone storage */ member
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c890 if (strlen(ze->zone_path) == 0) { in crosscheck_zonepaths()
893 ze->zone_path, sizeof (ze->zone_path))) != Z_OK) { in crosscheck_zonepaths()
902 zonecfg_get_root(), ze->zone_path); in crosscheck_zonepaths()