Searched defs:devcnt (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/io/
H A Dconf.c85 int devcnt; variable
/illumos-gate/usr/src/cmd/luxadm/
H A Dfcalupdate.c581 int devcnt = 0; local
588 (void) getsocpath(devpath, (int *)&devcnt);
590 return (devcnt);
833 * soc_name included). devcnt is updated to reflect number of soc_name
838 getsocpath(char *devpath, int *devcnt) argument
864 if ((loadsocpath(devpath, devcnt)) < 0) {
904 getsocpath(devpath, devcnt);
915 loadsocpath(const char *pathname, int *devcnt) argument
930 if (pathname != NULL && *devcnt < HBA_MAX) {
931 (void) strcpy(sbussoc_list[*devcnt], pathnam
[all...]
H A Dqlgcupdate.c143 int fd, fcode_fd = -1, errnum = 0, devcnt = 0, retval = 0, isSbus = 0; local
253 if (q_getdevctlpath(devpath, (int *)&devcnt) == 0) {
256 devcnt);
264 for (i = 0; i < devcnt; i++) {
624 q_getdevctlpath(char *devpath, int *devcnt) argument
645 (void) strcpy(pcibus_list[*devcnt], devpath);
646 *devcnt += 1;
685 err = q_getdevctlpath(devpath, devcnt);
1049 int devcnt = 0; local
1120 "\n Found Path to %d Emulex Devices.\n"), devcnt);
[all...]
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetastat.c293 int devcnt = 0; local
449 while (devcnt < argc) {
450 char *uname = argv[devcnt];
459 ++devcnt;
484 ++devcnt;
489 devcnt = 0;
491 while (devcnt < argc) {
492 char *uname = argv[devcnt];
500 ++devcnt;
554 ++devcnt;
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu.c1560 int devcnt = 0; local
1567 devcnt = oplmsu_find_serial(&ser_dl);
1568 if ((devcnt == 0) || (ser_dl == NULL)) {
1570 "Discovered serial device = %d", devcnt);
1582 size = (sizeof (struct msu_path) + (sizeof (struct msu_dev) * devcnt));
1584 plink_id = (int *)kmem_zalloc((sizeof (int) * devcnt), KM_SLEEP);
1587 for (i = 0; i < devcnt; i++) {
1627 kmem_free(plink_id, (sizeof (int) * devcnt));
1638 oplmsu_unlinks(msu_lh, plink_id, devcnt);
1641 kmem_free(plink_id, (sizeof (int) * devcnt));
1668 oplmsu_unlinks(ldi_handle_t msu_lh, int *plink_id, int devcnt) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c1044 uint_t devcnt; local
1046 if (mdb_readvar(&devcnt, "devcnt") == -1 || major >= devcnt ||
/illumos-gate/usr/src/uts/common/avs/ns/
H A Dcontract.h79 int devcnt; variable
/illumos-gate/usr/src/uts/common/sys/
H A Ddevinfo_impl.h157 int devcnt; /* size of devnames array */ member in struct:di_all
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddevinfo.c447 int devcnt; local
455 if (mdb_readvar(&devcnt, "devcnt") == -1) {
456 mdb_warn("failed to read 'devcnt'");
466 dnw->dnw_size = sizeof (struct devnames) * devcnt;
467 dnw->dnw_devcnt = devcnt;
1274 uint_t devcnt; local
1277 if (mdb_readvar(&devcnt, "devcnt") == -1) {
1278 mdb_warn("failed to read 'devcnt'");
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c414 int major, devcnt; local
428 devcnt = DI_ALL(pa)->devcnt;
431 for (major = 0; major < devcnt; major++)
436 if (major >= devcnt) {

Completed in 133 milliseconds