Lines Matching defs:maj
157 * maj and the minor returned by the device open, or
168 major_t maj;
184 maj = etoimajor(emaj); /* get internal major of cloned driver */
186 if (maj >= devcnt)
207 if (ddi_hold_installed_driver(maj) == NULL)
210 if ((str = STREAMSTAB(maj)) == NULL) {
211 ddi_rele_driver(maj);
230 ddi_rele_driver(maj);
242 dp = &devimpl[maj];
322 ddi_rele_driver(maj);