taglinefilesource code
MAJOR_NR2610drivers/block/floppy.cif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
MAJOR_NR3523drivers/block/floppy.cif (MAJOR(dev) != MAJOR_NR) {
MAJOR_NR3840drivers/block/floppy.cif (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) {
MAJOR_NR3841drivers/block/floppy.cprintk("Unable to get major %d for floppy\n",MAJOR_NR);
MAJOR_NR3851drivers/block/floppy.cblk_size[MAJOR_NR] = floppy_sizes;
MAJOR_NR3852drivers/block/floppy.cblksize_size[MAJOR_NR] = floppy_blocksizes;
MAJOR_NR3853drivers/block/floppy.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR3870drivers/block/floppy.cunregister_blkdev(MAJOR_NR,"fd");
MAJOR_NR3923drivers/block/floppy.cunregister_blkdev(MAJOR_NR,"fd");
MAJOR_NR4086drivers/block/floppy.cunregister_blkdev(MAJOR_NR, "fd");
MAJOR_NR4088drivers/block/floppy.cblk_dev[MAJOR_NR].request_fn = 0;
MAJOR_NR920drivers/block/hd.cMAJOR_NR,  /* Major number */  
MAJOR_NR1034drivers/block/hd.cblksize_size[MAJOR_NR] = hd_blocksizes;
MAJOR_NR1052drivers/block/hd.cif (register_blkdev(MAJOR_NR,"hd",&hd_fops)) {
MAJOR_NR1053drivers/block/hd.cprintk("hd: unable to get major %d for harddisk\n",MAJOR_NR);
MAJOR_NR1056drivers/block/hd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1057drivers/block/hd.cread_ahead[MAJOR_NR] = 8;    /* 8 sector (4kB) read-ahead */
MAJOR_NR1106drivers/block/hd.ckdev_t devi = MKDEV(MAJOR_NR, minor);
MAJOR_NR596drivers/block/md.cblksize_size[MAJOR_NR] = md_blocksizes;
MAJOR_NR203drivers/block/rd.cif (register_blkdev(MAJOR_NR, "ramdisk", &fd_fops)) {
MAJOR_NR204drivers/block/rd.cprintk("RAMDISK: Could not get major %d", MAJOR_NR);
MAJOR_NR208drivers/block/rd.cblk_dev[MAJOR_NR].request_fn = &rd_request;
MAJOR_NR215drivers/block/rd.cblksize_size[MAJOR_NR] = rd_blocksizes;
MAJOR_NR238drivers/block/rd.cinvalidate_buffers(MKDEV(MAJOR_NR, i));
MAJOR_NR240drivers/block/rd.cunregister_blkdev( MAJOR_NR, "ramdisk" );
MAJOR_NR241drivers/block/rd.cblk_dev[MAJOR_NR].request_fn = 0;
MAJOR_NR368drivers/block/rd.cram_device = MKDEV(MAJOR_NR, 0);
MAJOR_NR443drivers/block/rd.cROOT_DEV = MKDEV(MAJOR_NR,0);
MAJOR_NR87drivers/block/xd.cMAJOR_NR,  /* Major number */
MAJOR_NR120drivers/block/xd.cif (register_blkdev(MAJOR_NR,"xd",&xd_fops)) {
MAJOR_NR121drivers/block/xd.cprintk("xd_init: unable to get major number %d\n",MAJOR_NR);
MAJOR_NR124drivers/block/xd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR125drivers/block/xd.cread_ahead[MAJOR_NR] = 8;  /* 8 sector (4kB) read ahead */
MAJOR_NR189drivers/block/xd.cblksize_size[MAJOR_NR] = xd_blocksizes;
MAJOR_NR316drivers/block/xd.ckdev_t devp = MKDEV(MAJOR_NR, minor);
MAJOR_NR195drivers/cdrom/aztcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
MAJOR_NR1671drivers/cdrom/aztcd.cif (register_blkdev(MAJOR_NR, "aztcd", &azt_fops) != 0)
MAJOR_NR1674drivers/cdrom/aztcd.cMAJOR_NR);
MAJOR_NR1677drivers/cdrom/aztcd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1678drivers/cdrom/aztcd.cread_ahead[MAJOR_NR] = 4;
MAJOR_NR2096drivers/cdrom/aztcd.cif ((unregister_blkdev(MAJOR_NR, "aztcd") == -EINVAL))    
MAJOR_NR1547drivers/cdrom/cdu31a.cif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
MAJOR_NR3068drivers/cdrom/cdu31a.cif (register_blkdev(MAJOR_NR,"cdu31a",&scd_fops))
MAJOR_NR3070drivers/cdrom/cdu31a.cprintk("Unable to get major %d for CDU-31a\n", MAJOR_NR);
MAJOR_NR3131drivers/cdrom/cdu31a.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR3132drivers/cdrom/cdu31a.cread_ahead[MAJOR_NR] = CDU31A_READAHEAD;
MAJOR_NR3135drivers/cdrom/cdu31a.cblksize_size[MAJOR_NR] = &cdu31a_block_size;
MAJOR_NR3166drivers/cdrom/cdu31a.cif ((unregister_blkdev(MAJOR_NR, "cdu31a") == -EINVAL))    
MAJOR_NR1050drivers/cdrom/cm206.cif (unregister_blkdev(MAJOR_NR, "cm206")) {
MAJOR_NR1165drivers/cdrom/cm206.cif (register_blkdev(MAJOR_NR, "cm206", &cm206_fops) != 0) {
MAJOR_NR1166drivers/cdrom/cm206.cprintk("Cannot register for major %d!\n", MAJOR_NR);
MAJOR_NR1170drivers/cdrom/cm206.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1171drivers/cdrom/cm206.cread_ahead[MAJOR_NR] = 16;  /* reads ahead what? */
MAJOR_NR978drivers/cdrom/gscd.cif ((unregister_blkdev(MAJOR_NR, "gscd" ) == -EINVAL))
MAJOR_NR1050drivers/cdrom/gscd.cif (register_blkdev(MAJOR_NR, "gscd", &gscd_fops) != 0)
MAJOR_NR1053drivers/cdrom/gscd.cMAJOR_NR);
MAJOR_NR1057drivers/cdrom/gscd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1058drivers/cdrom/gscd.cread_ahead[MAJOR_NR] = 4;
MAJOR_NR132drivers/cdrom/mcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
MAJOR_NR1175drivers/cdrom/mcd.cif (register_blkdev(MAJOR_NR, "mcd", &mcd_fops) != 0)
MAJOR_NR1178drivers/cdrom/mcd.cMAJOR_NR);
MAJOR_NR1188drivers/cdrom/mcd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1189drivers/cdrom/mcd.cread_ahead[MAJOR_NR] = 4;
MAJOR_NR1615drivers/cdrom/mcd.cif ((unregister_blkdev(MAJOR_NR, "mcd") == -EINVAL))
MAJOR_NR1015drivers/cdrom/mcdx.cif (unregister_blkdev(MAJOR_NR, DEVICE_NAME) != 0) 
MAJOR_NR1156drivers/cdrom/mcdx.cif (register_blkdev(MAJOR_NR, DEVICE_NAME, &mcdx_fops) != 0) {
MAJOR_NR1159drivers/cdrom/mcdx.cstuffp->wreg_data, stuffp->irq, MAJOR_NR));
MAJOR_NR1164drivers/cdrom/mcdx.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1165drivers/cdrom/mcdx.cread_ahead[MAJOR_NR] = READ_AHEAD;
MAJOR_NR1168drivers/cdrom/mcdx.cblksize_size[MAJOR_NR] = BLKSIZES;
MAJOR_NR967drivers/cdrom/optcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR \
MAJOR_NR2052drivers/cdrom/optcd.cif (register_blkdev(MAJOR_NR, "optcd", &opt_fops) != 0)
MAJOR_NR2054drivers/cdrom/optcd.cprintk("optcd: unable to get major %d\n", MAJOR_NR);
MAJOR_NR2058drivers/cdrom/optcd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR2059drivers/cdrom/optcd.cread_ahead[MAJOR_NR] = 4;
MAJOR_NR2076drivers/cdrom/optcd.cif (unregister_blkdev(MAJOR_NR, "optcd") == -EINVAL) {
MAJOR_NR5307drivers/cdrom/sbpcd.cif (register_blkdev(MAJOR_NR, major_name, &sbpcd_fops) != 0)
MAJOR_NR5309drivers/cdrom/sbpcd.cmsg(DBG_INF, "Can't get MAJOR %d for Matsushita CDROM\n", MAJOR_NR);
MAJOR_NR5316drivers/cdrom/sbpcd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR5317drivers/cdrom/sbpcd.cread_ahead[MAJOR_NR] = SBP_BUFFER_FRAMES * (CD_FRAMESIZE / 512);
MAJOR_NR5353drivers/cdrom/sbpcd.cblksize_size[MAJOR_NR]=sbpcd_blocksizes;
MAJOR_NR5377drivers/cdrom/sbpcd.cif ((unregister_blkdev(MAJOR_NR, major_name) == -EINVAL))
MAJOR_NR920drivers/cdrom/sjcd.c( CURRENT != NULL && MAJOR( CURRENT->rq_dev ) == MAJOR_NR && \
MAJOR_NR1457drivers/cdrom/sjcd.cif( register_blkdev( MAJOR_NR, "sjcd", &sjcd_fops ) != 0 ){
MAJOR_NR1458drivers/cdrom/sjcd.cprintk( "SJCD: Unable to get major %d for Sanyo CD-ROM\n", MAJOR_NR );
MAJOR_NR1462drivers/cdrom/sjcd.cblk_dev[ MAJOR_NR ].request_fn = DEVICE_REQUEST;
MAJOR_NR1463drivers/cdrom/sjcd.cread_ahead[ MAJOR_NR ] = 4;
MAJOR_NR1556drivers/cdrom/sjcd.cif( (unregister_blkdev(MAJOR_NR, "sjcd") == -EINVAL) )
MAJOR_NR1591drivers/cdrom/sonycd535.cif (register_blkdev(MAJOR_NR, CDU535_HANDLE, &cdu_fops)) {
MAJOR_NR1593drivers/cdrom/sonycd535.cMAJOR_NR, CDU535_MESSAGE_NAME);
MAJOR_NR1596drivers/cdrom/sonycd535.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1597drivers/cdrom/sonycd535.cread_ahead[MAJOR_NR] = 8;  /* 8 sector (4kB) read-ahead */
MAJOR_NR1684drivers/cdrom/sonycd535.cif (unregister_blkdev(MAJOR_NR, CDU535_HANDLE) == -EINVAL)
MAJOR_NR455drivers/scsi/scsi.h#if defined(MAJOR_NR) && (MAJOR_NR != SCSI_TAPE_MAJOR)
MAJOR_NR522drivers/scsi/scsi.hif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)           \
MAJOR_NR57drivers/scsi/scsi_debug.c#ifndef MAJOR_NR
MAJOR_NR184drivers/scsi/sd.cMAJOR_NR,                    /* Major number */
MAJOR_NR1250drivers/scsi/sd.cif (register_blkdev(MAJOR_NR,"sd",&sd_fops)) {
MAJOR_NR1251drivers/scsi/sd.cprintk("Unable to get major %d for SCSI disk\n",MAJOR_NR);
MAJOR_NR1280drivers/scsi/sd.cblksize_size[MAJOR_NR] = sd_blocksizes;
MAJOR_NR1281drivers/scsi/sd.chardsect_size[MAJOR_NR] = sd_hardsizes;
MAJOR_NR1298drivers/scsi/sd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1311drivers/scsi/sd.crevalidate_scsidisk(MKDEV(MAJOR_NR, i << 4), 0);
MAJOR_NR1323drivers/scsi/sd.cread_ahead[MAJOR_NR] = 120;  /* 120 sector read-ahead */
MAJOR_NR1325drivers/scsi/sd.cread_ahead[MAJOR_NR] = 4;  /* 4 sector read-ahead */
MAJOR_NR1403drivers/scsi/sd.ckdev_t devi = MKDEV(MAJOR_NR, minor);
MAJOR_NR1413drivers/scsi/sd.cblksize_size[MAJOR_NR][minor] = 1024;
MAJOR_NR1449drivers/scsi/sd.ckdev_t devi = MKDEV(MAJOR_NR, minor);
MAJOR_NR1517drivers/scsi/sd.cblksize_size[MAJOR_NR] = NULL;
MAJOR_NR1518drivers/scsi/sd.cblk_dev[MAJOR_NR].request_fn = NULL;
MAJOR_NR1519drivers/scsi/sd.cblk_size[MAJOR_NR] = NULL;  
MAJOR_NR1520drivers/scsi/sd.chardsect_size[MAJOR_NR] = NULL;
MAJOR_NR1521drivers/scsi/sd.cread_ahead[MAJOR_NR] = 0;
MAJOR_NR1050drivers/scsi/sr.cif (register_blkdev(MAJOR_NR,"sr",&sr_fops)) {
MAJOR_NR1051drivers/scsi/sr.cprintk("Unable to get major %d for SCSI-CD\n",MAJOR_NR);
MAJOR_NR1069drivers/scsi/sr.cblksize_size[MAJOR_NR] = sr_blocksizes;
MAJOR_NR1077drivers/scsi/sr.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1078drivers/scsi/sr.cblk_size[MAJOR_NR] = sr_sizes;  
MAJOR_NR1105drivers/scsi/sr.cread_ahead[MAJOR_NR] = 32;  /* 32 sector read-ahead.  Always removable. */
MAJOR_NR1107drivers/scsi/sr.cread_ahead[MAJOR_NR] = 4;  /* 4 sector read-ahead */
MAJOR_NR1119drivers/scsi/sr.ckdev_t devi = MKDEV(MAJOR_NR, i);
MAJOR_NR1165drivers/scsi/sr.cblksize_size[MAJOR_NR] = NULL;
MAJOR_NR1166drivers/scsi/sr.cblk_dev[MAJOR_NR].request_fn = NULL;
MAJOR_NR1167drivers/scsi/sr.cblk_size[MAJOR_NR] = NULL;  
MAJOR_NR1168drivers/scsi/sr.cread_ahead[MAJOR_NR] = 0;
MAJOR_NR2168drivers/scsi/st.cprintk(KERN_ERR "Unable to get major %d for SCSI tapes\n",MAJOR_NR);
MAJOR_NR32include/linux/blk.h#define SECTOR_MASK (blksize_size[MAJOR_NR] &&     \
MAJOR_NR33include/linux/blk.hblksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] ? \
MAJOR_NR34include/linux/blk.h((blksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] >> 9) - 1) :  \
MAJOR_NR105include/linux/blk.h#if defined(MAJOR_NR) || defined(IDE_DRIVER)
MAJOR_NR117include/linux/blk.h#elif (MAJOR_NR == RAMDISK_MAJOR)
MAJOR_NR127include/linux/blk.h#elif (MAJOR_NR == FLOPPY_MAJOR)
MAJOR_NR138include/linux/blk.h#elif (MAJOR_NR == HD_MAJOR)
MAJOR_NR150include/linux/blk.h#elif (MAJOR_NR == SCSI_DISK_MAJOR)
MAJOR_NR161include/linux/blk.h#elif  (MAJOR_NR == MD_MAJOR) && defined(MD_DRIVER)
MAJOR_NR173include/linux/blk.h#elif (MAJOR_NR == SCSI_TAPE_MAJOR)
MAJOR_NR181include/linux/blk.h#elif (MAJOR_NR == SCSI_CDROM_MAJOR)
MAJOR_NR190include/linux/blk.h#elif (MAJOR_NR == XT_DISK_MAJOR)
MAJOR_NR198include/linux/blk.h#elif (MAJOR_NR == CDU31A_CDROM_MAJOR)
MAJOR_NR206include/linux/blk.h#elif (MAJOR_NR == MITSUMI_CDROM_MAJOR)
MAJOR_NR215include/linux/blk.h#elif (MAJOR_NR == MITSUMI_X_CDROM_MAJOR)
MAJOR_NR224include/linux/blk.h#elif (MAJOR_NR == MATSUSHITA_CDROM_MAJOR)
MAJOR_NR232include/linux/blk.h#elif (MAJOR_NR == MATSUSHITA_CDROM2_MAJOR)
MAJOR_NR240include/linux/blk.h#elif (MAJOR_NR == MATSUSHITA_CDROM3_MAJOR)
MAJOR_NR248include/linux/blk.h#elif (MAJOR_NR == MATSUSHITA_CDROM4_MAJOR)
MAJOR_NR256include/linux/blk.h#elif (MAJOR_NR == AZTECH_CDROM_MAJOR)
MAJOR_NR264include/linux/blk.h#elif (MAJOR_NR == CDU535_CDROM_MAJOR)
MAJOR_NR273include/linux/blk.h#elif (MAJOR_NR == GOLDSTAR_CDROM_MAJOR)
MAJOR_NR281include/linux/blk.h#elif (MAJOR_NR == CM206_CDROM_MAJOR)
MAJOR_NR288include/linux/blk.h#elif (MAJOR_NR == OPTICS_CDROM_MAJOR)
MAJOR_NR296include/linux/blk.h#elif (MAJOR_NR == SANYO_CDROM_MAJOR)
MAJOR_NR306include/linux/blk.h#if ((MAJOR_NR != SCSI_TAPE_MAJOR) && !defined(IDE_DRIVER) && !defined(MD_DRIVER))
MAJOR_NR309include/linux/blk.h#define CURRENT (blk_dev[MAJOR_NR].current_request)
MAJOR_NR353include/linux/blk.hif (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \
MAJOR_NR365include/linux/blk.h#if ! SCSI_MAJOR(MAJOR_NR) || (defined(MD_DRIVER) && !defined(MD_PERSONALITY))