Searched refs:MINORBITS (Results 1 – 9 of 9) sorted by relevance
4 #define MINORBITS 20 macro5 #define MINORMASK ((1U << MINORBITS) - 1)7 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))9 #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi))
26 #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */
11 #define MINORBITS 20 macro12 #define MINORMASK ((1U << MINORBITS) - 1)13 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))
33 mjr = device >> MINORBITS; in bno_dump_open()34 mnr = device & ((1 << MINORBITS) - 1); in bno_dump_open()
69 int mjr = hbp->dev >> MINORBITS; in unplug_hist_free()70 int mnr = hbp->dev & ((1 << MINORBITS) - 1); in unplug_hist_free()
37 mjr = device >> MINORBITS; in latency_open()38 mnr = device & ((1 << MINORBITS) - 1); in latency_open()
108 int mjr = device >> MINORBITS; in mkhandle()109 int mnr = device & ((1 << MINORBITS) - 1); in mkhandle()225 dip = __dip_find((__u32)((mjr << MINORBITS) | mnr)); in dip_foreach_out()
214 dip = __dip_find((__u32)((mjr << MINORBITS) | mnr)); in iostat_dump_stats()
1451 [__linux__] (MINORBITS): Likewise.