Searched refs:L_BITSMINOR (Results 1 - 1 of 1) sorted by relevance

/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dsysmacros.h108 #define L_BITSMINOR 32 /* # of minor device bits in 64-bit Solaris */ macro
113 #define L_BITSMINOR L_BITSMINOR32 macro
128 #define getmajor(x) (major_t)((((dev_t)(x)) >> L_BITSMINOR) & L_MAXMAJ)
156 #define makedevice(x, y) (dev_t)(((dev_t)(x) << L_BITSMINOR) | ((y) & L_MAXMIN))
175 #define getemajor(x) (major_t)((((dev_t)(x) >> L_BITSMINOR) > L_MAXMAJ) ? \
176 NODEV : (((dev_t)(x) >> L_BITSMINOR) & L_MAXMAJ))
184 #if (L_BITSMAJOR32 == L_BITSMAJOR) && (L_BITSMINOR32 == L_BITSMINOR)
192 (dev32_t)((((x) >> L_BITSMINOR) > L_MAXMAJ32 || \
194 ((((x) >> L_BITSMINOR) << L_BITSMINOR32) | ((x) & L_MAXMIN32)))
205 (o_dev_t)((((x) >> L_BITSMINOR) > O_MAXMA
[all...]

Completed in 46 milliseconds