Home
last modified time | relevance | path

Searched refs:O_BITSMINOR (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h98 #define O_BITSMINOR 8 /* # of SVR3 minor device bits */ macro
127 #define major(x) (major_t)((((unsigned)(x)) >> O_BITSMINOR) & O_MAXMAJ)
128 #define bmajor(x) (major_t)((((unsigned)(x)) >> O_BITSMINOR) & O_MAXMAJ)
146 #define major(x) (major_t)((((unsigned)(x)) >> O_BITSMINOR) & O_MAXMAJ)
156 #define makedev(x, y) (unsigned short)(((x) << O_BITSMINOR) | ((y) & O_MAXMIN))
169 (major_t)(((unsigned int)(x) >> O_BITSMINOR) > O_MAXMAJ) ? \
170 NODEV : (((unsigned int)(x) >> O_BITSMINOR) & O_MAXMAJ)
211 ((((x) >> L_BITSMINOR) << O_BITSMINOR) | ((x) & O_MAXMIN)))
216 (dev_t)(((dev_t)(((x) >> O_BITSMINOR) & O_MAXMAJ) << L_BITSMINOR) | \
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsysmacros.h108 #define O_BITSMINOR 8 /* # of SVR3 minor device bits */ macro
159 ((((x) >> L_BITSMINOR) << O_BITSMINOR) | ((x) & O_MAXMIN)))
164 (dev_t)(((dev_t)(((x) >> O_BITSMINOR) & O_MAXMAJ) << L_BITSMINOR) | \
/freebsd/contrib/sendmail/contrib/
H A Dbounce-resender.pl40 eval 'sub O_BITSMINOR () {8;}' unless defined(&O_BITSMINOR);