Searched refs:devnamesp (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/dtrace/demo/sdt/
H A Dintr.d36 @[stringof(`devnamesp[this->devi->devi_major].dn_name),
/illumos-gate/usr/src/lib/libdtrace_jni/java/docs/examples/
H A Dintrstat.d38 @counts[stringof(`devnamesp[this->devi->devi_major].dn_name),
40 @times[stringof(`devnamesp[this->devi->devi_major].dn_name),
/illumos-gate/usr/src/uts/common/os/
H A Dsubr.c117 LOCK_DEV_OPS(&devnamesp[i].dn_lock);
118 if (devnamesp[i].dn_name == NULL &&
119 ((devnamesp[i].dn_flags & DN_TAKEN_GETUDEV) == 0))
121 UNLOCK_DEV_OPS(&devnamesp[i].dn_lock);
126 devnamesp[i].dn_flags |= DN_TAKEN_GETUDEV;
127 UNLOCK_DEV_OPS(&devnamesp[i].dn_lock);
H A Dmodsubr.c84 return (major_valid(major) && devnamesp[major].dn_name != NULL);
90 return (driver_installed(major) && !(devnamesp[major].dn_flags &
104 LOCK_DEV_OPS(&(devnamesp[major].dn_lock));
108 UNLOCK_DEV_OPS(&(devnamesp[major].dn_lock));
113 LOCK_DEV_OPS(&(devnamesp[major].dn_lock));
121 UNLOCK_DEV_OPS(&(devnamesp[major].dn_lock));
138 dnp = &devnamesp[major];
376 dnp = &devnamesp[major];
446 struct devnames *dnp = &devnamesp[major];
650 return ((&devnamesp[majo
[all...]
H A Dinstance.c243 dnp = &devnamesp[m];
675 dnp = &devnamesp[major];
710 dnp = &devnamesp[major];
800 dnp = &devnamesp[major];
1307 dnp = &devnamesp[major];
1339 dnp = &devnamesp[major];
H A Dautoconf.c387 devnamesp[major].dn_head = top_devinfo;
H A Ddriver.c628 dnp = &(devnamesp[maj]);
652 dnp = &(devnamesp[maj]);
H A Dswapgeneric.c818 dnp = &devnamesp[major];
1068 dip = devnamesp[major].dn_head;
H A Ddevcfg.c1445 dnp = &(devnamesp[DEVI(dip)->devi_major]);
1522 dnp = &devnamesp[DEVI(dip)->devi_major];
2574 struct devnames *dnp = &devnamesp[m];
2607 dnp = &devnamesp[major];
2960 dnp = &devnamesp[major];
2975 dnp = &devnamesp[major];
3105 dnp = &devnamesp[DEVI(dip)->devi_major];
3136 dnp = &devnamesp[major];
3335 struct devnames *dnp = &devnamesp[i];
3592 dnp = &devnamesp[majo
[all...]
H A Dmodconf.c598 dnp = &devnamesp[major];
672 dnp = &(devnamesp[major]);
H A Dmodctl.c149 struct devnames *devnamesp; variable in typeref:struct:devnames
714 dnp = &devnamesp[major];
1705 struct devnames *dnp = &devnamesp[major];
1757 struct devnames *dnp = &devnamesp[major];
4579 dnp = &devnamesp[major];
4604 dnp = &devnamesp[major];
4675 dnp = &devnamesp[major];
H A Ddevid_cache.c431 dnp = &devnamesp[major];
/illumos-gate/usr/src/uts/common/sys/
H A Dautoconf.h218 extern struct devnames *devnamesp;
245 #define NETWORK_DRV(maj) (devnamesp[(maj)].dn_flags & DN_NETWORK_DRIVER)
246 #define GLDV3_DRV(maj) (devnamesp[(maj)].dn_flags & DN_GLDV3_DRIVER)
248 (devnamesp[(maj)].dn_flags & DN_NETWORK_PHYSDRIVER)
/illumos-gate/usr/src/uts/common/io/
H A Dpseudonex.c322 dmp = &devnamesp[childmaj].dn_lock;
324 for (tdip = devnamesp[childmaj].dn_head;
356 dmp = &devnamesp[childmaj].dn_lock;
359 for (tdip = devnamesp[childmaj].dn_head; tdip != NULL;
H A Ddevinfo.c1654 dcmn_err((CE_CONT, "Start copying devnamesp[%d] at offset 0x%x\n",
1658 if (devnamesp[i].dn_name == NULL) {
1672 devnamesp[i].dn_name, devnamesp[i].dn_instance, off));
1674 size = strlen(devnamesp[i].dn_name) + 1;
1677 devnamesp[i].dn_name);
1680 mutex_enter(&devnamesp[i].dn_lock);
1685 snap_driver_list(st, &devnamesp[i], &dnp[i].head);
1690 dnp[i].flags = devnamesp[i].dn_flags;
1691 dnp[i].instance = devnamesp[
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dio.d.in96 stringof(`devnamesp[getmajor(B->b_edev)].dn_name);
98 stringof(`devnamesp[getmajor(B->b_edev)].dn_name),
/illumos-gate/usr/src/uts/i86pc/io/
H A Dconsplat.c175 if ((dip = devnamesp[major].dn_head) == NULL)
466 if ((dip = devnamesp[major].dn_head) == NULL)
H A Dimmu.c643 if (devnamesp[maj].dn_head != NULL) {
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddevinfo.c448 uintptr_t devnamesp; local
460 if (mdb_readvar(&devnamesp, "devnamesp") == -1) {
461 mdb_warn("failed to read 'devnamesp'");
468 dnw->dnw_base = devnamesp;
472 mdb_warn("couldn't read devnames array at %p", devnamesp);
1275 uintptr_t devnamesp; local
1282 if (mdb_readvar(&devnamesp, "devnamesp") == -1) {
1283 mdb_warn("failed to read 'devnamesp'");
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c1042 uintptr_t devnamesp; local
1047 mdb_readvar(&devnamesp, "devnamesp") == -1)
1050 if (mdb_vread(&dn, sizeof (struct devnames), devnamesp +
/illumos-gate/usr/src/uts/common/pcmcia/nexus/
H A Dpcmcia.c3931 LOCK_DEV_OPS(&devnamesp[major].dn_lock);
3935 UNLOCK_DEV_OPS(&devnamesp[major].dn_lock);
4042 LOCK_DEV_OPS(&devnamesp[major].dn_lock);
4047 UNLOCK_DEV_OPS(&devnamesp[major].dn_lock);
4081 for (np = devnamesp[major].dn_head; np != NULL;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dddi_impl.c158 devnamesp[major].dn_flags |= DN_DRIVER_REMOVED;
1941 devi = devnamesp[major].dn_head;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c515 LOCK_DEV_OPS(&devnamesp[major].dn_lock);
516 devnamesp[major].dn_flags |= (DN_GLDV3_DRIVER | DN_NETWORK_DRIVER);
517 UNLOCK_DEV_OPS(&devnamesp[major].dn_lock);
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex.c4110 if (devnamesp == NULL)
4117 if (devnamesp[major].dn_head != (dev_info_t *)NULL)
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c2737 if (devnamesp[major].dn_flags & DN_SCSI_SIZE_CLEAN)
2816 dnp = &devnamesp[major];
4120 (devnamesp[major].dn_flags & DN_DRIVER_REMOVED))

Completed in 303 milliseconds

12