Lines Matching refs:devnamesp
83 return (major_valid(major) && devnamesp[major].dn_name != NULL); in driver_installed()
89 return (driver_installed(major) && !(devnamesp[major].dn_flags & in driver_active()
103 LOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major()
107 UNLOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major()
112 LOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major()
120 UNLOCK_DEV_OPS(&(devnamesp[major].dn_lock)); in mod_hold_dev_by_major()
137 dnp = &devnamesp[major]; in mod_rele_dev_by_major()
376 dnp = &devnamesp[major]; in impl_make_parlist()
446 struct devnames *dnp = &devnamesp[major]; in impl_free_parlist()
650 return ((&devnamesp[major])->dn_name); in mod_major_to_name()
672 devnamesp = kobj_zalloc(size * sizeof (struct devnames), KM_SLEEP); in init_devnamesp()
716 dnp = &devnamesp[major]; in make_devname()