tag | line | file | source code |
PARTN_BITS | 1838 | drivers/block/ide-cd.c | HWIF(drive)->gd->sizes[drive->select.b.unit << PARTN_BITS] |
PARTN_BITS | 2669 | drivers/block/ide-cd.c | blksize_size[HWIF(drive)->major][drive->select.b.unit << PARTN_BITS] = CD_FRAMESIZE; |
PARTN_BITS | 536 | drivers/block/ide.c | minors = units * (1<<PARTN_BITS); |
PARTN_BITS | 548 | drivers/block/ide.c | hwif->drives[unit].part = &gd->part[unit << PARTN_BITS]; |
PARTN_BITS | 552 | drivers/block/ide.c | gd->minor_shift = PARTN_BITS; /* num bits for partitions */ |
PARTN_BITS | 553 | drivers/block/ide.c | gd->max_p = 1<<PARTN_BITS; /* 1 + max partitions / drive */ |
PARTN_BITS | 1312 | drivers/block/ide.c | unit = minor >> PARTN_BITS; |
PARTN_BITS | 1679 | drivers/block/ide.c | rq->rq_dev = MKDEV(major,(drive->select.b.unit)<<PARTN_BITS); |
PARTN_BITS | 1800 | drivers/block/ide.c | minor = drive->select.b.unit << PARTN_BITS; |
PARTN_BITS | 1810 | drivers/block/ide.c | for (p = 0; p < (1<<PARTN_BITS); ++p) { |
PARTN_BITS | 3115 | drivers/block/ide.c | revalidate_disk(MKDEV(hwif->major, i<<PARTN_BITS)); |
PARTN_BITS | 127 | drivers/block/ide.h | #define PARTN_MASK ((1<<PARTN_BITS)-1) /* a useful bit mask */ |
PARTN_BITS | 123 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device) >> PARTN_BITS) |