Searched refs:mjr (Results 1 – 7 of 7) sorted by relevance
/external/blktrace/btreplay/ |
D | btrecord.h | 78 static inline __u64 mk_btversion(int mjr, int mnr, int sub) in mk_btversion() argument 80 return ((mjr & 0xff) << 16) | ((mnr & 0xff) << 8) | (sub & 0xff); in mk_btversion() 83 static inline void get_btversion(__u64 version, int *mjr, int *mnr, int *sub) in get_btversion() argument 85 *mjr = (int)((version >> 16) & 0xff); in get_btversion()
|
/external/blktrace/btt/ |
D | bno_dump.c | 31 int mjr, mnr; in bno_dump_open() local 33 mjr = device >> MINORBITS; in bno_dump_open() 37 sprintf(oname, "%s_%03d,%03d_%c.dat", bno_dump_name, mjr, mnr, rwc); in bno_dump_open()
|
D | latency.c | 34 int mjr, mnr; in latency_open() local 37 mjr = device >> MINORBITS; in latency_open() 40 sprintf(oname, "%s_%03d,%03d_%s.dat", name, mjr, mnr, post); in latency_open()
|
D | devs.c | 108 int mjr = device >> MINORBITS; in mkhandle() local 111 sprintf(str, "%03d,%03d%s", mjr, mnr, post); in mkhandle() 221 unsigned int mjr, mnr; in dip_foreach_out() local 224 while (p && ((i = sscanf(p, "%u,%u", &mjr, &mnr)) == 2)) { in dip_foreach_out() 225 dip = __dip_find((__u32)((mjr << MINORBITS) | mnr)); in dip_foreach_out()
|
D | unplug_hist.c | 69 int mjr = hbp->dev >> MINORBITS; in unplug_hist_free() local 73 sprintf(oname, "%s_%03d,%03d.dat", unplug_hist_name, mjr, mnr); in unplug_hist_free()
|
D | inlines.h | 24 int mjr = MAJOR(dev); in remapper_dev() local 25 return mjr == 9 || mjr == 253 || mjr == 254; in remapper_dev()
|
D | iostat.c | 210 unsigned int mjr, mnr; in iostat_dump_stats() local 213 while (p && ((i = sscanf(p, "%u,%u", &mjr, &mnr)) == 2)) { in iostat_dump_stats() 214 dip = __dip_find((__u32)((mjr << MINORBITS) | mnr)); in iostat_dump_stats()
|