Lines Matching +full:0 +full:x0003ffff
69 portdev_t dev = 0; in pack_native()
72 dev = makedev(numbers[0], numbers[1]); in pack_native()
73 if ((u_long)major(dev) != numbers[0]) in pack_native()
86 portdev_t dev = 0; in pack_netbsd()
89 dev = makedev_netbsd(numbers[0], numbers[1]); in pack_netbsd()
90 if ((u_long)major_netbsd(dev) != numbers[0]) in pack_netbsd()
100 #define major_freebsd(x) ((int32_t)(((x) & 0x0000ff00) >> 8))
101 #define minor_freebsd(x) ((int32_t)(((x) & 0xffff00ff) >> 0))
102 #define makedev_freebsd(x,y) ((portdev_t)((((x) << 8) & 0x0000ff00) | \
103 (((y) << 0) & 0xffff00ff)))
108 portdev_t dev = 0; in pack_freebsd()
111 dev = makedev_freebsd(numbers[0], numbers[1]); in pack_freebsd()
112 if ((u_long)major_freebsd(dev) != numbers[0]) in pack_freebsd()
122 #define major_8_8(x) ((int32_t)(((x) & 0x0000ff00) >> 8))
123 #define minor_8_8(x) ((int32_t)(((x) & 0x000000ff) >> 0))
124 #define makedev_8_8(x,y) ((portdev_t)((((x) << 8) & 0x0000ff00) | \
125 (((y) << 0) & 0x000000ff)))
130 portdev_t dev = 0; in pack_8_8()
133 dev = makedev_8_8(numbers[0], numbers[1]); in pack_8_8()
134 if ((u_long)major_8_8(dev) != numbers[0]) in pack_8_8()
144 #define major_12_20(x) ((int32_t)(((x) & 0xfff00000) >> 20))
145 #define minor_12_20(x) ((int32_t)(((x) & 0x000fffff) >> 0))
146 #define makedev_12_20(x,y) ((portdev_t)((((x) << 20) & 0xfff00000) | \
147 (((y) << 0) & 0x000fffff)))
152 portdev_t dev = 0; in pack_12_20()
155 dev = makedev_12_20(numbers[0], numbers[1]); in pack_12_20()
156 if ((u_long)major_12_20(dev) != numbers[0]) in pack_12_20()
166 #define major_14_18(x) ((int32_t)(((x) & 0xfffc0000) >> 18))
167 #define minor_14_18(x) ((int32_t)(((x) & 0x0003ffff) >> 0))
168 #define makedev_14_18(x,y) ((portdev_t)((((x) << 18) & 0xfffc0000) | \
169 (((y) << 0) & 0x0003ffff)))
174 portdev_t dev = 0; in pack_14_18()
177 dev = makedev_14_18(numbers[0], numbers[1]); in pack_14_18()
178 if ((u_long)major_14_18(dev) != numbers[0]) in pack_14_18()
188 #define major_8_24(x) ((int32_t)(((x) & 0xff000000) >> 24))
189 #define minor_8_24(x) ((int32_t)(((x) & 0x00ffffff) >> 0))
190 #define makedev_8_24(x,y) ((portdev_t)((((x) << 24) & 0xff000000) | \
191 (((y) << 0) & 0x00ffffff)))
196 portdev_t dev = 0; in pack_8_24()
199 dev = makedev_8_24(numbers[0], numbers[1]); in pack_8_24()
200 if ((u_long)major_8_24(dev) != numbers[0]) in pack_8_24()
210 #define major_12_12_8(x) ((int32_t)(((x) & 0xfff00000) >> 20))
211 #define unit_12_12_8(x) ((int32_t)(((x) & 0x000fff00) >> 8))
212 #define subunit_12_12_8(x) ((int32_t)(((x) & 0x000000ff) >> 0))
213 #define makedev_12_12_8(x,y,z) ((portdev_t)((((x) << 20) & 0xfff00000) | \
214 (((y) << 8) & 0x000fff00) | \
215 (((z) << 0) & 0x000000ff)))
220 portdev_t dev = 0; in pack_bsdos()
223 dev = makedev_12_20(numbers[0], numbers[1]); in pack_bsdos()
224 if ((u_long)major_12_20(dev) != numbers[0]) in pack_bsdos()
229 dev = makedev_12_12_8(numbers[0], numbers[1], numbers[2]); in pack_bsdos()
230 if ((u_long)major_12_12_8(dev) != numbers[0]) in pack_bsdos()
285 sizeof(formats)/sizeof(formats[0]), in pack_find()
286 sizeof(formats[0]), compare_format); in pack_find()
287 if (format == 0) in pack_find()