taglinefilesource code
MAJOR_NR137arch/m68k/atari/joystick.cif (register_chrdev(MAJOR_NR, "joystick", &atari_joystick_fops))
MAJOR_NR138arch/m68k/atari/joystick.cprintk("unable to get major %d for joystick devices\n", MAJOR_NR);
MAJOR_NR1086drivers/block/amiflop.cif (MAJOR(dev) != MAJOR_NR) {
MAJOR_NR1266drivers/block/amiflop.cif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
MAJOR_NR1717drivers/block/amiflop.cif (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) {
MAJOR_NR1718drivers/block/amiflop.cprintk("Unable to get major %d for floppy\n",MAJOR_NR);
MAJOR_NR1750drivers/block/amiflop.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1751drivers/block/amiflop.cblksize_size[MAJOR_NR] = floppy_blocksizes;
MAJOR_NR1752drivers/block/amiflop.cblk_size[MAJOR_NR] = floppy_sizes;
MAJOR_NR1347drivers/block/ataflop.cif (MAJOR(dev) != MAJOR_NR) {
MAJOR_NR1436drivers/block/ataflop.cif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
MAJOR_NR1849drivers/block/ataflop.cif (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) {
MAJOR_NR1850drivers/block/ataflop.cprintk("Unable to get major %d for floppy\n",MAJOR_NR);
MAJOR_NR1872drivers/block/ataflop.cunregister_blkdev(MAJOR_NR, "fd");
MAJOR_NR1892drivers/block/ataflop.cblk_size[MAJOR_NR] = floppy_sizes;
MAJOR_NR1893drivers/block/ataflop.cblksize_size[MAJOR_NR] = floppy_blocksizes;
MAJOR_NR1894drivers/block/ataflop.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1941drivers/block/ataflop.cunregister_blkdev(MAJOR_NR, "fd");
MAJOR_NR1943drivers/block/ataflop.cblk_dev[MAJOR_NR].request_fn = 0;
MAJOR_NR2702drivers/block/floppy.cif (MAJOR(CURRENT->rq_dev) != MAJOR_NR)
MAJOR_NR3653drivers/block/floppy.cif (MAJOR(dev) != MAJOR_NR) {
MAJOR_NR3971drivers/block/floppy.cif (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) {
MAJOR_NR3972drivers/block/floppy.cprintk("Unable to get major %d for floppy\n",MAJOR_NR);
MAJOR_NR3982drivers/block/floppy.cblk_size[MAJOR_NR] = floppy_sizes;
MAJOR_NR3983drivers/block/floppy.cblksize_size[MAJOR_NR] = floppy_blocksizes;
MAJOR_NR3984drivers/block/floppy.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR4004drivers/block/floppy.cunregister_blkdev(MAJOR_NR,"fd");
MAJOR_NR4056drivers/block/floppy.cunregister_blkdev(MAJOR_NR,"fd");
MAJOR_NR4240drivers/block/floppy.cunregister_blkdev(MAJOR_NR, "fd");
MAJOR_NR4242drivers/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_NR383drivers/block/loop.cif (MAJOR(inode->i_rdev) != MAJOR_NR) {
MAJOR_NR384drivers/block/loop.cprintk("lo_ioctl: pseudo-major != %d\n", MAJOR_NR);
MAJOR_NR422drivers/block/loop.cif (MAJOR(inode->i_rdev) != MAJOR_NR) {
MAJOR_NR423drivers/block/loop.cprintk("lo_open: pseudo-major != %d\n", MAJOR_NR);
MAJOR_NR442drivers/block/loop.cif (MAJOR(inode->i_rdev) != MAJOR_NR) {
MAJOR_NR443drivers/block/loop.cprintk("lo_release: pseudo-major != %d\n", MAJOR_NR);
MAJOR_NR482drivers/block/loop.cif (register_blkdev(MAJOR_NR, "loop", &lo_fops)) {
MAJOR_NR484drivers/block/loop.cMAJOR_NR);
MAJOR_NR488drivers/block/loop.cprintk("loop: registered device at major %d\n", MAJOR_NR);
MAJOR_NR491drivers/block/loop.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR497drivers/block/loop.cblk_size[MAJOR_NR] = loop_sizes;
MAJOR_NR505drivers/block/loop.cif (unregister_blkdev(MAJOR_NR, "loop") != 0)
MAJOR_NR424drivers/block/md.cblksize_size[MAJOR_NR] = md_blocksizes;
MAJOR_NR270drivers/block/rd.cif (register_blkdev(MAJOR_NR, "ramdisk", &fd_fops)) {
MAJOR_NR271drivers/block/rd.cprintk("RAMDISK: Could not get major %d", MAJOR_NR);
MAJOR_NR275drivers/block/rd.cblk_dev[MAJOR_NR].request_fn = &rd_request;
MAJOR_NR282drivers/block/rd.cblksize_size[MAJOR_NR] = rd_blocksizes;
MAJOR_NR308drivers/block/rd.cinvalidate_buffers(MKDEV(MAJOR_NR, i));
MAJOR_NR310drivers/block/rd.cunregister_blkdev( MAJOR_NR, "ramdisk" );
MAJOR_NR311drivers/block/rd.cblk_dev[MAJOR_NR].request_fn = 0;
MAJOR_NR434drivers/block/rd.cram_device = MKDEV(MAJOR_NR, 0);
MAJOR_NR501drivers/block/rd.cROOT_DEV = MKDEV(MAJOR_NR,0);
MAJOR_NR531drivers/block/rd.crd_load_image(MKDEV(MAJOR_NR, INITRD_MINOR),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_NR134drivers/cdrom/mcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
MAJOR_NR1177drivers/cdrom/mcd.cif (register_blkdev(MAJOR_NR, "mcd", &mcd_fops) != 0)
MAJOR_NR1180drivers/cdrom/mcd.cMAJOR_NR);
MAJOR_NR1185drivers/cdrom/mcd.cunregister_blkdev(MAJOR_NR, "mcd");
MAJOR_NR1191drivers/cdrom/mcd.cblksize_size[MAJOR_NR] = mcd_blocksizes;
MAJOR_NR1192drivers/cdrom/mcd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1193drivers/cdrom/mcd.cread_ahead[MAJOR_NR] = 4;
MAJOR_NR1209drivers/cdrom/mcd.cunregister_blkdev(MAJOR_NR, "mcd");
MAJOR_NR1217drivers/cdrom/mcd.cunregister_blkdev(MAJOR_NR, "mcd");
MAJOR_NR1224drivers/cdrom/mcd.cunregister_blkdev(MAJOR_NR, "mcd");
MAJOR_NR1248drivers/cdrom/mcd.cunregister_blkdev(MAJOR_NR, "mcd");
MAJOR_NR1624drivers/cdrom/mcd.cif ((unregister_blkdev(MAJOR_NR, "mcd") == -EINVAL))
MAJOR_NR1063drivers/cdrom/mcdx.cif (unregister_blkdev(MAJOR_NR, DEVICE_NAME) != 0) {
MAJOR_NR1209drivers/cdrom/mcdx.cif (register_blkdev(MAJOR_NR, DEVICE_NAME, &mcdx_fops) != 0) {
MAJOR_NR1212drivers/cdrom/mcdx.cstuffp->wreg_data, stuffp->irq, MAJOR_NR));
MAJOR_NR1217drivers/cdrom/mcdx.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1218drivers/cdrom/mcdx.cread_ahead[MAJOR_NR] = READ_AHEAD;
MAJOR_NR1220drivers/cdrom/mcdx.cblksize_size[MAJOR_NR] = mcdx_blocksizes;
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_NR488drivers/scsi/scsi.h#if defined(MAJOR_NR) && (MAJOR_NR != SCSI_TAPE_MAJOR)
MAJOR_NR555drivers/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_NR1258drivers/scsi/sd.cif (register_blkdev(MAJOR_NR,"sd",&sd_fops)) {
MAJOR_NR1259drivers/scsi/sd.cprintk("Unable to get major %d for SCSI disk\n",MAJOR_NR);
MAJOR_NR1288drivers/scsi/sd.cblksize_size[MAJOR_NR] = sd_blocksizes;
MAJOR_NR1289drivers/scsi/sd.chardsect_size[MAJOR_NR] = sd_hardsizes;
MAJOR_NR1306drivers/scsi/sd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1319drivers/scsi/sd.crevalidate_scsidisk(MKDEV(MAJOR_NR, i << 4), 0);
MAJOR_NR1331drivers/scsi/sd.cread_ahead[MAJOR_NR] = 120;  /* 120 sector read-ahead */
MAJOR_NR1333drivers/scsi/sd.cread_ahead[MAJOR_NR] = 4;  /* 4 sector read-ahead */
MAJOR_NR1411drivers/scsi/sd.ckdev_t devi = MKDEV(MAJOR_NR, minor);
MAJOR_NR1421drivers/scsi/sd.cblksize_size[MAJOR_NR][minor] = 1024;
MAJOR_NR1457drivers/scsi/sd.ckdev_t devi = MKDEV(MAJOR_NR, minor);
MAJOR_NR1525drivers/scsi/sd.cblksize_size[MAJOR_NR] = NULL;
MAJOR_NR1526drivers/scsi/sd.cblk_dev[MAJOR_NR].request_fn = NULL;
MAJOR_NR1527drivers/scsi/sd.cblk_size[MAJOR_NR] = NULL;  
MAJOR_NR1528drivers/scsi/sd.chardsect_size[MAJOR_NR] = NULL;
MAJOR_NR1529drivers/scsi/sd.cread_ahead[MAJOR_NR] = 0;
MAJOR_NR1065drivers/scsi/sr.cif (register_blkdev(MAJOR_NR,"sr",&sr_fops)) {
MAJOR_NR1066drivers/scsi/sr.cprintk("Unable to get major %d for SCSI-CD\n",MAJOR_NR);
MAJOR_NR1084drivers/scsi/sr.cblksize_size[MAJOR_NR] = sr_blocksizes;
MAJOR_NR1092drivers/scsi/sr.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1093drivers/scsi/sr.cblk_size[MAJOR_NR] = sr_sizes;  
MAJOR_NR1120drivers/scsi/sr.cread_ahead[MAJOR_NR] = 32;  /* 32 sector read-ahead.  Always removable. */
MAJOR_NR1122drivers/scsi/sr.cread_ahead[MAJOR_NR] = 4;  /* 4 sector read-ahead */
MAJOR_NR1134drivers/scsi/sr.ckdev_t devi = MKDEV(MAJOR_NR, i);
MAJOR_NR1180drivers/scsi/sr.cblksize_size[MAJOR_NR] = NULL;
MAJOR_NR1181drivers/scsi/sr.cblk_dev[MAJOR_NR].request_fn = NULL;
MAJOR_NR1182drivers/scsi/sr.cblk_size[MAJOR_NR] = NULL;  
MAJOR_NR1183drivers/scsi/sr.cread_ahead[MAJOR_NR] = 0;
MAJOR_NR2554drivers/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_NR115include/linux/blk.h#if defined(MAJOR_NR) || defined(IDE_DRIVER)
MAJOR_NR127include/linux/blk.h#elif (MAJOR_NR == RAMDISK_MAJOR)
MAJOR_NR137include/linux/blk.h#elif (MAJOR_NR == FLOPPY_MAJOR)
MAJOR_NR148include/linux/blk.h#elif (MAJOR_NR == HD_MAJOR)
MAJOR_NR160include/linux/blk.h#elif (MAJOR_NR == SCSI_DISK_MAJOR)
MAJOR_NR171include/linux/blk.h#elif  (MAJOR_NR == MD_MAJOR) && defined(MD_DRIVER)
MAJOR_NR179include/linux/blk.h#elif (MAJOR_NR == SCSI_TAPE_MAJOR)
MAJOR_NR187include/linux/blk.h#elif (MAJOR_NR == SCSI_CDROM_MAJOR)
MAJOR_NR196include/linux/blk.h#elif (MAJOR_NR == XT_DISK_MAJOR)
MAJOR_NR204include/linux/blk.h#elif (MAJOR_NR == CDU31A_CDROM_MAJOR)
MAJOR_NR212include/linux/blk.h#elif (MAJOR_NR == MITSUMI_CDROM_MAJOR)
MAJOR_NR221include/linux/blk.h#elif (MAJOR_NR == MITSUMI_X_CDROM_MAJOR)
MAJOR_NR230include/linux/blk.h#elif (MAJOR_NR == MATSUSHITA_CDROM_MAJOR)
MAJOR_NR238include/linux/blk.h#elif (MAJOR_NR == MATSUSHITA_CDROM2_MAJOR)
MAJOR_NR246include/linux/blk.h#elif (MAJOR_NR == MATSUSHITA_CDROM3_MAJOR)
MAJOR_NR254include/linux/blk.h#elif (MAJOR_NR == MATSUSHITA_CDROM4_MAJOR)
MAJOR_NR262include/linux/blk.h#elif (MAJOR_NR == AZTECH_CDROM_MAJOR)
MAJOR_NR270include/linux/blk.h#elif (MAJOR_NR == CDU535_CDROM_MAJOR)
MAJOR_NR279include/linux/blk.h#elif (MAJOR_NR == GOLDSTAR_CDROM_MAJOR)
MAJOR_NR287include/linux/blk.h#elif (MAJOR_NR == CM206_CDROM_MAJOR)
MAJOR_NR294include/linux/blk.h#elif (MAJOR_NR == OPTICS_CDROM_MAJOR)
MAJOR_NR302include/linux/blk.h#elif (MAJOR_NR == SANYO_CDROM_MAJOR)
MAJOR_NR312include/linux/blk.h#if ((MAJOR_NR != SCSI_TAPE_MAJOR) && !defined(IDE_DRIVER))
MAJOR_NR315include/linux/blk.h#define CURRENT (blk_dev[MAJOR_NR].current_request)
MAJOR_NR357include/linux/blk.hif (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \
MAJOR_NR369include/linux/blk.h#if ! SCSI_MAJOR(MAJOR_NR)