taglinefilesource code
MAJOR_NR66drivers/block/blk.h#define SECTOR_MASK (blksize_size[MAJOR_NR] &&     \
MAJOR_NR67drivers/block/blk.hblksize_size[MAJOR_NR][MINOR(CURRENT->dev)] ? \
MAJOR_NR68drivers/block/blk.h((blksize_size[MAJOR_NR][MINOR(CURRENT->dev)] >> 9) - 1) :  \
MAJOR_NR100drivers/block/blk.h#ifdef MAJOR_NR
MAJOR_NR107drivers/block/blk.h#if (MAJOR_NR == MEM_MAJOR)
MAJOR_NR116drivers/block/blk.h#elif (MAJOR_NR == FLOPPY_MAJOR)
MAJOR_NR128drivers/block/blk.h#elif (MAJOR_NR == HD_MAJOR)
MAJOR_NR140drivers/block/blk.h#elif (MAJOR_NR == SCSI_DISK_MAJOR)
MAJOR_NR150drivers/block/blk.h#elif (MAJOR_NR == SCSI_TAPE_MAJOR)
MAJOR_NR158drivers/block/blk.h#elif (MAJOR_NR == SCSI_CDROM_MAJOR)
MAJOR_NR167drivers/block/blk.h#elif (MAJOR_NR == XT_DISK_MAJOR)
MAJOR_NR175drivers/block/blk.h#elif (MAJOR_NR == CDU31A_CDROM_MAJOR)
MAJOR_NR183drivers/block/blk.h#elif (MAJOR_NR == MITSUMI_CDROM_MAJOR)
MAJOR_NR198drivers/block/blk.h#if (MAJOR_NR != SCSI_TAPE_MAJOR)
MAJOR_NR201drivers/block/blk.h#define CURRENT (blk_dev[MAJOR_NR].current_request)
MAJOR_NR233drivers/block/blk.h#if ! SCSI_MAJOR(MAJOR_NR)
MAJOR_NR292drivers/block/blk.hif (MAJOR(CURRENT->dev) != MAJOR_NR) \
MAJOR_NR1677drivers/block/cdu31a.cif (register_blkdev(MAJOR_NR,"cdu31a",&scd_fops))
MAJOR_NR1679drivers/block/cdu31a.cprintk("Unable to get major %d for CDU-31a\n", MAJOR_NR);
MAJOR_NR1710drivers/block/cdu31a.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR1711drivers/block/cdu31a.cread_ahead[MAJOR_NR] = 8;               /* 8 sector (4kB) read-ahead */
MAJOR_NR396drivers/block/floppy.cif (MAJOR(bh->b_dev) != MAJOR_NR) {
MAJOR_NR1014drivers/block/floppy.cif (MAJOR(CURRENT->dev) != MAJOR_NR)
MAJOR_NR1354drivers/block/floppy.cif (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) {
MAJOR_NR1355drivers/block/floppy.cprintk("Unable to get major %d for floppy\n",MAJOR_NR);
MAJOR_NR1358drivers/block/floppy.cblk_size[MAJOR_NR] = floppy_sizes;
MAJOR_NR1359drivers/block/floppy.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR602drivers/block/hd.cMAJOR_NR,  /* Major number */  
MAJOR_NR715drivers/block/hd.cblksize_size[MAJOR_NR] = hd_blocksizes;
MAJOR_NR733drivers/block/hd.cif (register_blkdev(MAJOR_NR,"hd",&hd_fops)) {
MAJOR_NR734drivers/block/hd.cprintk("Unable to get major %d for harddisk\n",MAJOR_NR);
MAJOR_NR737drivers/block/hd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR738drivers/block/hd.cread_ahead[MAJOR_NR] = 8;    /* 8 sector (4kB) read-ahead */
MAJOR_NR782drivers/block/hd.cmajor = MAJOR_NR << 8;
MAJOR_NR814drivers/block/mcd.cif (register_blkdev(MAJOR_NR, "mcd", &mcd_fops) != 0)
MAJOR_NR817drivers/block/mcd.cMAJOR_NR);
MAJOR_NR827drivers/block/mcd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR828drivers/block/mcd.cread_ahead[MAJOR_NR] = 4;
MAJOR_NR92drivers/block/ramdisk.cblksize_size[MAJOR_NR] = rd_blocksizes;
MAJOR_NR74drivers/block/xd.cstatic struct gendisk xd_gendisk = { MAJOR_NR,"xd",6,1 << 6,XD_MAXDRIVES,xd_geninit,xd,xd_sizes,0,(void *) xd_info,NULL };
MAJOR_NR87drivers/block/xd.cif (register_blkdev(MAJOR_NR,"xd",&xd_fops)) {
MAJOR_NR88drivers/block/xd.cprintk("xd_init: unable to get major number %d\n",MAJOR_NR);
MAJOR_NR91drivers/block/xd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR92drivers/block/xd.cread_ahead[MAJOR_NR] = 8;  /* 8 sector (4kB) read ahead */
MAJOR_NR154drivers/block/xd.cblksize_size[MAJOR_NR] = xd_blocksizes;
MAJOR_NR261drivers/block/xd.csync_dev(MAJOR_NR << 8 | start | partition);
MAJOR_NR262drivers/block/xd.cinvalidate_inodes(MAJOR_NR << 8 | start | partition);
MAJOR_NR263drivers/block/xd.cinvalidate_buffers(MAJOR_NR << 8 | start | partition);
MAJOR_NR449drivers/scsi/scsi.h#if defined(MAJOR_NR) && (MAJOR_NR != SCSI_TAPE_MAJOR)
MAJOR_NR508drivers/scsi/scsi.hif (MAJOR(CURRENT->dev) != MAJOR_NR) \
MAJOR_NR61drivers/scsi/scsi_debug.cif ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){  \
MAJOR_NR110drivers/scsi/sd.cMAJOR_NR,    /* Major number */
MAJOR_NR864drivers/scsi/sd.cif (register_blkdev(MAJOR_NR,"sd",&sd_fops)) {
MAJOR_NR865drivers/scsi/sd.cprintk("Unable to get major %d for SCSI disk\n",MAJOR_NR);
MAJOR_NR877drivers/scsi/sd.cblksize_size[MAJOR_NR] = sd_blocksizes;
MAJOR_NR890drivers/scsi/sd.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR896drivers/scsi/sd.cread_ahead[MAJOR_NR] = 32;
MAJOR_NR899drivers/scsi/sd.cread_ahead[MAJOR_NR] = 4;  /* 4 sector read-ahead */
MAJOR_NR951drivers/scsi/sd.cmajor = MAJOR_NR << 8;
MAJOR_NR706drivers/scsi/sr.cif (register_blkdev(MAJOR_NR,"sr",&sr_fops)) {
MAJOR_NR707drivers/scsi/sr.cprintk("Unable to get major %d for SCSI-CD\n",MAJOR_NR);
MAJOR_NR719drivers/scsi/sr.cblksize_size[MAJOR_NR] = sr_blocksizes;
MAJOR_NR731drivers/scsi/sr.cblk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
MAJOR_NR732drivers/scsi/sr.cblk_size[MAJOR_NR] = sr_sizes;  
MAJOR_NR738drivers/scsi/sr.cread_ahead[MAJOR_NR] = 32;  /* 32 sector read-ahead.  Always removable. */
MAJOR_NR740drivers/scsi/sr.cread_ahead[MAJOR_NR] = 4;  /* 4 sector read-ahead */
MAJOR_NR1293drivers/scsi/st.cif (register_chrdev(MAJOR_NR,"st",&st_fops)) {
MAJOR_NR1294drivers/scsi/st.cprintk("Unable to get major %d for SCSI tapes\n",MAJOR_NR);