tag | line | file | source code |
MAJOR | 272 | arch/alpha/kernel/osf_sys.c | if (MAJOR(dev) >= MAX_BLKDEV) { |
MAJOR | 276 | arch/alpha/kernel/osf_sys.c | fops = get_blkfops(MAJOR(dev)); |
MAJOR | 300 | arch/alpha/kernel/osf_sys.c | fops = get_blkfops(MAJOR(inode->i_rdev)); |
MAJOR | 88 | arch/sparc/kernel/sys_sunos.c | if(MAJOR(file->f_inode->i_rdev) == MEM_MAJOR && |
MAJOR | 2610 | drivers/block/floppy.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
MAJOR | 3523 | drivers/block/floppy.c | if (MAJOR(dev) != MAJOR_NR) { |
MAJOR | 808 | drivers/block/hd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
MAJOR | 815 | drivers/block/hd.c | put_user(read_ahead[MAJOR(inode->i_rdev)],(long *) arg); |
MAJOR | 1194 | drivers/block/ide-cd.c | rq->rq_dev = MKDEV (MAJOR(rq->rq_dev), minor); |
MAJOR | 1745 | drivers/block/ide-tape.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
MAJOR | 756 | drivers/block/ide.c | blk_dev[MAJOR(rq->rq_dev)].current_request = rq->next; |
MAJOR | 1312 | drivers/block/ide.c | if (MAJOR(rq->rq_dev) != hwif->major || unit >= MAX_DRIVES) { |
MAJOR | 1593 | drivers/block/ide.c | int major = MAJOR(i_rdev); |
MAJOR | 1792 | drivers/block/ide.c | major = MAJOR(i_rdev); |
MAJOR | 1870 | drivers/block/ide.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
MAJOR | 1874 | drivers/block/ide.c | return write_fs_long(arg, read_ahead[MAJOR(inode->i_rdev)]); |
MAJOR | 141 | drivers/block/linear.c | add_request (blk_dev+MAJOR (tmp_dev->dev), req); |
MAJOR | 157 | drivers/block/ll_rw_blk.c | unplug_device(MAJOR(dev)+blk_dev); |
MAJOR | 191 | drivers/block/ll_rw_blk.c | major = MAJOR(dev); |
MAJOR | 201 | drivers/block/ll_rw_blk.c | major = MAJOR(dev); |
MAJOR | 239 | drivers/block/ll_rw_blk.c | switch (MAJOR(req->rq_dev)) { |
MAJOR | 279 | drivers/block/ll_rw_blk.c | if (scsi_major(MAJOR(req->rq_dev)) && MAJOR(req->rq_dev)!=MD_MAJOR) |
MAJOR | 444 | drivers/block/ll_rw_blk.c | unsigned int major = MAJOR(dev); |
MAJOR | 491 | drivers/block/ll_rw_blk.c | if ((major = MAJOR(bh[0]->b_dev)) < MAX_BLKDEV) |
MAJOR | 560 | drivers/block/ll_rw_blk.c | unsigned int major = MAJOR(dev); |
MAJOR | 142 | drivers/block/loop.c | if (blk_size[MAJOR(lo->lo_device)]) |
MAJOR | 143 | drivers/block/loop.c | size = ((blk_size[MAJOR(lo->lo_device)] |
MAJOR | 168 | drivers/block/loop.c | if (blksize_size[MAJOR(lo->lo_device)]) { |
MAJOR | 169 | drivers/block/loop.c | blksize = blksize_size[MAJOR(lo->lo_device)][MINOR(lo->lo_device)]; |
MAJOR | 365 | drivers/block/loop.c | if (MAJOR(inode->i_rdev) != loop_major) { |
MAJOR | 404 | drivers/block/loop.c | if (MAJOR(inode->i_rdev) != loop_major) { |
MAJOR | 424 | drivers/block/loop.c | if (MAJOR(inode->i_rdev) != loop_major) { |
MAJOR | 81 | drivers/block/md.c | if (tmp->major==MAJOR(dev)) |
MAJOR | 126 | drivers/block/md.c | if (read_ahead[MAJOR(devices[i][j].dev)]<minra) |
MAJOR | 127 | drivers/block/md.c | minra=read_ahead[MAJOR(devices[i][j].dev)]; |
MAJOR | 158 | drivers/block/md.c | if (MAJOR(dev)==MD_MAJOR || md_dev[minor].nb_dev==MAX_REAL) |
MAJOR | 231 | drivers/block/md.c | if (current_ra>read_ahead[MAJOR(devices[minor][index].dev)]) |
MAJOR | 232 | drivers/block/md.c | current_ra=read_ahead[MAJOR(devices[minor][index].dev)]; |
MAJOR | 302 | drivers/block/md.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
MAJOR | 310 | drivers/block/md.c | put_user (read_ahead[MAJOR(inode->i_rdev)], (long *) arg); |
MAJOR | 411 | drivers/block/md.c | if ((MAJOR(req->rq_dev) != MD_MAJOR) || (minor >= MAX_REAL)) |
MAJOR | 459 | drivers/block/md.c | major=MAJOR(dev=pending[i].rq_dev); |
MAJOR | 535 | drivers/block/md.c | add_request (blk_dev + MAJOR(dev), req); |
MAJOR | 219 | drivers/block/raid0.c | add_request (blk_dev+MAJOR (tmp_dev->dev), req); |
MAJOR | 335 | drivers/block/rd.c | if ((nblocks > 0) && blk_size[MAJOR(device)]) { |
MAJOR | 336 | drivers/block/rd.c | max_blocks = blk_size[MAJOR(device)][MINOR(device)]; |
MAJOR | 370 | drivers/block/rd.c | if (MAJOR(device) != FLOPPY_MAJOR) return; |
MAJOR | 266 | drivers/block/xd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
MAJOR | 195 | drivers/cdrom/aztcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
MAJOR | 1547 | drivers/cdrom/cdu31a.c | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) |
MAJOR | 132 | drivers/cdrom/mcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
MAJOR | 967 | drivers/cdrom/optcd.c | (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR \ |
MAJOR | 4379 | drivers/cdrom/sbpcd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
MAJOR | 920 | drivers/cdrom/sjcd.c | ( CURRENT != NULL && MAJOR( CURRENT->rq_dev ) == MAJOR_NR && \ |
MAJOR | 2559 | drivers/char/tpqic02.c | int dev_maj = MAJOR(inode->i_rdev); |
MAJOR | 278 | drivers/char/tty_io.c | major = MAJOR(device); |
MAJOR | 125 | drivers/char/vt.c | if ( p->tty && MAJOR(p->tty->device) == TTY_MAJOR && |
MAJOR | 218 | drivers/isdn/isdn_tty.c | MAJOR(device), MINOR(device), routine); |
MAJOR | 223 | drivers/isdn/isdn_tty.c | MAJOR(device), MINOR(device), routine); |
MAJOR | 1723 | drivers/scsi/scsi.c | if (MAJOR(SCpnt->request.rq_dev) != SCSI_DISK_MAJOR && |
MAJOR | 1724 | drivers/scsi/scsi.c | MAJOR(SCpnt->request.rq_dev) != SCSI_CDROM_MAJOR) { |
MAJOR | 522 | drivers/scsi/scsi.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
MAJOR | 53 | drivers/scsi/scsicam.c | if (!(bh = bread(MKDEV(MAJOR(dev), MINOR(dev)&~0xf), 0, 1024))) |
MAJOR | 61 | drivers/scsi/sd_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
MAJOR | 464 | drivers/scsi/sr_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
MAJOR | 44 | fs/block_dev.c | if (blksize_size[MAJOR(dev)] && blksize_size[MAJOR(dev)][MINOR(dev)]) |
MAJOR | 45 | fs/block_dev.c | blocksize = blksize_size[MAJOR(dev)][MINOR(dev)]; |
MAJOR | 59 | fs/block_dev.c | if (blk_size[MAJOR(dev)]) |
MAJOR | 60 | fs/block_dev.c | size = ((loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits; |
MAJOR | 87 | fs/block_dev.c | !read_ahead[MAJOR(dev)]) { |
MAJOR | 93 | fs/block_dev.c | blocks = read_ahead[MAJOR(dev)] / (blocksize >> 9) / 2; |
MAJOR | 184 | fs/block_dev.c | if (blksize_size[MAJOR(dev)] && blksize_size[MAJOR(dev)][MINOR(dev)]) |
MAJOR | 185 | fs/block_dev.c | blocksize = blksize_size[MAJOR(dev)][MINOR(dev)]; |
MAJOR | 194 | fs/block_dev.c | if (blk_size[MAJOR(dev)]) |
MAJOR | 195 | fs/block_dev.c | size = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
MAJOR | 219 | fs/block_dev.c | if (blocks < read_ahead[MAJOR(dev)] / (blocksize >> 9)) |
MAJOR | 220 | fs/block_dev.c | blocks = read_ahead[MAJOR(dev)] / (blocksize >> 9); |
MAJOR | 507 | fs/buffer.c | if (!blksize_size[MAJOR(dev)]) |
MAJOR | 518 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
MAJOR | 519 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
MAJOR | 522 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
MAJOR | 525 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
MAJOR | 928 | fs/buffer.c | if (blocks > (read_ahead[MAJOR(dev)] >> index)) |
MAJOR | 929 | fs/buffer.c | blocks = read_ahead[MAJOR(dev)] >> index; |
MAJOR | 187 | fs/devices.c | i = MAJOR(dev); |
MAJOR | 214 | fs/devices.c | filp->f_op = get_blkfops(MAJOR(inode->i_rdev)); |
MAJOR | 225 | fs/devices.c | struct file_operations *fops = get_blkfops(MAJOR(inode->i_rdev)); |
MAJOR | 274 | fs/devices.c | filp->f_op = get_chrfops(MAJOR(inode->i_rdev)); |
MAJOR | 328 | fs/devices.c | sprintf(buffer, "%02x:%02x", MAJOR(dev), MINOR(dev)); |
MAJOR | 110 | fs/ext/file.c | if(blocks < read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9)) |
MAJOR | 111 | fs/ext/file.c | blocks = read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9); |
MAJOR | 202 | fs/fat/file.c | int ahead = read_ahead[MAJOR(inode->i_dev)]; |
MAJOR | 212 | fs/fat/file.c | PRINTK (("count %d ahead %d nblist %d\n",count,read_ahead[MAJOR(inode->i_dev)],pre.nblist)); |
MAJOR | 186 | fs/fat/inode.c | if (hardsect_size[MAJOR(sb->s_dev)] != NULL){ |
MAJOR | 187 | fs/fat/inode.c | blksize = hardsect_size[MAJOR(sb->s_dev)][MINOR(sb->s_dev)]; |
MAJOR | 171 | fs/isofs/inode.c | if (get_blkfops(MAJOR(dev))->ioctl!=NULL) |
MAJOR | 176 | fs/isofs/inode.c | i=get_blkfops(MAJOR(dev))->ioctl(&inode_fake, |
MAJOR | 478 | fs/super.c | if (MAJOR(dev) == UNNAMED_MAJOR && |
MAJOR | 580 | fs/super.c | if (MAJOR(dev) >= MAX_BLKDEV) { |
MAJOR | 586 | fs/super.c | if (MAJOR(dev) == UNNAMED_MAJOR) |
MAJOR | 778 | fs/super.c | if (MAJOR(dev) >= MAX_BLKDEV) { |
MAJOR | 782 | fs/super.c | fops = get_blkfops(MAJOR(dev)); |
MAJOR | 832 | fs/super.c | if (MAJOR(ROOT_DEV) == UNNAMED_MAJOR) { |
MAJOR | 861 | fs/super.c | if (MAJOR(ROOT_DEV) == FLOPPY_MAJOR) { |
MAJOR | 112 | fs/sysv/file.c | blocks += read_ahead[MAJOR(inode->i_dev)] >> (sb->sv_block_size_bits - 9); |
MAJOR | 103 | fs/xiafs/file.c | if(zones < read_ahead[MAJOR(inode->i_dev)] >> (1+XIAFS_ZSHIFT(inode->i_sb))) |
MAJOR | 104 | fs/xiafs/file.c | zones = read_ahead[MAJOR(inode->i_dev)] >> (1+XIAFS_ZSHIFT(inode->i_sb)); |
MAJOR | 353 | include/linux/blk.h | if (MAJOR(CURRENT->rq_dev) != MAJOR_NR) \ |
MAJOR | 408 | include/linux/blk.h | add_blkdev_randomness(MAJOR(req->rq_dev)); |
MAJOR | 411 | include/linux/blk.h | blk_dev[MAJOR(req->rq_dev)].current_request = req->next; |
MAJOR | 84 | include/linux/kdev_t.h | return (MAJOR(dev)<<8) | MINOR(dev); |