tag | line | file | source code |
MAJOR_NR | 89 | kernel/blk_drv/blk.h | #ifdef MAJOR_NR |
MAJOR_NR | 96 | kernel/blk_drv/blk.h | #if (MAJOR_NR == 1) |
MAJOR_NR | 104 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 2) |
MAJOR_NR | 113 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 3) |
MAJOR_NR | 124 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 8) |
MAJOR_NR | 134 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 9) |
MAJOR_NR | 143 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 11) |
MAJOR_NR | 152 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 13) |
MAJOR_NR | 166 | kernel/blk_drv/blk.h | #if (MAJOR_NR != 9) |
MAJOR_NR | 169 | kernel/blk_drv/blk.h | #define CURRENT (blk_dev[MAJOR_NR].current_request) |
MAJOR_NR | 208 | kernel/blk_drv/blk.h | #if (MAJOR_NR != 8 && MAJOR_NR != 9 && MAJOR_NR != 11) |
MAJOR_NR | 265 | kernel/blk_drv/blk.h | if (MAJOR(CURRENT->dev) != MAJOR_NR) \ |
MAJOR_NR | 942 | kernel/blk_drv/floppy.c | if (MAJOR(CURRENT->dev) != MAJOR_NR) |
MAJOR_NR | 1271 | kernel/blk_drv/floppy.c | if (register_blkdev(MAJOR_NR,"fd",&floppy_fops)) { |
MAJOR_NR | 1272 | kernel/blk_drv/floppy.c | printk("Unable to get major %d for floppy\n",MAJOR_NR); |
MAJOR_NR | 1275 | kernel/blk_drv/floppy.c | blk_size[MAJOR_NR] = floppy_sizes; |
MAJOR_NR | 1276 | kernel/blk_drv/floppy.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 579 | kernel/blk_drv/hd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 708 | kernel/blk_drv/hd.c | if (register_blkdev(MAJOR_NR,"hd",&hd_fops)) { |
MAJOR_NR | 709 | kernel/blk_drv/hd.c | printk("Unable to get major %d for harddisk\n",MAJOR_NR); |
MAJOR_NR | 712 | kernel/blk_drv/hd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 713 | kernel/blk_drv/hd.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read-ahead */ |
MAJOR_NR | 757 | kernel/blk_drv/hd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 70 | kernel/blk_drv/ramdisk.c | if (register_blkdev(MAJOR_NR,"rd",&rd_fops)) { |
MAJOR_NR | 71 | kernel/blk_drv/ramdisk.c | printk("Unable to get major %d for ramdisk\n",MAJOR_NR); |
MAJOR_NR | 74 | kernel/blk_drv/ramdisk.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 446 | kernel/blk_drv/scsi/scsi.h | #if defined(MAJOR_NR) && (MAJOR_NR != 9) |
MAJOR_NR | 505 | kernel/blk_drv/scsi/scsi.h | if (MAJOR(CURRENT->dev) != MAJOR_NR) \ |
MAJOR_NR | 61 | kernel/blk_drv/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){ \ |
MAJOR_NR | 119 | kernel/blk_drv/scsi/sd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 806 | kernel/blk_drv/scsi/sd.c | if (register_blkdev(MAJOR_NR,"sd",&sd_fops)) { |
MAJOR_NR | 807 | kernel/blk_drv/scsi/sd.c | printk("Unable to get major %d for SCSI disk\n",MAJOR_NR); |
MAJOR_NR | 827 | kernel/blk_drv/scsi/sd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 833 | kernel/blk_drv/scsi/sd.c | read_ahead[MAJOR_NR] = 16; /* 16 sector read-ahead */ |
MAJOR_NR | 835 | kernel/blk_drv/scsi/sd.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 887 | kernel/blk_drv/scsi/sd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 636 | kernel/blk_drv/scsi/sr.c | if (register_blkdev(MAJOR_NR,"sr",&sr_fops)) { |
MAJOR_NR | 637 | kernel/blk_drv/scsi/sr.c | printk("Unable to get major %d for SCSI-CD\n",MAJOR_NR); |
MAJOR_NR | 704 | kernel/blk_drv/scsi/sr.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 705 | kernel/blk_drv/scsi/sr.c | blk_size[MAJOR_NR] = sr_sizes; |
MAJOR_NR | 711 | kernel/blk_drv/scsi/sr.c | read_ahead[MAJOR_NR] = 16; /* 16 sector read-ahead */ |
MAJOR_NR | 713 | kernel/blk_drv/scsi/sr.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 1233 | kernel/blk_drv/scsi/st.c | if (register_chrdev(MAJOR_NR,"st",&st_fops)) { |
MAJOR_NR | 1234 | kernel/blk_drv/scsi/st.c | printk("Unable to get major %d for SCSI tapes\n",MAJOR_NR); |
MAJOR_NR | 70 | kernel/blk_drv/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 | 84 | kernel/blk_drv/xd.c | if (register_blkdev(MAJOR_NR,"xd",&xd_fops)) { |
MAJOR_NR | 85 | kernel/blk_drv/xd.c | printk("xd_init: unable to get major number %d\n",MAJOR_NR); |
MAJOR_NR | 88 | kernel/blk_drv/xd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 89 | kernel/blk_drv/xd.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read ahead */ |
MAJOR_NR | 248 | kernel/blk_drv/xd.c | sync_dev(MAJOR_NR << 8 | start | partition); |
MAJOR_NR | 249 | kernel/blk_drv/xd.c | invalidate_inodes(MAJOR_NR << 8 | start | partition); |
MAJOR_NR | 250 | kernel/blk_drv/xd.c | invalidate_buffers(MAJOR_NR << 8 | start | partition); |