Home
last modified time | relevance | path

Searched refs:MINORBITS (Results 1 – 6 of 6) sorted by relevance

/external/blktrace/
Dblktrace.h11 #define MINORBITS 20 macro
12 #define MINORMASK ((1U << MINORBITS) - 1)
13 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))
/external/blktrace/btt/
Dbno_dump.c33 mjr = device >> MINORBITS; in bno_dump_open()
34 mnr = device & ((1 << MINORBITS) - 1); in bno_dump_open()
Dunplug_hist.c69 int mjr = hbp->dev >> MINORBITS; in unplug_hist_free()
70 int mnr = hbp->dev & ((1 << MINORBITS) - 1); in unplug_hist_free()
Dlatency.c37 mjr = device >> MINORBITS; in latency_open()
38 mnr = device & ((1 << MINORBITS) - 1); in latency_open()
Ddevs.c108 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()
Diostat.c214 dip = __dip_find((__u32)((mjr << MINORBITS) | mnr)); in iostat_dump_stats()