tag | line | file | source code |
PARTN_BITS | 101 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device) >> PARTN_BITS) |
PARTN_BITS | 524 | drivers/block/ide-cd.c | rq->dev = MKDEV (major, (drive->select.b.unit) << PARTN_BITS); |
PARTN_BITS | 1350 | drivers/block/ide-cd.c | req->dev = MKDEV (major, (drive->select.b.unit) << PARTN_BITS); |
PARTN_BITS | 1783 | drivers/block/ide-cd.c | HWIF(drive)->gd->sizes[drive->select.b.unit << PARTN_BITS] |
PARTN_BITS | 2554 | drivers/block/ide-cd.c | blksize_size[HWIF(drive)->major][drive->select.b.unit << PARTN_BITS] = CD_FRAMESIZE; |
PARTN_BITS | 516 | drivers/block/ide.c | minors = units * (1<<PARTN_BITS); |
PARTN_BITS | 528 | drivers/block/ide.c | hwif->drives[unit].part = &gd->part[unit << PARTN_BITS]; |
PARTN_BITS | 532 | drivers/block/ide.c | gd->minor_shift = PARTN_BITS; /* num bits for partitions */ |
PARTN_BITS | 533 | drivers/block/ide.c | gd->max_p = 1<<PARTN_BITS; /* 1 + max partitions / drive */ |
PARTN_BITS | 1322 | drivers/block/ide.c | unit = minor >> PARTN_BITS; |
PARTN_BITS | 1714 | drivers/block/ide.c | minor = drive->select.b.unit << PARTN_BITS; |
PARTN_BITS | 1724 | drivers/block/ide.c | for (p = 0; p < (1<<PARTN_BITS); ++p) { |
PARTN_BITS | 130 | drivers/block/ide.h | #define PARTN_MASK ((1<<PARTN_BITS)-1) /* a useful bit mask */ |