Lines Matching refs:dev
85 getmajor(dev_t dev)
88 return ((major_t)((dev >> NBITSMINOR64) & MAXMAJ64));
90 return ((major_t)((dev >> NBITSMINOR) & MAXMAJ));
99 getemajor(dev_t dev)
102 return ((major_t)((dev >> NBITSMINOR64) & MAXMAJ64));
104 return ((major_t)((dev >> NBITSMINOR) & MAXMAJ));
113 getminor(dev_t dev)
116 return ((minor_t)(dev & MAXMIN64));
118 return ((minor_t)(dev & MAXMIN));
127 geteminor(dev_t dev)
130 return ((minor_t)(dev & MAXMIN64));
132 return ((minor_t)(dev & MAXMIN));
206 cmpdev(dev_t dev)
212 major_d = dev >> NBITSMINOR64;
213 minor_d = dev & MAXMIN64;
215 major_d = dev >> NBITSMINOR;
216 minor_d = dev & MAXMIN;
224 expdev(dev_t dev)
229 major_d = ((dev >> ONBITSMINOR) & OMAXMAJ);
230 minor_d = (dev & OMAXMIN);