Searched refs:max_dev (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/uts/common/inet/ |
H A D | inet_common.c | 47 inet_minor_create(char *name, dev_t min_dev, dev_t max_dev, int kmflags) in inet_minor_create() argument 52 arena->ineta_maxminor = max_dev; in inet_minor_create()
|
/titanic_50/usr/src/cmd/modload/ |
H A D | drvsubr.c | 1294 int max_dev; in config_driver() local 1297 if (modctl(MODRESERVED, NULL, &max_dev) < 0) { in config_driver() 1303 if (major_num >= max_dev) { in config_driver() 1305 major_num, max_dev); in config_driver() 2173 int max_dev = 0; in update_name_to_major() local 2248 max_dev = 0; in update_name_to_major() 2251 max_dev = get_max_major(name_to_major); in update_name_to_major() 2261 if ((max_dev == ERROR) && (tmp == ERROR)) { in update_name_to_major() 2269 if (tmp > max_dev) in update_name_to_major() 2270 max_dev = tmp; in update_name_to_major() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 693 mdb_printf("Maximum devices: %d\n", m.max_dev); in display_hwinfo() 718 uint16_t max_dev, idx; in display_targets() local 721 max_dev = m.max_dev; in display_targets() 724 targets = mdb_alloc(sizeof (targets) * max_dev, UM_SLEEP); in display_targets() 727 if (MDB_RD(targets, sizeof (targets) * max_dev, m.targets) == -1) { in display_targets() 740 for (idx = 0; idx < max_dev; idx++) { in display_targets() 1124 int max_dev = m.max_dev; in display_waitqs() local 1160 targets = mdb_alloc(sizeof (targets) * max_dev, UM_SLEEP); in display_waitqs() 1163 if (MDB_RD(targets, sizeof (targets) * max_dev, m.targets) == -1) { in display_waitqs() 1168 for (i = 0; i < max_dev; i++) { in display_waitqs() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 306 for (target = 0; target < pwp->max_dev; target++) { in pmcs_scsa_tran_tgt_init() 316 if (target == pwp->max_dev) { in pmcs_scsa_tran_tgt_init() 1294 for (target = 0; target < pwp->max_dev; target++) { in pmcs_smp_init() 1306 if (target == pwp->max_dev) { in pmcs_smp_init() 1467 for (target = 0; target < pwp->max_dev; target++) { in pmcs_scsi_quiesce() 1488 for (target = 0; target < pwp->max_dev; target++) { in pmcs_scsi_quiesce() 1700 if (++target == pwp->max_dev) { in pmcs_scsa_wq_run() 1714 if (++target == pwp->max_dev) { in pmcs_scsa_wq_run()
|
H A D | pmcs_sata.c | 563 for (target = 0; target < pwp->max_dev; target++) { in pmcs_sata_work()
|
H A D | pmcs_attach.c | 939 kmem_zalloc(pwp->max_dev * sizeof (pmcs_xscsi_t *), KM_SLEEP); in pmcs_attach() 1584 sizeof (pmcs_xscsi_t *) * pwp->max_dev); in pmcs_unattach() 2830 for (vtgt = 0; vtgt < pwp->max_dev; vtgt++) { in pmcs_remove_device()
|
H A D | pmcs_ds.c | 829 for (idx = 0; idx < pwp->max_dev; idx++) { in pmcs_ssp_event_recovery()
|
H A D | pmcs_subr.c | 179 pwp->max_dev = pmcs_rd_mpi_tbl(pwp, PMCS_MPI_INFO0) >> 16; in pmcs_setup() 1739 for (i = 0; i < pwp->max_dev; i++) { in pmcs_soft_reset() 7179 if (!pwp->targets || !pwp->max_dev) { in pmcs_iport_has_targets() 7184 for (i = 0; i < pwp->max_dev; i++) { in pmcs_iport_has_targets()
|
/titanic_50/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs.h | 531 uint16_t max_dev; /* max number of devices supported */ member
|