Searched refs:MINOR (Results 1 - 17 of 17) sorted by relevance

/external/kernel-headers/original/linux/
H A Dkdev_t.h8 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) macro
12 sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev))
16 sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \
23 return MAJOR(dev) < 256 && MINOR(dev) < 256;
28 return (MAJOR(dev) << 8) | MINOR(dev);
44 unsigned minor = MINOR(dev);
72 return MAJOR(dev) < (1<<14) && MINOR(dev) < (1<<18);
77 return MINOR(dev) | (MAJOR(dev) << 18);
94 Some programs want their definitions of MAJOR and MINOR and MKDEV
98 #define MINOR(de macro
[all...]
H A Dfs.h635 return MINOR(inode->i_rdev);
/external/blktrace/btt/
H A Dmisc.c147 MAJOR(dip->device), MINOR(dip->device));
150 MAJOR(dip->device), MINOR(dip->device));
H A Ddevmap.c53 sprintf(this, "%u,%u", MAJOR(device), MINOR(device));
H A Dinlines.h369 MAJOR(iop->t.device), MINOR(iop->t.device), type2c(iop->type),
379 MAJOR(a_iop->t.device), MINOR(a_iop->t.device),
382 MINOR(l_iop->t.device), (unsigned long long)l_iop->t.sector);
H A Dtrace_complete.c37 fprintf(ofp, "%3d,%-3d: ", MAJOR(iop->t.device), MINOR(iop->t.device));
H A Ddevs.c25 #define DEV_HASH(dev) ((MAJOR(dev) ^ MINOR(dev)) & (N_DEV_HASH - 1))
H A Doutput.c838 sprintf(header, "%d,%d", MAJOR(dip->device), MINOR(dip->device));
/external/e2fsprogs/misc/
H A Dutil.c115 #define MINOR(dev) ((dev) & 0xff) macro
133 MINOR(s.st_rdev)%64 == 0) ||
135 MINOR(s.st_rdev)%16 == 0))) {
/external/blktrace/
H A Dblkiomon.h105 fprintf(fp, "device: %d,%d\n", MAJOR(p->device), MINOR(p->device));
H A Dblkparse_fmt.c198 fprintf(ofp,"%3d,%-3d", MAJOR(t->device), MINOR(t->device));
207 fprintf(ofp, strcat(format, "d"), MINOR(t->device));
306 MAJOR(t->device), MINOR(t->device), pci->cpu, t->sequence,
398 MAJOR(r.device_from), MINOR(r.device_from),
H A Dblktrace.h14 #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) macro
H A Dblkrawverify.c118 MINOR(bit->device));
H A Dblkparse.c498 MAJOR(pdi->dev), MINOR(pdi->dev),
610 MAJOR(bit->device), MINOR(bit->device),
928 MAJOR(pdi->dev), MINOR(pdi->dev));
987 MAJOR(pdi->dev), MINOR(pdi->dev),
1081 MAJOR(pdi->dev), MINOR(pdi->dev),
1116 MAJOR(pdi->dev), MINOR(pdi->dev),
1164 snprintf(buffer, size, "%d,%d",MAJOR(pdi->dev),MINOR(pdi->dev));
2064 MAJOR(bit->device), MINOR(bit->device));
2249 #define MS_HASH(d, c) ((MAJOR(d) & 0xff) ^ (MINOR(d) & 0xff) ^ (cpu & 0xff))
/external/kernel-headers/original/linux/nfsd/
H A Dnfsfh.h171 MINOR(dev));
183 fsidv[1] = htonl(MINOR(dev));
/external/yaffs2/yaffs2/
H A Dyaffs_fs.c1491 MAJOR(sb->s_dev), MINOR(sb->s_dev),
1499 mtd = get_mtd_device(NULL, MINOR(sb->s_dev));
1503 MINOR(sb->s_dev)));
/external/clearsilver/ruby/
H A Dinstall.rb53 minor = c['MINOR'].to_i

Completed in 203 milliseconds