tag | line | file | source code |
i_rdev | 1466 | drivers/block/cdu31a.c | dev = MINOR(inode->i_rdev) >> 6; |
i_rdev | 1834 | drivers/block/cdu31a.c | check_disk_change(inode->i_rdev); |
i_rdev | 1861 | drivers/block/cdu31a.c | sync_dev(inode->i_rdev); |
i_rdev | 2408 | drivers/block/floppy.c | device = MINOR(inode->i_rdev); |
i_rdev | 2633 | drivers/block/floppy.c | maybe_check_change(inode->i_rdev); \ |
i_rdev | 2634 | drivers/block/floppy.c | if ( changed_floppies & ( 1 << DRIVE(inode->i_rdev) )) \ |
i_rdev | 2645 | drivers/block/floppy.c | int drive= DRIVE(inode->i_rdev); |
i_rdev | 2647 | drivers/block/floppy.c | fsync_dev(inode->i_rdev); |
i_rdev | 2680 | drivers/block/floppy.c | drive = DRIVE(inode->i_rdev); |
i_rdev | 2689 | drivers/block/floppy.c | if (TYPE(inode->i_rdev) >= NUMBER(floppy_type)) |
i_rdev | 2698 | drivers/block/floppy.c | if (UDRS->fd_ref && old_dev != inode->i_rdev) |
i_rdev | 2712 | drivers/block/floppy.c | UDRS->fd_device = inode->i_rdev; |
i_rdev | 2714 | drivers/block/floppy.c | if (old_dev && old_dev != inode->i_rdev) { |
i_rdev | 2737 | drivers/block/floppy.c | check_disk_change(inode->i_rdev); |
i_rdev | 796 | drivers/block/hd.c | if ((!inode) || (!inode->i_rdev)) |
i_rdev | 798 | drivers/block/hd.c | dev = DEVICE_NR(inode->i_rdev); |
i_rdev | 813 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].start_sect, |
i_rdev | 819 | drivers/block/hd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 826 | drivers/block/hd.c | put_fs_long(read_ahead[MAJOR(inode->i_rdev)],(long *) arg); |
i_rdev | 833 | drivers/block/hd.c | put_fs_long(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
i_rdev | 837 | drivers/block/hd.c | fsync_dev(inode->i_rdev); |
i_rdev | 838 | drivers/block/hd.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 842 | drivers/block/hd.c | return revalidate_hddisk(inode->i_rdev, 1); |
i_rdev | 847 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
i_rdev | 875 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
i_rdev | 897 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
i_rdev | 905 | drivers/block/hd.c | RO_IOCTLS(inode->i_rdev,arg); |
i_rdev | 914 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
i_rdev | 929 | drivers/block/hd.c | sync_dev(inode->i_rdev); |
i_rdev | 931 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
i_rdev | 1069 | drivers/block/mcd.c | sync_dev(inode->i_rdev); |
i_rdev | 1070 | drivers/block/mcd.c | invalidate_buffers(inode -> i_rdev); |
i_rdev | 2401 | drivers/block/sbpcd.c | MINOR(inode->i_rdev), cmd, arg)); |
i_rdev | 2403 | drivers/block/sbpcd.c | i=MINOR(inode->i_rdev); |
i_rdev | 2855 | drivers/block/sbpcd.c | if(!inode->i_rdev) return -EINVAL; |
i_rdev | 2857 | drivers/block/sbpcd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 3241 | drivers/block/sbpcd.c | i = MINOR(ip->i_rdev); |
i_rdev | 3301 | drivers/block/sbpcd.c | i = MINOR(ip->i_rdev); |
i_rdev | 3310 | drivers/block/sbpcd.c | sync_dev(ip->i_rdev); /* nonsense if read only device? */ |
i_rdev | 3311 | drivers/block/sbpcd.c | invalidate_buffers(ip->i_rdev); |
i_rdev | 193 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)); |
i_rdev | 239 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)),err; |
i_rdev | 250 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].start_sect,(long *) &geometry->start); |
i_rdev | 257 | drivers/block/xd.c | if(!inode->i_rdev) return -EINVAL; |
i_rdev | 259 | drivers/block/xd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 265 | drivers/block/xd.c | put_fs_long(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
i_rdev | 272 | drivers/block/xd.c | if(!inode->i_rdev) return -EINVAL; |
i_rdev | 273 | drivers/block/xd.c | fsync_dev(inode->i_rdev); |
i_rdev | 274 | drivers/block/xd.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 278 | drivers/block/xd.c | return (xd_reread_partitions(inode->i_rdev)); |
i_rdev | 279 | drivers/block/xd.c | RO_IOCTLS(inode->i_rdev,arg); |
i_rdev | 287 | drivers/block/xd.c | int dev = DEVICE_NR(MINOR(inode->i_rdev)); |
i_rdev | 126 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 196 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 268 | drivers/char/lp.c | if (LP_IRQ(MINOR(inode->i_rdev))) |
i_rdev | 282 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 314 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 330 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 311 | drivers/char/mem.c | switch (MINOR(inode->i_rdev)) { |
i_rdev | 40 | drivers/char/mouse.c | int minor = MINOR(inode->i_rdev); |
i_rdev | 758 | drivers/char/n_tty.c | if (file->f_inode->i_rdev != CONSOLE_DEV && |
i_rdev | 911 | drivers/char/n_tty.c | if (L_TOSTOP(tty) && file->f_inode->i_rdev != CONSOLE_DEV) { |
i_rdev | 1919 | drivers/char/tpqic02.c | dev_t dev = inode->i_rdev; |
i_rdev | 2093 | drivers/char/tpqic02.c | dev_t dev = inode->i_rdev; |
i_rdev | 2243 | drivers/char/tpqic02.c | dev_t dev = inode->i_rdev; |
i_rdev | 2436 | drivers/char/tpqic02.c | dev_t dev = inode->i_rdev; |
i_rdev | 2560 | drivers/char/tpqic02.c | int dev_maj = MAJOR(inode->i_rdev); |
i_rdev | 320 | drivers/char/tty_io.c | if (filp->f_inode && filp->f_inode->i_rdev == CONSOLE_DEV) |
i_rdev | 638 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_read")) |
i_rdev | 648 | drivers/char/tty_io.c | if ((inode->i_rdev != CONSOLE_DEV) && /* don't stop on /dev/console */ |
i_rdev | 674 | drivers/char/tty_io.c | is_console = (inode->i_rdev == CONSOLE_DEV); |
i_rdev | 680 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_write")) |
i_rdev | 890 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, filp->f_inode->i_rdev, "release_dev")) |
i_rdev | 1067 | drivers/char/tty_io.c | device = inode->i_rdev; |
i_rdev | 1140 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_select")) |
i_rdev | 1154 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_fasync")) |
i_rdev | 1232 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_ioctl")) |
i_rdev | 75 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
i_rdev | 86 | drivers/scsi/sd.c | check_disk_change(inode->i_rdev); |
i_rdev | 98 | drivers/scsi/sd.c | sync_dev(inode->i_rdev); |
i_rdev | 100 | drivers/scsi/sd.c | target = DEVICE_NR(MINOR(inode->i_rdev)); |
i_rdev | 769 | drivers/scsi/sd.c | inode.i_rdev = full_dev; /* This is all we really need here */ |
i_rdev | 19 | drivers/scsi/sd_ioctl.c | int dev = inode->i_rdev; |
i_rdev | 45 | drivers/scsi/sd_ioctl.c | put_fs_long(sd[MINOR(inode->i_rdev)].start_sect, |
i_rdev | 53 | drivers/scsi/sd_ioctl.c | put_fs_long(sd[MINOR(inode->i_rdev)].nr_sects, |
i_rdev | 58 | drivers/scsi/sd_ioctl.c | if(!inode->i_rdev) return -EINVAL; |
i_rdev | 60 | drivers/scsi/sd_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 64 | drivers/scsi/sd_ioctl.c | if(!inode->i_rdev) return -EINVAL; |
i_rdev | 65 | drivers/scsi/sd_ioctl.c | fsync_dev(inode->i_rdev); |
i_rdev | 66 | drivers/scsi/sd_ioctl.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 65 | drivers/scsi/sg.c | int dev = MINOR(inode->i_rdev); |
i_rdev | 82 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
i_rdev | 122 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
i_rdev | 163 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
i_rdev | 220 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
i_rdev | 60 | drivers/scsi/sr.c | sync_dev(inode->i_rdev); |
i_rdev | 61 | drivers/scsi/sr.c | if(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
i_rdev | 104 | drivers/scsi/sr.c | inode.i_rdev = full_dev; /* This is all we really need here */ |
i_rdev | 276 | drivers/scsi/sr.c | if(MINOR(inode->i_rdev) >= sr_template.nr_dev || |
i_rdev | 277 | drivers/scsi/sr.c | !scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO; /* No such device */ |
i_rdev | 282 | drivers/scsi/sr.c | check_disk_change(inode->i_rdev); |
i_rdev | 284 | drivers/scsi/sr.c | if(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++) |
i_rdev | 292 | drivers/scsi/sr.c | if(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size) |
i_rdev | 293 | drivers/scsi/sr.c | get_sectorsize(MINOR(inode->i_rdev)); |
i_rdev | 95 | drivers/scsi/sr_ioctl.c | int dev = inode->i_rdev; |
i_rdev | 390 | drivers/scsi/sr_ioctl.c | if(!inode->i_rdev) return -EINVAL; |
i_rdev | 392 | drivers/scsi/sr_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 347 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
i_rdev | 391 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
i_rdev | 593 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev); |
i_rdev | 671 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
i_rdev | 900 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
i_rdev | 1131 | drivers/scsi/st.c | dev = MINOR(inode->i_rdev) & 127; |
i_rdev | 1173 | drivers/scsi/st.c | int dev = MINOR(inode->i_rdev); |
i_rdev | 1518 | drivers/scsi/st.c | int dev = MINOR(inode->i_rdev); |
i_rdev | 58 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 69 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 86 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 112 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 124 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 135 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 35 | fs/block_dev.c | dev = inode->i_rdev; |
i_rdev | 36 | fs/block_dev.c | if ( is_read_only( inode->i_rdev )) |
i_rdev | 149 | fs/block_dev.c | dev = inode->i_rdev; |
i_rdev | 283 | fs/block_dev.c | return fsync_dev (inode->i_rdev); |
i_rdev | 183 | fs/devices.c | i = MAJOR(inode->i_rdev); |
i_rdev | 234 | fs/devices.c | i = MAJOR(inode->i_rdev); |
i_rdev | 370 | fs/ext/inode.c | inode->i_rdev = raw_inode->i_zone[0]; |
i_rdev | 407 | fs/ext/inode.c | raw_inode->i_zone[0] = inode->i_rdev; |
i_rdev | 383 | fs/ext/namei.c | inode->i_rdev = rdev; |
i_rdev | 549 | fs/ext2/inode.c | inode->i_rdev = raw_inode->i_block[0]; |
i_rdev | 631 | fs/ext2/inode.c | raw_inode->i_block[0] = inode->i_rdev; |
i_rdev | 444 | fs/ext2/namei.c | inode->i_rdev = rdev; |
i_rdev | 311 | fs/inode.c | MAJOR(inode->i_rdev), MINOR(inode->i_rdev), |
i_rdev | 303 | fs/isofs/rock.c | inode->i_rdev = ((high << 8) | (low & 0xff)) & 0xffff; |
i_rdev | 366 | fs/isofs/rock.c | inode->i_rdev = reloc->i_rdev; |
i_rdev | 429 | fs/minix/inode.c | inode->i_rdev = raw_inode->i_zone[0]; |
i_rdev | 476 | fs/minix/inode.c | raw_inode->i_zone[0] = inode->i_rdev; |
i_rdev | 287 | fs/minix/namei.c | inode->i_rdev = rdev; |
i_rdev | 581 | fs/nfs/dir.c | inode->i_rdev = fattr->rdev; |
i_rdev | 583 | fs/nfs/dir.c | inode->i_rdev = 0; |
i_rdev | 27 | fs/stat.c | tmp.st_rdev = inode->i_rdev; |
i_rdev | 47 | fs/stat.c | tmp.st_rdev = inode->i_rdev; |
i_rdev | 396 | fs/super.c | dev = inode->i_rdev; |
i_rdev | 409 | fs/super.c | dummy_inode.i_rdev = dev; |
i_rdev | 605 | fs/super.c | dev = inode->i_rdev; |
i_rdev | 685 | fs/sysv/inode.c | inode->i_rdev = raw_inode->i_a.i_rdev; |
i_rdev | 767 | fs/sysv/inode.c | raw_inode->i_a.i_rdev = inode->i_rdev; /* write 2 or 3 bytes ?? */ |
i_rdev | 290 | fs/sysv/namei.c | inode->i_rdev = rdev; |
i_rdev | 299 | fs/umsdos/dir.c | inode->i_rdev = entry->rdev; |
i_rdev | 396 | fs/xiafs/inode.c | inode->i_rdev = raw_inode->i_zone[0]; |
i_rdev | 457 | fs/xiafs/inode.c | raw_inode->i_zone[0] = inode->i_rdev; |
i_rdev | 316 | fs/xiafs/namei.c | inode->i_rdev = rdev; |
i_rdev | 184 | include/linux/fs.h | dev_t i_rdev; |
i_rdev | 235 | include/linux/sysv_fs.h | dev_t i_rdev; |
i_rdev | 759 | mm/swap.c | if (p->swap_device == inode->i_rdev) |
i_rdev | 824 | mm/swap.c | p->swap_device = swap_inode->i_rdev; |