tag | line | file | source code |
MAJOR_NR | 66 | drivers/block/blk.h | #define SECTOR_MASK (blksize_size[MAJOR_NR] && \ |
MAJOR_NR | 67 | drivers/block/blk.h | blksize_size[MAJOR_NR][MINOR(CURRENT->dev)] ? \ |
MAJOR_NR | 68 | drivers/block/blk.h | ((blksize_size[MAJOR_NR][MINOR(CURRENT->dev)] >> 9) - 1) : \ |
MAJOR_NR | 100 | drivers/block/blk.h | #ifdef MAJOR_NR |
MAJOR_NR | 107 | drivers/block/blk.h | #if (MAJOR_NR == MEM_MAJOR) |
MAJOR_NR | 116 | drivers/block/blk.h | #elif (MAJOR_NR == FLOPPY_MAJOR) |
MAJOR_NR | 128 | drivers/block/blk.h | #elif (MAJOR_NR == HD_MAJOR) |
MAJOR_NR | 140 | drivers/block/blk.h | #elif (MAJOR_NR == SCSI_DISK_MAJOR) |
MAJOR_NR | 150 | drivers/block/blk.h | #elif (MAJOR_NR == SCSI_TAPE_MAJOR) |
MAJOR_NR | 158 | drivers/block/blk.h | #elif (MAJOR_NR == SCSI_CDROM_MAJOR) |
MAJOR_NR | 167 | drivers/block/blk.h | #elif (MAJOR_NR == XT_DISK_MAJOR) |
MAJOR_NR | 175 | drivers/block/blk.h | #elif (MAJOR_NR == CDU31A_CDROM_MAJOR) |
MAJOR_NR | 183 | drivers/block/blk.h | #elif (MAJOR_NR == MITSUMI_CDROM_MAJOR) |
MAJOR_NR | 198 | drivers/block/blk.h | #if (MAJOR_NR != SCSI_TAPE_MAJOR) |
MAJOR_NR | 201 | drivers/block/blk.h | #define CURRENT (blk_dev[MAJOR_NR].current_request) |
MAJOR_NR | 233 | drivers/block/blk.h | #if ! SCSI_MAJOR(MAJOR_NR) |
MAJOR_NR | 292 | drivers/block/blk.h | if (MAJOR(CURRENT->dev) != MAJOR_NR) \ |
MAJOR_NR | 1677 | drivers/block/cdu31a.c | if (register_blkdev(MAJOR_NR,"cdu31a",&scd_fops)) |
MAJOR_NR | 1679 | drivers/block/cdu31a.c | printk("Unable to get major %d for CDU-31a\n", MAJOR_NR); |
MAJOR_NR | 1710 | drivers/block/cdu31a.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1711 | drivers/block/cdu31a.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read-ahead */ |
MAJOR_NR | 396 | drivers/block/floppy.c | if (MAJOR(bh->b_dev) != MAJOR_NR) { |
MAJOR_NR | 1014 | drivers/block/floppy.c | if (MAJOR(CURRENT->dev) != MAJOR_NR) |
MAJOR_NR | 1354 | drivers/block/floppy.c | if (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) { |
MAJOR_NR | 1355 | drivers/block/floppy.c | printk("Unable to get major %d for floppy\n",MAJOR_NR); |
MAJOR_NR | 1358 | drivers/block/floppy.c | blk_size[MAJOR_NR] = floppy_sizes; |
MAJOR_NR | 1359 | drivers/block/floppy.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 602 | drivers/block/hd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 715 | drivers/block/hd.c | blksize_size[MAJOR_NR] = hd_blocksizes; |
MAJOR_NR | 733 | drivers/block/hd.c | if (register_blkdev(MAJOR_NR,"hd",&hd_fops)) { |
MAJOR_NR | 734 | drivers/block/hd.c | printk("Unable to get major %d for harddisk\n",MAJOR_NR); |
MAJOR_NR | 737 | drivers/block/hd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 738 | drivers/block/hd.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read-ahead */ |
MAJOR_NR | 782 | drivers/block/hd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 814 | drivers/block/mcd.c | if (register_blkdev(MAJOR_NR, "mcd", &mcd_fops) != 0) |
MAJOR_NR | 817 | drivers/block/mcd.c | MAJOR_NR); |
MAJOR_NR | 827 | drivers/block/mcd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 828 | drivers/block/mcd.c | read_ahead[MAJOR_NR] = 4; |
MAJOR_NR | 92 | drivers/block/ramdisk.c | blksize_size[MAJOR_NR] = rd_blocksizes; |
MAJOR_NR | 74 | drivers/block/xd.c | static struct gendisk xd_gendisk = { MAJOR_NR,"xd",6,1 << 6,XD_MAXDRIVES,xd_geninit,xd,xd_sizes,0,(void *) xd_info,NULL }; |
MAJOR_NR | 87 | drivers/block/xd.c | if (register_blkdev(MAJOR_NR,"xd",&xd_fops)) { |
MAJOR_NR | 88 | drivers/block/xd.c | printk("xd_init: unable to get major number %d\n",MAJOR_NR); |
MAJOR_NR | 91 | drivers/block/xd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 92 | drivers/block/xd.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read ahead */ |
MAJOR_NR | 154 | drivers/block/xd.c | blksize_size[MAJOR_NR] = xd_blocksizes; |
MAJOR_NR | 261 | drivers/block/xd.c | sync_dev(MAJOR_NR << 8 | start | partition); |
MAJOR_NR | 262 | drivers/block/xd.c | invalidate_inodes(MAJOR_NR << 8 | start | partition); |
MAJOR_NR | 263 | drivers/block/xd.c | invalidate_buffers(MAJOR_NR << 8 | start | partition); |
MAJOR_NR | 449 | drivers/scsi/scsi.h | #if defined(MAJOR_NR) && (MAJOR_NR != SCSI_TAPE_MAJOR) |
MAJOR_NR | 508 | drivers/scsi/scsi.h | if (MAJOR(CURRENT->dev) != MAJOR_NR) \ |
MAJOR_NR | 61 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){ \ |
MAJOR_NR | 110 | drivers/scsi/sd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 864 | drivers/scsi/sd.c | if (register_blkdev(MAJOR_NR,"sd",&sd_fops)) { |
MAJOR_NR | 865 | drivers/scsi/sd.c | printk("Unable to get major %d for SCSI disk\n",MAJOR_NR); |
MAJOR_NR | 877 | drivers/scsi/sd.c | blksize_size[MAJOR_NR] = sd_blocksizes; |
MAJOR_NR | 890 | drivers/scsi/sd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 896 | drivers/scsi/sd.c | read_ahead[MAJOR_NR] = 32; |
MAJOR_NR | 899 | drivers/scsi/sd.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 951 | drivers/scsi/sd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 706 | drivers/scsi/sr.c | if (register_blkdev(MAJOR_NR,"sr",&sr_fops)) { |
MAJOR_NR | 707 | drivers/scsi/sr.c | printk("Unable to get major %d for SCSI-CD\n",MAJOR_NR); |
MAJOR_NR | 719 | drivers/scsi/sr.c | blksize_size[MAJOR_NR] = sr_blocksizes; |
MAJOR_NR | 731 | drivers/scsi/sr.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 732 | drivers/scsi/sr.c | blk_size[MAJOR_NR] = sr_sizes; |
MAJOR_NR | 738 | drivers/scsi/sr.c | read_ahead[MAJOR_NR] = 32; /* 32 sector read-ahead. Always removable. */ |
MAJOR_NR | 740 | drivers/scsi/sr.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 1293 | drivers/scsi/st.c | if (register_chrdev(MAJOR_NR,"st",&st_fops)) { |
MAJOR_NR | 1294 | drivers/scsi/st.c | printk("Unable to get major %d for SCSI tapes\n",MAJOR_NR); |