Searched refs:nzents (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | zone.c | 82 uint_t nzents; local 93 nzents = 0; 94 if (zone_list(NULL, &nzents) != 0) 98 if (nzents == 0) { 108 nzents += 8; 109 if ((zids = malloc(nzents * sizeof (zoneid_t))) == NULL) 111 nzents_saved = nzents; 113 if (zone_list(zids, &nzents) != 0) { 117 if (nzents > nzents_saved) { 123 for (i = 0; i < nzents; 200 uint_t nzents; local [all...] |
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_collection_zone.c | 84 uint_t nzents; local 90 if (get_running_zones(&nzents, &zents) != 0) 93 for (i = 0; i < nzents; i++) {
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | utils.c | 267 get_running_zones(uint_t *nzents, zone_entry_t **zents) argument 276 if (zone_list(NULL, nzents) != 0) { 282 if (*nzents == 0) 285 if ((zids = (zoneid_t *)calloc(*nzents, sizeof (zoneid_t))) == NULL) { 290 nzents_saved = *nzents; 292 if (zone_list(zids, nzents) != 0) { 297 if (*nzents != nzents_saved) { 303 *zents = calloc(*nzents, sizeof (zone_entry_t)); 311 for (i = 0; i < *nzents; i++) { 329 *nzents [all...] |
/illumos-gate/usr/src/cmd/tzreload/ |
H A D | tzreload.c | 285 uint_t ui, nzents, onzents; local 313 nzents = 0; 314 if (zone_list(NULL, &nzents) != 0) { 321 if (nzents == 0) 324 if ((zids = malloc(nzents * sizeof (zoneid_t))) == NULL) { 329 onzents = nzents; 330 if (zone_list(zids, &nzents) != 0) { 336 if (nzents != onzents) { 342 for (ui = 0; ui < nzents; ui++) {
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | auto_subr.c | 95 uint_t nzents; local 101 if (zone_list(NULL, &nzents) != 0) { 106 if (nzents == 0) 109 zids = malloc(nzents * sizeof (zoneid_t)); 110 nzents_saved = nzents; 112 if (zone_list(zids, &nzents) != 0) { 116 if (nzents != nzents_saved) { 122 for (i = 0; i < nzents; i++) {
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 3803 uint_t nzents; local 3831 if (zone_list(NULL, &nzents) != 0) { 3837 if (nzents == 0) { 3842 zids = malloc(nzents * sizeof (zoneid_t)); 3847 nzents_saved = nzents; 3849 if (zone_list(zids, &nzents) != 0) { 3855 if (nzents != nzents_saved) { 3870 for (i = 0; i < nzents; i++) { 4073 uint_t nzents; local 4084 if (zone_list(NULL, &nzents) ! [all...] |
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 2155 uint_t nzents = 0, zent = 0; local 2217 if (zone_list(NULL, &nzents) != 0) 2220 if ((zids = malloc(nzents * sizeof (zoneid_t))) == NULL) { 2222 "%d zone IDs"), nzents); 2225 found = nzents; 2235 if (found == nzents) 2687 if (do_zones && zent < nzents)
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 109 static size_t nzents; variable 603 * (which is stored in the global nzents), then calls zone_list(2) again 624 if (nzents > 0) 627 if (zone_list(NULL, &nzents) != 0) { 633 if (nzents == 0) 636 zids = safe_calloc(nzents, sizeof (zoneid_t)); 637 nzents_saved = nzents; 639 if (zone_list(zids, &nzents) != 0) { 644 if (nzents != nzents_saved) { 650 zents = safe_calloc(nzents, sizeo [all...] |
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 3451 uint_t nzents = 0, zent = 0; local 3629 if (zone_list(NULL, &nzents) != 0) 3632 if ((zids = malloc(nzents * sizeof (zoneid_t))) == NULL) { 3634 "%d zone IDs"), nzents); 3637 found = nzents; 3647 if (found == nzents) 3915 if (show_zones && zent < nzents && exit_status == 0) {
|
Completed in 93 milliseconds