Lines Matching defs:dev
72 * INPUT: dev a 64 bit container holding either a 32 bit or a 64 bit device
77 md_expldev(md_dev64_t dev)
80 major_t major = (major_t)(dev >> NBITSMINOR64) & MAXMAJ64;
82 /* Here we were given a 64bit dev, return unchanged */
84 return (dev);
85 /* otherwise we were given a 32 bit dev */
86 major = (major_t)dev >> NBITSMINOR32 & MAXMAJ32;
87 minor = (minor_t)dev & MAXMIN32;
93 * INPUT: dev a 64 bit container holding either a 32 bit or a 64 bit device
98 md_cmpldev(md_dev64_t dev)
101 major_t major = (major_t)(dev >> NBITSMINOR64) & MAXMAJ64;
103 /* Here we were given a 32bit dev, return unchanged */
105 return ((dev32_t)dev);
107 /* otherwise we were given a 64 bit dev */
108 minor = (minor_t)dev & MAXMIN32;