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