Lines Matching defs:zeptr
1317 fake_up_local_zone(zoneid_t zid, zone_entry_t *zeptr)
1324 (void) memset(zeptr, 0, sizeof (*zeptr));
1326 zeptr->zid = zid;
1332 result = getzonenamebyid(zid, zeptr->zname, sizeof (zeptr->zname));
1334 if (zonecfg_is_scratch(zeptr->zname) &&
1336 (void) zonecfg_reverse_scratch(fp, zeptr->zname, zeptr->zname,
1337 sizeof (zeptr->zname), NULL, 0);
1342 (void) zone_getattr(zid, ZONE_ATTR_ROOT, zeptr->zroot,
1343 sizeof (zeptr->zroot));
1344 (void) strlcpy(zeptr->zbrand, NATIVE_BRAND_NAME,
1345 sizeof (zeptr->zbrand));
1347 (void) strlcpy(zeptr->zroot, "/", sizeof (zeptr->zroot));
1348 (void) zone_getattr(zid, ZONE_ATTR_BRAND, zeptr->zbrand,
1349 sizeof (zeptr->zbrand));
1352 zeptr->zstate_str = "running";
1353 if (zonecfg_get_uuid(zeptr->zname, uuid) == Z_OK &&
1355 uuid_unparse(uuid, zeptr->zuuid);
1358 zperror2(zeptr->zname, gettext("could not get zone flags"));
1362 zeptr->ziptype = ZS_EXCLUSIVE;
1364 zeptr->ziptype = ZS_SHARED;