Lines Matching refs:zid
96 zoneid_t zid; member
451 if (zent->zid == ZONE_ID_UNDEFINED) in zone_print()
454 (void) printf("%lu", zent->zid); in zone_print()
466 if (zent->zid == ZONE_ID_UNDEFINED) in zone_print()
469 (void) printf("%*lu", ZONEID_WIDTH, zent->zid); in zone_print()
476 lookup_zone_info(const char *zone_name, zoneid_t zid, zone_entry_t *zent) in lookup_zone_info() argument
488 zent->zid = zid; in lookup_zone_info()
503 if (is_system_labeled() && zent->zid != ZONE_ID_UNDEFINED) { in lookup_zone_info()
504 if (zone_getattr(zent->zid, ZONE_ATTR_ROOT, zent->zroot, in lookup_zone_info()
552 if (zid == GLOBAL_ZONEID) { in lookup_zone_info()
568 zid != ZONE_ID_UNDEFINED) { in lookup_zone_info()
571 if (zone_getattr(zid, ZONE_ATTR_FLAGS, &flags, in lookup_zone_info()
737 if (exclude_global && zents[i].zid == GLOBAL_ZONEID) in zone_print_list()
1321 fake_up_local_zone(zoneid_t zid, zone_entry_t *zeptr) in fake_up_local_zone() argument
1330 zeptr->zid = zid; in fake_up_local_zone()
1336 result = getzonenamebyid(zid, zeptr->zname, sizeof (zeptr->zname)); in fake_up_local_zone()
1346 (void) zone_getattr(zid, ZONE_ATTR_ROOT, zeptr->zroot, in fake_up_local_zone()
1352 (void) zone_getattr(zid, ZONE_ATTR_BRAND, zeptr->zbrand, in fake_up_local_zone()
1361 if (zone_getattr(zid, ZONE_ATTR_FLAGS, &flags, sizeof (flags)) < 0) { in fake_up_local_zone()
5685 zoneid_t zid; in main() local
5755 if (target_zone != NULL && zone_get_id(target_zone, &zid) != 0) { in main()