Searched refs:maxdev (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/cmd/audio/audiotest/ |
H A D | audiotest.c | 478 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()
|
/titanic_50/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 1101 is_grouping(const char *type, int *mindev, int *maxdev) in is_grouping() argument 1122 if (maxdev != NULL) in is_grouping() 1123 *maxdev = 255; in is_grouping() 1127 if (maxdev != NULL) in is_grouping() 1128 *maxdev = INT_MAX; in is_grouping() 1167 int t, toplevels, mindev, maxdev, nspares, nlogs, nl2cache; in construct_spec() local 1189 if ((type = is_grouping(argv[0], &mindev, &maxdev)) != NULL) { in construct_spec() 1266 if (children > maxdev) { in construct_spec() 1269 "%d devices\n"), argv[0], maxdev); in construct_spec()
|
/titanic_50/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_mem.c | 362 hdr->maxdev = nsc_max_devices(); in _nsc_global_setup() 389 if (hdr->ver == _NSCTL_HDRVER3 && hdr->maxdev != nsc_max_devices()) { in _nsc_global_setup() 390 _nsc_set_max_devices(hdr->maxdev); in _nsc_global_setup() 393 hdr->maxdev); in _nsc_global_setup()
|
H A D | nsc_mem.h | 78 int32_t maxdev; /* Configured nsc_max_devices */ member
|
H A D | nsctl.c | 919 _nsc_set_max_devices(int maxdev) in _nsc_set_max_devices() argument 921 _nsc_max_devices = maxdev; in _nsc_set_max_devices()
|
/titanic_50/usr/src/cmd/whodo/ |
H A D | whodo.c | 99 static int maxdev; /* slots for configured devices */ variable 618 if (ndevs == maxdev) { in devadd() 619 maxdev += DNINCR; in devadd() 620 dp = realloc(devl, maxdev * sizeof (struct devl)); in devadd()
|
/titanic_50/usr/src/cmd/ps/ |
H A D | ucbps.c | 113 static int maxdev; /* number of devl structures allocated */ variable 767 if (ndev == maxdev) { in devadd() 768 maxdev += DNINCR; in devadd() 769 devl = realloc(devl, maxdev * sizeof (struct devl)); in devadd() 772 "ps: not enough memory for %d devices\n", maxdev); in devadd()
|
H A D | ps.c | 247 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()
|
/titanic_50/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 7927 int maxdev; in scsi_hba_bus_config_tgtmap() local 8008 maxdev = damap_size(tgtmap->tgtmap_dam[SCSI_TGT_SCSI_DEVICE]); in scsi_hba_bus_config_tgtmap() 8009 maxdev = (maxdev > scsi_hba_map_settle_f) ? maxdev : in scsi_hba_bus_config_tgtmap() 8011 sync_usec = maxdev * tgtmap->tgtmap_settle_usec; in scsi_hba_bus_config_tgtmap()
|