Searched refs:nzids (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/wall/ |
H A D | wall.c | 106 uint_t nzids_saved, nzids = 0; in main() local 239 nzids = 1; in main() 241 if (zone_list(NULL, &nzids) != 0) in main() 244 nzids *= 2; in main() 245 if ((zoneidlist = malloc(nzids * sizeof (zoneid_t))) == NULL) in main() 247 nzids_saved = nzids; in main() 248 if (zone_list(zoneidlist, &nzids) != 0) { in main() 252 if (nzids > nzids_saved) { in main() 258 for (; nzids > 0; --nzids) in main() 259 sendmes_tozone(zoneidlist[nzids-1], aflag); in main()
|
/titanic_41/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_main.c | 219 uint_t nzids, nzids_saved; in dlmgmt_allzones_init() local 221 if (zone_list(NULL, &nzids) != 0) in dlmgmt_allzones_init() 224 nzids *= 2; in dlmgmt_allzones_init() 225 if ((zids = malloc(nzids * sizeof (zoneid_t))) == NULL) in dlmgmt_allzones_init() 227 nzids_saved = nzids; in dlmgmt_allzones_init() 228 if (zone_list(zids, &nzids) != 0) { in dlmgmt_allzones_init() 232 if (nzids > nzids_saved) { in dlmgmt_allzones_init() 237 for (i = 0; i < nzids; i++) { in dlmgmt_allzones_init()
|
/titanic_41/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 4309 uint_t nzids = 0; in duplicate_zone_root() local 4316 nzids += 10; in duplicate_zone_root() 4317 zids = malloc(nzids * sizeof (*zids)); in duplicate_zone_root() 4322 if (zone_list(zids, &nzids) == 0) in duplicate_zone_root() 4328 while (nzids > 0) { in duplicate_zone_root() 4333 if (zone_getattr(zids[--nzids], ZONE_ATTR_ROOT, zroot, in duplicate_zone_root() 4342 if (getzonenamebyid(zids[nzids], zonename, in duplicate_zone_root() 4345 "id %d", (int)zids[nzids]); in duplicate_zone_root()
|
/titanic_41/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 4751 uint_t nzids, nzids_last; in fattach_all_zones() local 4755 (void) zone_list(NULL, &nzids); in fattach_all_zones() 4756 nzids_last = nzids; in fattach_all_zones() 4761 (void) zone_list(zids, &nzids); in fattach_all_zones() 4762 if (nzids > nzids_last) { in fattach_all_zones() 4766 for (i = 0; i < nzids; i++) in fattach_all_zones()
|