tag | line | file | source code |
MAJOR_NR | 2671 | drivers/block/floppy.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
MAJOR_NR | 3515 | drivers/block/floppy.c | if (MAJOR(dev) != MAJOR_NR) { |
MAJOR_NR | 3791 | drivers/block/floppy.c | if (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) { |
MAJOR_NR | 3792 | drivers/block/floppy.c | printk("Unable to get major %d for floppy\n",MAJOR_NR); |
MAJOR_NR | 3802 | drivers/block/floppy.c | blk_size[MAJOR_NR] = floppy_sizes; |
MAJOR_NR | 3803 | drivers/block/floppy.c | blksize_size[MAJOR_NR] = floppy_blocksizes; |
MAJOR_NR | 3804 | drivers/block/floppy.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 3824 | drivers/block/floppy.c | unregister_blkdev(MAJOR_NR,"fd"); |
MAJOR_NR | 3883 | drivers/block/floppy.c | unregister_blkdev(MAJOR_NR,"fd"); |
MAJOR_NR | 4047 | drivers/block/floppy.c | unregister_blkdev(MAJOR_NR, "fd"); |
MAJOR_NR | 4049 | drivers/block/floppy.c | blk_dev[MAJOR_NR].request_fn = 0; |
MAJOR_NR | 920 | drivers/block/hd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 1034 | drivers/block/hd.c | blksize_size[MAJOR_NR] = hd_blocksizes; |
MAJOR_NR | 1052 | drivers/block/hd.c | if (register_blkdev(MAJOR_NR,"hd",&hd_fops)) { |
MAJOR_NR | 1053 | drivers/block/hd.c | printk("hd: unable to get major %d for harddisk\n",MAJOR_NR); |
MAJOR_NR | 1056 | drivers/block/hd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1057 | drivers/block/hd.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read-ahead */ |
MAJOR_NR | 1106 | drivers/block/hd.c | kdev_t devi = MKDEV(MAJOR_NR, minor); |
MAJOR_NR | 95 | drivers/block/ramdisk.c | blksize_size[MAJOR_NR] = rd_blocksizes; |
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 | 316 | drivers/block/xd.c | kdev_t devp = MKDEV(MAJOR_NR, minor); |
MAJOR_NR | 188 | drivers/cdrom/aztcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
MAJOR_NR | 1650 | drivers/cdrom/aztcd.c | if (register_blkdev(MAJOR_NR, "aztcd", &azt_fops) != 0) |
MAJOR_NR | 1653 | drivers/cdrom/aztcd.c | MAJOR_NR); |
MAJOR_NR | 1656 | drivers/cdrom/aztcd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1657 | drivers/cdrom/aztcd.c | read_ahead[MAJOR_NR] = 4; |
MAJOR_NR | 2073 | drivers/cdrom/aztcd.c | if ((unregister_blkdev(MAJOR_NR, "aztcd") == -EINVAL)) |
MAJOR_NR | 1548 | drivers/cdrom/cdu31a.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
MAJOR_NR | 3067 | drivers/cdrom/cdu31a.c | if (register_blkdev(MAJOR_NR,"cdu31a",&scd_fops)) |
MAJOR_NR | 3069 | drivers/cdrom/cdu31a.c | printk("Unable to get major %d for CDU-31a\n", MAJOR_NR); |
MAJOR_NR | 3130 | drivers/cdrom/cdu31a.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 3131 | drivers/cdrom/cdu31a.c | read_ahead[MAJOR_NR] = CDU31A_READAHEAD; |
MAJOR_NR | 3134 | drivers/cdrom/cdu31a.c | blksize_size[MAJOR_NR] = &cdu31a_block_size; |
MAJOR_NR | 3165 | drivers/cdrom/cdu31a.c | if ((unregister_blkdev(MAJOR_NR, "cdu31a") == -EINVAL)) |
MAJOR_NR | 1050 | drivers/cdrom/cm206.c | if (unregister_blkdev(MAJOR_NR, "cm206")) { |
MAJOR_NR | 1165 | drivers/cdrom/cm206.c | if (register_blkdev(MAJOR_NR, "cm206", &cm206_fops) != 0) { |
MAJOR_NR | 1166 | drivers/cdrom/cm206.c | printk("Cannot register for major %d!\n", MAJOR_NR); |
MAJOR_NR | 1170 | drivers/cdrom/cm206.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1171 | drivers/cdrom/cm206.c | read_ahead[MAJOR_NR] = 16; /* reads ahead what? */ |
MAJOR_NR | 978 | drivers/cdrom/gscd.c | if ((unregister_blkdev(MAJOR_NR, "gscd" ) == -EINVAL)) |
MAJOR_NR | 1050 | drivers/cdrom/gscd.c | if (register_blkdev(MAJOR_NR, "gscd", &gscd_fops) != 0) |
MAJOR_NR | 1053 | drivers/cdrom/gscd.c | MAJOR_NR); |
MAJOR_NR | 1057 | drivers/cdrom/gscd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1058 | drivers/cdrom/gscd.c | read_ahead[MAJOR_NR] = 4; |
MAJOR_NR | 142 | drivers/cdrom/mcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
MAJOR_NR | 1228 | drivers/cdrom/mcd.c | if (register_blkdev(MAJOR_NR, "mcd", &mcd_fops) != 0) |
MAJOR_NR | 1231 | drivers/cdrom/mcd.c | MAJOR_NR); |
MAJOR_NR | 1241 | drivers/cdrom/mcd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1242 | drivers/cdrom/mcd.c | read_ahead[MAJOR_NR] = 4; |
MAJOR_NR | 1672 | drivers/cdrom/mcd.c | if ((unregister_blkdev(MAJOR_NR, "mcd") == -EINVAL)) |
MAJOR_NR | 977 | drivers/cdrom/mcdx.c | if (unregister_blkdev(MAJOR_NR, DEVICE_NAME) != 0) |
MAJOR_NR | 1114 | drivers/cdrom/mcdx.c | if (register_blkdev(MAJOR_NR, DEVICE_NAME, &mcdx_fops) != 0) { |
MAJOR_NR | 1117 | drivers/cdrom/mcdx.c | stuffp->wreg_data, stuffp->irq, MAJOR_NR)); |
MAJOR_NR | 1122 | drivers/cdrom/mcdx.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1123 | drivers/cdrom/mcdx.c | read_ahead[MAJOR_NR] = READ_AHEAD; |
MAJOR_NR | 1126 | drivers/cdrom/mcdx.c | blksize_size[MAJOR_NR] = BLKSIZES; |
MAJOR_NR | 1444 | drivers/cdrom/optcd.c | if (register_blkdev(MAJOR_NR, "optcd", &opt_fops) != 0) |
MAJOR_NR | 1446 | drivers/cdrom/optcd.c | printk("optcd: unable to get major %d\n", MAJOR_NR); |
MAJOR_NR | 1449 | drivers/cdrom/optcd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1450 | drivers/cdrom/optcd.c | read_ahead[MAJOR_NR] = 4; |
MAJOR_NR | 1464 | drivers/cdrom/optcd.c | if ((unregister_blkdev(MAJOR_NR, "optcd") == -EINVAL)) { |
MAJOR_NR | 5245 | drivers/cdrom/sbpcd.c | if (register_blkdev(MAJOR_NR, major_name, &sbpcd_fops) != 0) |
MAJOR_NR | 5247 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "Can't get MAJOR %d for Matsushita CDROM\n", MAJOR_NR); |
MAJOR_NR | 5254 | drivers/cdrom/sbpcd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 5255 | drivers/cdrom/sbpcd.c | read_ahead[MAJOR_NR] = SBP_BUFFER_FRAMES * (CD_FRAMESIZE / 512); |
MAJOR_NR | 5289 | drivers/cdrom/sbpcd.c | blksize_size[MAJOR_NR]=sbpcd_blocksizes; |
MAJOR_NR | 5320 | drivers/cdrom/sbpcd.c | if ((unregister_blkdev(MAJOR_NR, major_name) == -EINVAL)) |
MAJOR_NR | 980 | drivers/cdrom/sjcd.c | ( CURRENT != NULL && MAJOR( CURRENT->rq_dev ) == MAJOR_NR && \ |
MAJOR_NR | 1529 | drivers/cdrom/sjcd.c | if( register_blkdev( MAJOR_NR, "sjcd", &sjcd_fops ) != 0 ){ |
MAJOR_NR | 1530 | drivers/cdrom/sjcd.c | printk( "Unable to get major %d for Sanyo CD-ROM\n", MAJOR_NR ); |
MAJOR_NR | 1534 | drivers/cdrom/sjcd.c | blk_dev[ MAJOR_NR ].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1535 | drivers/cdrom/sjcd.c | read_ahead[ MAJOR_NR ] = 4; |
MAJOR_NR | 1629 | drivers/cdrom/sjcd.c | if( ( unregister_blkdev( MAJOR_NR, "sjcd" ) == -EINVAL ) ){ |
MAJOR_NR | 1589 | drivers/cdrom/sonycd535.c | if (register_blkdev(MAJOR_NR, CDU535_HANDLE, &cdu_fops)) { |
MAJOR_NR | 1591 | drivers/cdrom/sonycd535.c | MAJOR_NR, CDU535_MESSAGE_NAME); |
MAJOR_NR | 1594 | drivers/cdrom/sonycd535.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1595 | drivers/cdrom/sonycd535.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read-ahead */ |
MAJOR_NR | 1682 | drivers/cdrom/sonycd535.c | if (unregister_blkdev(MAJOR_NR, CDU535_HANDLE) == -EINVAL) |
MAJOR_NR | 453 | drivers/scsi/scsi.h | #if defined(MAJOR_NR) && (MAJOR_NR != SCSI_TAPE_MAJOR) |
MAJOR_NR | 520 | drivers/scsi/scsi.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
MAJOR_NR | 60 | drivers/scsi/scsi_debug.c | #ifndef MAJOR_NR |
MAJOR_NR | 184 | drivers/scsi/sd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 1244 | drivers/scsi/sd.c | if (register_blkdev(MAJOR_NR,"sd",&sd_fops)) { |
MAJOR_NR | 1245 | drivers/scsi/sd.c | printk("Unable to get major %d for SCSI disk\n",MAJOR_NR); |
MAJOR_NR | 1274 | drivers/scsi/sd.c | blksize_size[MAJOR_NR] = sd_blocksizes; |
MAJOR_NR | 1275 | drivers/scsi/sd.c | hardsect_size[MAJOR_NR] = sd_hardsizes; |
MAJOR_NR | 1292 | drivers/scsi/sd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1305 | drivers/scsi/sd.c | revalidate_scsidisk(MKDEV(MAJOR_NR, i << 4), 0); |
MAJOR_NR | 1315 | drivers/scsi/sd.c | read_ahead[MAJOR_NR] = 120; /* 120 sector read-ahead */ |
MAJOR_NR | 1317 | drivers/scsi/sd.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 1395 | drivers/scsi/sd.c | kdev_t devi = MKDEV(MAJOR_NR, minor); |
MAJOR_NR | 1405 | drivers/scsi/sd.c | blksize_size[MAJOR_NR][minor] = 1024; |
MAJOR_NR | 1441 | drivers/scsi/sd.c | kdev_t devi = MKDEV(MAJOR_NR, minor); |
MAJOR_NR | 1509 | drivers/scsi/sd.c | blksize_size[MAJOR_NR] = NULL; |
MAJOR_NR | 1510 | drivers/scsi/sd.c | blk_dev[MAJOR_NR].request_fn = NULL; |
MAJOR_NR | 1511 | drivers/scsi/sd.c | blk_size[MAJOR_NR] = NULL; |
MAJOR_NR | 1512 | drivers/scsi/sd.c | hardsect_size[MAJOR_NR] = NULL; |
MAJOR_NR | 1513 | drivers/scsi/sd.c | read_ahead[MAJOR_NR] = 0; |
MAJOR_NR | 1043 | drivers/scsi/sr.c | if (register_blkdev(MAJOR_NR,"sr",&sr_fops)) { |
MAJOR_NR | 1044 | drivers/scsi/sr.c | printk("Unable to get major %d for SCSI-CD\n",MAJOR_NR); |
MAJOR_NR | 1062 | drivers/scsi/sr.c | blksize_size[MAJOR_NR] = sr_blocksizes; |
MAJOR_NR | 1070 | drivers/scsi/sr.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1071 | drivers/scsi/sr.c | blk_size[MAJOR_NR] = sr_sizes; |
MAJOR_NR | 1098 | drivers/scsi/sr.c | read_ahead[MAJOR_NR] = 32; /* 32 sector read-ahead. Always removable. */ |
MAJOR_NR | 1100 | drivers/scsi/sr.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 1112 | drivers/scsi/sr.c | kdev_t devi = MKDEV(MAJOR_NR, i); |
MAJOR_NR | 1162 | drivers/scsi/sr.c | blksize_size[MAJOR_NR] = NULL; |
MAJOR_NR | 1163 | drivers/scsi/sr.c | blk_dev[MAJOR_NR].request_fn = NULL; |
MAJOR_NR | 1164 | drivers/scsi/sr.c | blk_size[MAJOR_NR] = NULL; |
MAJOR_NR | 1165 | drivers/scsi/sr.c | read_ahead[MAJOR_NR] = 0; |
MAJOR_NR | 2132 | drivers/scsi/st.c | printk("Unable to get major %d for SCSI tapes\n",MAJOR_NR); |
MAJOR_NR | 32 | include/linux/blk.h | #define SECTOR_MASK (blksize_size[MAJOR_NR] && \ |
MAJOR_NR | 33 | include/linux/blk.h | blksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] ? \ |
MAJOR_NR | 34 | include/linux/blk.h | ((blksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] >> 9) - 1) : \ |
MAJOR_NR | 93 | include/linux/blk.h | #if defined(MAJOR_NR) || defined(IDE_DRIVER) |
MAJOR_NR | 105 | include/linux/blk.h | #elif (MAJOR_NR == MEM_MAJOR) |
MAJOR_NR | 114 | include/linux/blk.h | #elif (MAJOR_NR == FLOPPY_MAJOR) |
MAJOR_NR | 125 | include/linux/blk.h | #elif (MAJOR_NR == HD_MAJOR) |
MAJOR_NR | 137 | include/linux/blk.h | #elif (MAJOR_NR == SCSI_DISK_MAJOR) |
MAJOR_NR | 147 | include/linux/blk.h | #elif (MAJOR_NR == SCSI_TAPE_MAJOR) |
MAJOR_NR | 155 | include/linux/blk.h | #elif (MAJOR_NR == SCSI_CDROM_MAJOR) |
MAJOR_NR | 164 | include/linux/blk.h | #elif (MAJOR_NR == XT_DISK_MAJOR) |
MAJOR_NR | 172 | include/linux/blk.h | #elif (MAJOR_NR == CDU31A_CDROM_MAJOR) |
MAJOR_NR | 180 | include/linux/blk.h | #elif (MAJOR_NR == MITSUMI_CDROM_MAJOR) |
MAJOR_NR | 189 | include/linux/blk.h | #elif (MAJOR_NR == MITSUMI_X_CDROM_MAJOR) |
MAJOR_NR | 198 | include/linux/blk.h | #elif (MAJOR_NR == MATSUSHITA_CDROM_MAJOR) |
MAJOR_NR | 206 | include/linux/blk.h | #elif (MAJOR_NR == MATSUSHITA_CDROM2_MAJOR) |
MAJOR_NR | 214 | include/linux/blk.h | #elif (MAJOR_NR == MATSUSHITA_CDROM3_MAJOR) |
MAJOR_NR | 222 | include/linux/blk.h | #elif (MAJOR_NR == MATSUSHITA_CDROM4_MAJOR) |
MAJOR_NR | 230 | include/linux/blk.h | #elif (MAJOR_NR == AZTECH_CDROM_MAJOR) |
MAJOR_NR | 238 | include/linux/blk.h | #elif (MAJOR_NR == CDU535_CDROM_MAJOR) |
MAJOR_NR | 247 | include/linux/blk.h | #elif (MAJOR_NR == GOLDSTAR_CDROM_MAJOR) |
MAJOR_NR | 255 | include/linux/blk.h | #elif (MAJOR_NR == CM206_CDROM_MAJOR) |
MAJOR_NR | 262 | include/linux/blk.h | #elif (MAJOR_NR == OPTICS_CDROM_MAJOR) |
MAJOR_NR | 270 | include/linux/blk.h | #elif (MAJOR_NR == SANYO_CDROM_MAJOR) |
MAJOR_NR | 280 | include/linux/blk.h | #if (MAJOR_NR != SCSI_TAPE_MAJOR) && !defined(IDE_DRIVER) |
MAJOR_NR | 283 | include/linux/blk.h | #define CURRENT (blk_dev[MAJOR_NR].current_request) |
MAJOR_NR | 325 | include/linux/blk.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
MAJOR_NR | 337 | include/linux/blk.h | #if ! SCSI_MAJOR(MAJOR_NR) |
MAJOR_NR | 173 | include/linux/optcd.h | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR \ |