tag | line | file | source code |
MAJOR_NR | 86 | kernel/blk_drv/blk.h | #ifdef MAJOR_NR |
MAJOR_NR | 93 | kernel/blk_drv/blk.h | #if (MAJOR_NR == 1) |
MAJOR_NR | 101 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 2) |
MAJOR_NR | 110 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 3) |
MAJOR_NR | 121 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 8) |
MAJOR_NR | 131 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 9) |
MAJOR_NR | 140 | kernel/blk_drv/blk.h | #elif (MAJOR_NR == 11) |
MAJOR_NR | 155 | kernel/blk_drv/blk.h | #if (MAJOR_NR != 9) |
MAJOR_NR | 158 | kernel/blk_drv/blk.h | #define CURRENT (blk_dev[MAJOR_NR].current_request) |
MAJOR_NR | 197 | kernel/blk_drv/blk.h | #if (MAJOR_NR != 8 && MAJOR_NR != 9 && MAJOR_NR != 11) |
MAJOR_NR | 254 | 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 | 1261 | kernel/blk_drv/floppy.c | blk_size[MAJOR_NR] = floppy_sizes; |
MAJOR_NR | 1262 | kernel/blk_drv/floppy.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 1263 | kernel/blk_drv/floppy.c | blkdev_fops[MAJOR_NR] = &floppy_fops; |
MAJOR_NR | 571 | kernel/blk_drv/hd.c | MAJOR_NR, /* Major number */ |
MAJOR_NR | 687 | kernel/blk_drv/hd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 688 | kernel/blk_drv/hd.c | blkdev_fops[MAJOR_NR] = &hd_fops; |
MAJOR_NR | 689 | kernel/blk_drv/hd.c | read_ahead[MAJOR_NR] = 8; /* 8 sector (4kB) read-ahead */ |
MAJOR_NR | 733 | kernel/blk_drv/hd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 70 | kernel/blk_drv/ramdisk.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 71 | kernel/blk_drv/ramdisk.c | blkdev_fops[MAJOR_NR] = &rd_fops; |
MAJOR_NR | 415 | kernel/blk_drv/scsi/scsi.h | #if defined(MAJOR_NR) && (MAJOR_NR != 9) |
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 | 764 | kernel/blk_drv/scsi/sd.c | blkdev_fops[MAJOR_NR] = &sd_fops; /* to get sd_open in table */ |
MAJOR_NR | 782 | kernel/blk_drv/scsi/sd.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 788 | kernel/blk_drv/scsi/sd.c | read_ahead[MAJOR_NR] = 16; /* 16 sector read-ahead */ |
MAJOR_NR | 790 | kernel/blk_drv/scsi/sd.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 842 | kernel/blk_drv/scsi/sd.c | major = MAJOR_NR << 8; |
MAJOR_NR | 604 | kernel/blk_drv/scsi/sr.c | blkdev_fops[MAJOR_NR] = &sr_fops; |
MAJOR_NR | 621 | kernel/blk_drv/scsi/sr.c | blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST; |
MAJOR_NR | 622 | kernel/blk_drv/scsi/sr.c | blk_size[MAJOR_NR] = sr_sizes; |
MAJOR_NR | 628 | kernel/blk_drv/scsi/sr.c | read_ahead[MAJOR_NR] = 16; /* 16 sector read-ahead */ |
MAJOR_NR | 630 | kernel/blk_drv/scsi/sr.c | read_ahead[MAJOR_NR] = 4; /* 4 sector read-ahead */ |
MAJOR_NR | 1227 | kernel/blk_drv/scsi/st.c | chrdev_fops[MAJOR_NR] = &st_fops; |