Home
last modified time | relevance | path

Searched refs:zents (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/rcap/rcapd/
H A Drcapd_collection_zone.c85 zone_entry_t *zents; in lcollection_update_zone() local
90 if (get_running_zones(&nzents, &zents) != 0) in lcollection_update_zone()
94 update_zone(&zents[i], (void *)update_notification_cb); in lcollection_update_zone()
98 free(zents); in lcollection_update_zone()
/titanic_41/usr/src/cmd/rcap/common/
H A Dutils.c267 get_running_zones(uint_t *nzents, zone_entry_t **zents) in get_running_zones() argument
275 *zents = NULL; in get_running_zones()
303 *zents = calloc(*nzents, sizeof (zone_entry_t)); in get_running_zones()
304 if (*zents == NULL) { in get_running_zones()
310 zentp = *zents; in get_running_zones()
329 *nzents = zentp - *zents; in get_running_zones()
/titanic_41/usr/src/cmd/zoneadm/
H A Dzoneadm.c107 static zone_entry_t *zents; variable
649 zents = safe_calloc(nzents, sizeof (zone_entry_t)); in fetch_zents()
658 zentp = zents; in fetch_zents()
707 nzents = zentp - zents; in fetch_zents()
735 zone_print(&zents[i], verbose, parsable); in zone_print_list()
745 if (strcmp(zents[i].zname, name) == 0) in zone_print_list()
776 if (strcmp(str, zents[i].zname) == 0) in lookup_running_zone()
777 return (&zents[i]); in lookup_running_zone()