Searched refs:MINORBITS (Results 1 – 6 of 6) sorted by relevance
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()