Lines Matching defs:devnum
43 dev_t devnum;
50 devnum = ((majdev << ONBITSMINOR) | mindev);
66 if ((devnum = (((dev_t)majdev << NBITSMINOR) |
78 return (devnum);
85 __major(const int version, const dev_t devnum)
91 maj = (devnum >> ONBITSMINOR);
92 if (devnum == NODEV || maj > OMAXMAJ) {
99 maj = (devnum >> NBITSMINOR);
100 if (devnum == NODEV) {
125 __minor(const int version, const dev_t devnum)
129 if (devnum == NODEV) {
133 return (devnum & OMAXMIN);
136 if (devnum == NODEV) {
140 return (devnum & MAXMIN);