Searched defs:majdev (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmkdev.c41 __makedev(const int version, const major_t majdev, const minor_t mindev) argument
46 if (majdev > OMAXMAJ || mindev > OMAXMIN) {
50 devnum = ((majdev << ONBITSMINOR) | mindev);
55 if (majdev > MAXMAJ) {
66 if ((devnum = (((dev_t)majdev << NBITSMINOR) |
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu.c464 major_t majdev; local
542 majdev = getmajor(*dev); /* Get major device number */
543 *dev = makedevice(majdev, mindev); /* Make device number */

Completed in 88 milliseconds