Searched refs:mnr (Results 1 – 6 of 6) 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 86 *mnr = (int)((version >> 8) & 0xff); in get_btversion()
|
/external/blktrace/btt/ |
D | bno_dump.c | 31 int mjr, mnr; in bno_dump_open() local 34 mnr = device & ((1 << MINORBITS) - 1); 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 38 mnr = device & ((1 << MINORBITS) - 1); in latency_open() 40 sprintf(oname, "%s_%03d,%03d_%s.dat", name, mjr, mnr, post); in latency_open()
|
D | devs.c | 109 int mnr = device & ((1 << MINORBITS) - 1); 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 | 70 int mnr = hbp->dev & ((1 << MINORBITS) - 1); in unplug_hist_free() local 73 sprintf(oname, "%s_%03d,%03d.dat", unplug_hist_name, mjr, mnr); in unplug_hist_free()
|
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()
|