Home
last modified time | relevance | path

Searched refs:maxdev (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/audio/audiotest/
H A Daudiotest.c478 int maxdev; in main() local
544 maxdev = find_num_devices(); in main()
545 if (maxdev < 1) { in main()
568 for (t = 0; t < maxdev; t++) { in main()
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_vdev.c1225 is_grouping(const char *type, int *mindev, int *maxdev) in is_grouping() argument
1246 if (maxdev != NULL) in is_grouping()
1247 *maxdev = 255; in is_grouping()
1251 if (maxdev != NULL) in is_grouping()
1252 *maxdev = INT_MAX; in is_grouping()
1298 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local
1321 if ((type = is_grouping(argv[0], &mindev, &maxdev)) != NULL) { in construct_spec()
1423 if (children > maxdev) { in construct_spec()
1426 "%d devices\n"), argv[0], maxdev); in construct_spec()
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c103 static uint_t maxdev; /* slots for configured devices */ variable
684 if (ndevs == maxdev) { in devadd()
687 newdev = maxdev + DNINCR; in devadd()
691 dp = recallocarray(devl, maxdev, newdev, sizeof (struct devl)); in devadd()
694 maxdev = newdev; in devadd()
/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c113 static int maxdev; /* number of devl structures allocated */ variable
769 if (ndev == maxdev) { in devadd()
770 maxdev += DNINCR; in devadd()
771 devl = realloc(devl, maxdev * sizeof (struct devl)); in devadd()
774 "ps: not enough memory for %d devices\n", maxdev); in devadd()
H A Dps.c249 static int maxdev; /* number of devl structures allocated */ variable
1236 if (ndev == maxdev) { in devadd()
1237 maxdev += DNINCR; in devadd()
1238 devl = Realloc(devl, maxdev * sizeof (struct devl)); in devadd()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c7932 int maxdev; in scsi_hba_bus_config_tgtmap() local
8013 maxdev = damap_size(tgtmap->tgtmap_dam[SCSI_TGT_SCSI_DEVICE]); in scsi_hba_bus_config_tgtmap()
8014 maxdev = (maxdev > scsi_hba_map_settle_f) ? maxdev : in scsi_hba_bus_config_tgtmap()
8016 sync_usec = maxdev * tgtmap->tgtmap_settle_usec; in scsi_hba_bus_config_tgtmap()