tag | line | file | source code |
MAJOR_NR | 159 | drivers/block/aztcd.c | (CURRENT && MAJOR(CURRENT -> dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
MAJOR_NR | 1434 | drivers/block/aztcd.c | if (register_blkdev(MAJOR_NR, "aztcd", &azt_fops) != 0) |
MAJOR_NR | 1437 | drivers/block/aztcd.c | MAJOR_NR); |
MAJOR_NR | 1444 | drivers/block/aztcd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1445 | drivers/block/aztcd.c | read_ahead[MAJOR_NR] = 4; |
MAJOR_NR | 1706 | drivers/block/aztcd.c | if ((unregister_blkdev(MAJOR_NR, "aztcd") == -EINVAL)) |
MAJOR_NR | 37 | drivers/block/blk.h | #define SECTOR_MASK (blksize_size[MAJOR_NR] && \ |
MAJOR_NR | 38 | drivers/block/blk.h | blksize_size[MAJOR_NR][MINOR(CURRENT->dev)] ? \ |
MAJOR_NR | 39 | drivers/block/blk.h | ((blksize_size[MAJOR_NR][MINOR(CURRENT->dev)] >> 9) - 1) : \ |
MAJOR_NR | 83 | drivers/block/blk.h | #if defined(MAJOR_NR) || defined(IDE_DRIVER) |
MAJOR_NR | 95 | drivers/block/blk.h | #elif (MAJOR_NR == MEM_MAJOR) |
MAJOR_NR | 104 | drivers/block/blk.h | #elif (MAJOR_NR == FLOPPY_MAJOR) |
MAJOR_NR | 115 | drivers/block/blk.h | #elif (MAJOR_NR == HD_MAJOR) |
MAJOR_NR | 127 | drivers/block/blk.h | #elif (MAJOR_NR == SCSI_DISK_MAJOR) |
MAJOR_NR | 137 | drivers/block/blk.h | #elif (MAJOR_NR == SCSI_TAPE_MAJOR) |
MAJOR_NR | 145 | drivers/block/blk.h | #elif (MAJOR_NR == SCSI_CDROM_MAJOR) |
MAJOR_NR | 154 | drivers/block/blk.h | #elif (MAJOR_NR == XT_DISK_MAJOR) |
MAJOR_NR | 162 | drivers/block/blk.h | #elif (MAJOR_NR == CDU31A_CDROM_MAJOR) |
MAJOR_NR | 170 | drivers/block/blk.h | #elif (MAJOR_NR == MITSUMI_CDROM_MAJOR) |
MAJOR_NR | 179 | drivers/block/blk.h | #elif (MAJOR_NR == AZTECH_CDROM_MAJOR) |
MAJOR_NR | 187 | drivers/block/blk.h | #elif (MAJOR_NR == CDU535_CDROM_MAJOR) |
MAJOR_NR | 196 | drivers/block/blk.h | #elif (MAJOR_NR == MATSUSHITA_CDROM_MAJOR) |
MAJOR_NR | 204 | drivers/block/blk.h | #elif (MAJOR_NR == MATSUSHITA_CDROM2_MAJOR) |
MAJOR_NR | 212 | drivers/block/blk.h | #elif (MAJOR_NR == MATSUSHITA_CDROM3_MAJOR) |
MAJOR_NR | 220 | drivers/block/blk.h | #elif (MAJOR_NR == MATSUSHITA_CDROM4_MAJOR) |
MAJOR_NR | 230 | drivers/block/blk.h | #if (MAJOR_NR != SCSI_TAPE_MAJOR) && !defined(IDE_DRIVER) |
MAJOR_NR | 233 | drivers/block/blk.h | #define CURRENT (blk_dev[MAJOR_NR].current_request) |
MAJOR_NR | 275 | drivers/block/blk.h | if (MAJOR(CURRENT->dev) != MAJOR_NR) \ |
MAJOR_NR | 286 | drivers/block/blk.h | #if ! SCSI_MAJOR(MAJOR_NR) |
MAJOR_NR | 1408 | drivers/block/cdu31a.c | if (MAJOR(CURRENT->dev) != MAJOR_NR) |
MAJOR_NR | 2869 | drivers/block/cdu31a.c | if (register_blkdev(MAJOR_NR,"cdu31a",&scd_fops)) |
MAJOR_NR | 2871 | drivers/block/cdu31a.c | printk("Unable to get major %d for CDU-31a\n", MAJOR_NR); |
MAJOR_NR | 2948 | drivers/block/cdu31a.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 2949 | drivers/block/cdu31a.c | read_ahead[MAJOR_NR] = CDU31A_READAHEAD; |
MAJOR_NR | 2952 | drivers/block/cdu31a.c | blksize_size[MAJOR_NR] = &cdu31a_block_size; |
MAJOR_NR | 2437 | drivers/block/floppy.c | if (MAJOR(CURRENT->dev) != MAJOR_NR) |
MAJOR_NR | 3073 | drivers/block/floppy.c | if (MAJOR(dev) != MAJOR_NR) { |
MAJOR_NR | 3341 | drivers/block/floppy.c | if (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) { |
MAJOR_NR | 3342 | drivers/block/floppy.c | printk("Unable to get major %d for floppy\n",MAJOR_NR); |
MAJOR_NR | 3352 | drivers/block/floppy.c | blk_size[MAJOR_NR] = floppy_sizes; |
MAJOR_NR | 3353 | drivers/block/floppy.c | blksize_size[MAJOR_NR] = floppy_blocksizes; |
MAJOR_NR | 3354 | drivers/block/floppy.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 3374 | drivers/block/floppy.c | unregister_blkdev(MAJOR_NR,"fd"); |
MAJOR_NR | 3422 | drivers/block/floppy.c | unregister_blkdev(MAJOR_NR,"fd"); |
MAJOR_NR | 919 | drivers/block/hd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 1030 | drivers/block/hd.c | blksize_size[MAJOR_NR] = hd_blocksizes; |
MAJOR_NR | 1048 | drivers/block/hd.c | if (register_blkdev(MAJOR_NR,"hd",&hd_fops)) { |
MAJOR_NR | 1049 | drivers/block/hd.c | printk("hd: unable to get major %d for harddisk\n",MAJOR_NR); |
MAJOR_NR | 1052 | drivers/block/hd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1053 | drivers/block/hd.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read-ahead */ |
MAJOR_NR | 1099 | drivers/block/hd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 88 | drivers/block/mcd.c | (CURRENT && MAJOR(CURRENT -> dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
MAJOR_NR | 1096 | drivers/block/mcd.c | if (register_blkdev(MAJOR_NR, "mcd", &mcd_fops) != 0) |
MAJOR_NR | 1099 | drivers/block/mcd.c | MAJOR_NR); |
MAJOR_NR | 1109 | drivers/block/mcd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1110 | drivers/block/mcd.c | read_ahead[MAJOR_NR] = 4; |
MAJOR_NR | 95 | drivers/block/ramdisk.c | blksize_size[MAJOR_NR] = rd_blocksizes; |
MAJOR_NR | 4337 | drivers/block/sbpcd.c | if (register_blkdev(MAJOR_NR, major_name, &sbpcd_fops) != 0) |
MAJOR_NR | 4339 | drivers/block/sbpcd.c | printk("SBPCD: Can't get MAJOR %d for Matsushita CDROM\n", MAJOR_NR); |
MAJOR_NR | 4349 | drivers/block/sbpcd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 4350 | drivers/block/sbpcd.c | read_ahead[MAJOR_NR] = SBP_BUFFER_FRAMES * (CD_FRAMESIZE / 512); |
MAJOR_NR | 4379 | drivers/block/sbpcd.c | blksize_size[MAJOR_NR]=sbpcd_blocksizes; |
MAJOR_NR | 4413 | drivers/block/sbpcd.c | if ((unregister_blkdev(MAJOR_NR, major_name) == -EINVAL)) |
MAJOR_NR | 1594 | drivers/block/sonycd535.c | if (register_blkdev(MAJOR_NR, CDU535_HANDLE, &cdu_fops)) { |
MAJOR_NR | 1596 | drivers/block/sonycd535.c | MAJOR_NR, CDU535_MESSAGE_NAME); |
MAJOR_NR | 1603 | drivers/block/sonycd535.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1604 | drivers/block/sonycd535.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read-ahead */ |
MAJOR_NR | 1687 | drivers/block/sonycd535.c | if (unregister_blkdev(MAJOR_NR, CDU535_HANDLE) == -EINVAL) |
MAJOR_NR | 87 | drivers/block/xd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 120 | drivers/block/xd.c | if (register_blkdev(MAJOR_NR,"xd",&xd_fops)) { |
MAJOR_NR | 121 | drivers/block/xd.c | printk("xd_init: unable to get major number %d\n",MAJOR_NR); |
MAJOR_NR | 124 | drivers/block/xd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 125 | drivers/block/xd.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read ahead */ |
MAJOR_NR | 189 | drivers/block/xd.c | blksize_size[MAJOR_NR] = xd_blocksizes; |
MAJOR_NR | 307 | drivers/block/xd.c | sync_dev(MAJOR_NR << 8 | start | partition); |
MAJOR_NR | 308 | drivers/block/xd.c | invalidate_inodes(MAJOR_NR << 8 | start | partition); |
MAJOR_NR | 309 | drivers/block/xd.c | invalidate_buffers(MAJOR_NR << 8 | start | partition); |
MAJOR_NR | 532 | drivers/scsi/scsi.h | #if defined(MAJOR_NR) && (MAJOR_NR != SCSI_TAPE_MAJOR) |
MAJOR_NR | 598 | drivers/scsi/scsi.h | if (MAJOR(CURRENT->dev) != MAJOR_NR) \ |
MAJOR_NR | 40 | drivers/scsi/scsi_debug.c | #ifndef MAJOR_NR |
MAJOR_NR | 79 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){ \ |
MAJOR_NR | 149 | drivers/scsi/sd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 1073 | drivers/scsi/sd.c | if (register_blkdev(MAJOR_NR,"sd",&sd_fops)) { |
MAJOR_NR | 1074 | drivers/scsi/sd.c | printk("Unable to get major %d for SCSI disk\n",MAJOR_NR); |
MAJOR_NR | 1103 | drivers/scsi/sd.c | blksize_size[MAJOR_NR] = sd_blocksizes; |
MAJOR_NR | 1104 | drivers/scsi/sd.c | hardsect_size[MAJOR_NR] = sd_hardsizes; |
MAJOR_NR | 1121 | drivers/scsi/sd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1143 | drivers/scsi/sd.c | read_ahead[MAJOR_NR] = 120; |
MAJOR_NR | 1146 | drivers/scsi/sd.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 1222 | drivers/scsi/sd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 1262 | drivers/scsi/sd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 981 | drivers/scsi/sr.c | if (register_blkdev(MAJOR_NR,"sr",&sr_fops)) { |
MAJOR_NR | 982 | drivers/scsi/sr.c | printk("Unable to get major %d for SCSI-CD\n",MAJOR_NR); |
MAJOR_NR | 1000 | drivers/scsi/sr.c | blksize_size[MAJOR_NR] = sr_blocksizes; |
MAJOR_NR | 1008 | drivers/scsi/sr.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1009 | drivers/scsi/sr.c | blk_size[MAJOR_NR] = sr_sizes; |
MAJOR_NR | 1035 | drivers/scsi/sr.c | read_ahead[MAJOR_NR] = 32; /* 32 sector read-ahead. Always removable. */ |
MAJOR_NR | 1037 | drivers/scsi/sr.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 1047 | drivers/scsi/sr.c | major = MAJOR_NR << 8; |
MAJOR_NR | 1987 | drivers/scsi/st.c | if (register_chrdev(MAJOR_NR,"st",&st_fops)) { |
MAJOR_NR | 1988 | drivers/scsi/st.c | printk("Unable to get major %d for SCSI tapes\n",MAJOR_NR); |