tag | line | file | source code |
i_rdev | 271 | arch/alpha/kernel/osf_sys.c | dev = inode->i_rdev; |
i_rdev | 300 | arch/alpha/kernel/osf_sys.c | fops = get_blkfops(MAJOR(inode->i_rdev)); |
i_rdev | 323 | arch/alpha/kernel/osf_sys.c | retval = do_mount(inode->i_rdev, tmp.devname, dirname, "ext2", flags, NULL); |
i_rdev | 343 | arch/alpha/kernel/osf_sys.c | retval = do_mount(inode->i_rdev, tmp.devname, dirname, "iso9660", flags, NULL); |
i_rdev | 85 | arch/sparc/kernel/sys_sunos.c | if(MAJOR(file->f_inode->i_rdev) == MEM_MAJOR && |
i_rdev | 86 | arch/sparc/kernel/sys_sunos.c | MINOR(file->f_inode->i_rdev) == 5) { |
i_rdev | 3226 | drivers/block/floppy.c | device = inode->i_rdev; |
i_rdev | 3434 | drivers/block/floppy.c | int drive = DRIVE(inode->i_rdev); |
i_rdev | 3436 | drivers/block/floppy.c | check_disk_change(inode->i_rdev); |
i_rdev | 3447 | drivers/block/floppy.c | int drive = DRIVE(inode->i_rdev); |
i_rdev | 3451 | drivers/block/floppy.c | check_disk_change(inode->i_rdev); |
i_rdev | 3466 | drivers/block/floppy.c | drive = DRIVE(inode->i_rdev); |
i_rdev | 3501 | drivers/block/floppy.c | drive = DRIVE(inode->i_rdev); |
i_rdev | 3507 | drivers/block/floppy.c | if (TYPE(inode->i_rdev) >= NUMBER(floppy_type)) |
i_rdev | 3510 | drivers/block/floppy.c | if (UDRS->fd_ref && old_dev != MINOR(inode->i_rdev)) |
i_rdev | 3557 | drivers/block/floppy.c | UDRS->fd_device = MINOR(inode->i_rdev); |
i_rdev | 3558 | drivers/block/floppy.c | if (old_dev != -1 && old_dev != MINOR(inode->i_rdev)) { |
i_rdev | 3577 | drivers/block/floppy.c | check_disk_change(inode->i_rdev); |
i_rdev | 785 | drivers/block/hd.c | if ((!inode) || !(inode->i_rdev)) |
i_rdev | 787 | drivers/block/hd.c | dev = DEVICE_NR(inode->i_rdev); |
i_rdev | 802 | drivers/block/hd.c | put_user(hd[MINOR(inode->i_rdev)].start_sect, |
i_rdev | 808 | drivers/block/hd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 815 | drivers/block/hd.c | put_user(read_ahead[MAJOR(inode->i_rdev)],(long *) arg); |
i_rdev | 822 | drivers/block/hd.c | put_user(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
i_rdev | 826 | drivers/block/hd.c | fsync_dev(inode->i_rdev); |
i_rdev | 827 | drivers/block/hd.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 831 | drivers/block/hd.c | return revalidate_hddisk(inode->i_rdev, 1); |
i_rdev | 835 | drivers/block/hd.c | if ((arg > 1) || (MINOR(inode->i_rdev) & 0x3F)) |
i_rdev | 858 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
i_rdev | 876 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
i_rdev | 884 | drivers/block/hd.c | RO_IOCTLS(inode->i_rdev,arg); |
i_rdev | 893 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
i_rdev | 910 | drivers/block/hd.c | sync_dev(inode->i_rdev); |
i_rdev | 912 | drivers/block/hd.c | target = DEVICE_NR(inode->i_rdev); |
i_rdev | 2508 | drivers/block/ide-cd.c | invalidate_buffers (inode->i_rdev); |
i_rdev | 4093 | drivers/block/ide-tape.c | unsigned int minor=MINOR (inode->i_rdev),allocation_length; |
i_rdev | 4154 | drivers/block/ide-tape.c | unsigned int minor=MINOR (inode->i_rdev); |
i_rdev | 1646 | drivers/block/ide.c | static ide_drive_t *get_info_ptr (kdev_t i_rdev) |
i_rdev | 1648 | drivers/block/ide.c | int major = MAJOR(i_rdev); |
i_rdev | 1654 | drivers/block/ide.c | unsigned unit = DEVICE_NR(i_rdev); |
i_rdev | 1770 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) == NULL) |
i_rdev | 1789 | drivers/block/ide.c | check_disk_change(inode->i_rdev); |
i_rdev | 1810 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) != NULL) { |
i_rdev | 1811 | drivers/block/ide.c | sync_dev(inode->i_rdev); |
i_rdev | 1828 | drivers/block/ide.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 1844 | drivers/block/ide.c | static int revalidate_disk(kdev_t i_rdev) |
i_rdev | 1850 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL) |
i_rdev | 1853 | drivers/block/ide.c | major = MAJOR(i_rdev); |
i_rdev | 1904 | drivers/block/ide.c | if (!inode || !(inode->i_rdev)) |
i_rdev | 1906 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) == NULL) |
i_rdev | 1919 | drivers/block/ide.c | put_user((unsigned)drive->part[MINOR(inode->i_rdev)&PARTN_MASK].start_sect, |
i_rdev | 1925 | drivers/block/ide.c | fsync_dev(inode->i_rdev); |
i_rdev | 1926 | drivers/block/ide.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 1932 | drivers/block/ide.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 1936 | drivers/block/ide.c | return write_fs_long(arg, read_ahead[MAJOR(inode->i_rdev)]); |
i_rdev | 1939 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
i_rdev | 1942 | drivers/block/ide.c | return revalidate_disk(inode->i_rdev); |
i_rdev | 1960 | drivers/block/ide.c | if (!arg || (MINOR(inode->i_rdev) & PARTN_MASK)) |
i_rdev | 1987 | drivers/block/ide.c | if ((MINOR(inode->i_rdev) & PARTN_MASK)) |
i_rdev | 2027 | drivers/block/ide.c | if (MINOR(inode->i_rdev) & PARTN_MASK) |
i_rdev | 2074 | drivers/block/ide.c | if (MINOR(inode->i_rdev) & PARTN_MASK) |
i_rdev | 2085 | drivers/block/ide.c | RO_IOCTLS(inode->i_rdev, arg); |
i_rdev | 2100 | drivers/block/ide.c | static int ide_check_media_change (kdev_t i_rdev) |
i_rdev | 2104 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL) |
i_rdev | 2866 | drivers/block/ide.c | int ide_xlate_1024 (kdev_t i_rdev, int xparm, const char *msg) |
i_rdev | 2873 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL || drive->forced_geom) |
i_rdev | 259 | drivers/block/loop.c | lo->lo_device = inode->i_rdev; |
i_rdev | 381 | drivers/block/loop.c | if (MAJOR(inode->i_rdev) != MAJOR_NR) { |
i_rdev | 385 | drivers/block/loop.c | dev = MINOR(inode->i_rdev); |
i_rdev | 391 | drivers/block/loop.c | return loop_set_fd(lo, inode->i_rdev, arg); |
i_rdev | 393 | drivers/block/loop.c | return loop_clr_fd(lo, inode->i_rdev); |
i_rdev | 420 | drivers/block/loop.c | if (MAJOR(inode->i_rdev) != MAJOR_NR) { |
i_rdev | 424 | drivers/block/loop.c | dev = MINOR(inode->i_rdev); |
i_rdev | 440 | drivers/block/loop.c | if (MAJOR(inode->i_rdev) != MAJOR_NR) { |
i_rdev | 444 | drivers/block/loop.c | dev = MINOR(inode->i_rdev); |
i_rdev | 447 | drivers/block/loop.c | fsync_dev(inode->i_rdev); |
i_rdev | 144 | drivers/block/md.c | if (((minor=MINOR(inode->i_rdev)) & 0x80) && |
i_rdev | 262 | drivers/block/md.c | fsync_dev (inode->i_rdev); |
i_rdev | 263 | drivers/block/md.c | invalidate_buffers (inode->i_rdev); |
i_rdev | 300 | drivers/block/md.c | put_user (md_hd_struct[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
i_rdev | 304 | drivers/block/md.c | fsync_dev (inode->i_rdev); |
i_rdev | 305 | drivers/block/md.c | invalidate_buffers (inode->i_rdev); |
i_rdev | 311 | drivers/block/md.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 319 | drivers/block/md.c | put_user (read_ahead[MAJOR(inode->i_rdev)], (long *) arg); |
i_rdev | 330 | drivers/block/md.c | put_user (md_hd_struct[MINOR(inode->i_rdev)].start_sect, |
i_rdev | 334 | drivers/block/md.c | RO_IOCTLS(inode->i_rdev,arg); |
i_rdev | 347 | drivers/block/md.c | int minor=MINOR(inode->i_rdev); |
i_rdev | 356 | drivers/block/md.c | int minor=MINOR(inode->i_rdev); |
i_rdev | 358 | drivers/block/md.c | sync_dev (inode->i_rdev); |
i_rdev | 150 | drivers/block/rd.c | if (!inode || !inode->i_rdev) |
i_rdev | 156 | drivers/block/rd.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 164 | drivers/block/rd.c | put_user(rd_length[MINOR(inode->i_rdev)] / 512, |
i_rdev | 222 | drivers/block/rd.c | if (DEVICE_NR(inode->i_rdev) == INITRD_MINOR) { |
i_rdev | 230 | drivers/block/rd.c | if (DEVICE_NR(inode->i_rdev) >= NUM_RAMDISKS) |
i_rdev | 432 | drivers/block/rd.c | inode.i_rdev = device; |
i_rdev | 438 | drivers/block/rd.c | out_inode.i_rdev = ram_device; |
i_rdev | 195 | drivers/block/xd.c | int dev = DEVICE_NR(inode->i_rdev); |
i_rdev | 243 | drivers/block/xd.c | int dev = DEVICE_NR(inode->i_rdev),err; |
i_rdev | 254 | drivers/block/xd.c | put_user(xd[MINOR(inode->i_rdev)].start_sect,&geometry->start); |
i_rdev | 262 | drivers/block/xd.c | if(!(inode->i_rdev)) |
i_rdev | 266 | drivers/block/xd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 272 | drivers/block/xd.c | put_user(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
i_rdev | 279 | drivers/block/xd.c | if(!(inode->i_rdev)) |
i_rdev | 281 | drivers/block/xd.c | fsync_dev(inode->i_rdev); |
i_rdev | 282 | drivers/block/xd.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 286 | drivers/block/xd.c | return (xd_reread_partitions(inode->i_rdev)); |
i_rdev | 287 | drivers/block/xd.c | RO_IOCTLS(inode->i_rdev,arg); |
i_rdev | 295 | drivers/block/xd.c | int dev = DEVICE_NR(inode->i_rdev); |
i_rdev | 298 | drivers/block/xd.c | sync_dev(inode->i_rdev); |
i_rdev | 1503 | drivers/cdrom/aztcd.c | printk("inode: %p, inode->i_rdev: %x file: %p\n",inode,inode->i_rdev,file); |
i_rdev | 1508 | drivers/cdrom/aztcd.c | sync_dev(inode->i_rdev); /*??? isn't it a read only dev?*/ |
i_rdev | 1509 | drivers/cdrom/aztcd.c | invalidate_buffers(inode -> i_rdev); |
i_rdev | 1540 | drivers/cdrom/cdu31a.c | in.i_rdev = CURRENT->rq_dev; |
i_rdev | 2830 | drivers/cdrom/cdu31a.c | check_disk_change(inode->i_rdev); |
i_rdev | 2863 | drivers/cdrom/cdu31a.c | sync_dev(inode->i_rdev); |
i_rdev | 579 | drivers/cdrom/cm206.c | sync_dev(ip -> i_rdev); /* These two lines are stolen */ |
i_rdev | 580 | drivers/cdrom/cm206.c | invalidate_buffers(ip -> i_rdev); |
i_rdev | 403 | drivers/cdrom/gscd.c | sync_dev(inode->i_rdev); |
i_rdev | 404 | drivers/cdrom/gscd.c | invalidate_buffers(inode -> i_rdev); |
i_rdev | 1138 | drivers/cdrom/mcd.c | sync_dev(inode->i_rdev); |
i_rdev | 1139 | drivers/cdrom/mcd.c | invalidate_buffers(inode -> i_rdev); |
i_rdev | 281 | drivers/cdrom/mcdx.c | struct s_drive_stuff *stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
i_rdev | 629 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
i_rdev | 796 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
i_rdev | 799 | drivers/cdrom/mcdx.c | sync_dev(ip->i_rdev); /* needed for r/o device? */ |
i_rdev | 802 | drivers/cdrom/mcdx.c | invalidate_buffers(ip->i_rdev); |
i_rdev | 1921 | drivers/cdrom/optcd.c | ip, ip -> i_rdev, fp)); |
i_rdev | 1926 | drivers/cdrom/optcd.c | sync_dev(ip -> i_rdev); |
i_rdev | 1927 | drivers/cdrom/optcd.c | invalidate_buffers(ip -> i_rdev); |
i_rdev | 3837 | drivers/cdrom/sbpcd.c | MINOR(inode->i_rdev), cmd, arg); |
i_rdev | 3839 | drivers/cdrom/sbpcd.c | i=MINOR(inode->i_rdev); |
i_rdev | 3842 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "ioctl: bad device: %04X\n", inode->i_rdev); |
i_rdev | 4377 | drivers/cdrom/sbpcd.c | if(!(inode->i_rdev)) return -EINVAL; |
i_rdev | 4379 | drivers/cdrom/sbpcd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 4885 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
i_rdev | 4888 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "open: bad device: %04X\n", ip->i_rdev); |
i_rdev | 4970 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
i_rdev | 4973 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "release: bad device: %04X\n", ip->i_rdev); |
i_rdev | 4979 | drivers/cdrom/sbpcd.c | sync_dev(ip->i_rdev); /* nonsense if read only device? */ |
i_rdev | 4980 | drivers/cdrom/sbpcd.c | invalidate_buffers(ip->i_rdev); |
i_rdev | 1395 | drivers/cdrom/sjcd.c | sync_dev( inode->i_rdev ); |
i_rdev | 1396 | drivers/cdrom/sjcd.c | invalidate_buffers( inode->i_rdev ); |
i_rdev | 1086 | drivers/cdrom/sonycd535.c | dev = MINOR(inode->i_rdev) >> 6; |
i_rdev | 1418 | drivers/cdrom/sonycd535.c | check_disk_change(inode->i_rdev); |
i_rdev | 1449 | drivers/cdrom/sonycd535.c | sync_dev(inode->i_rdev); |
i_rdev | 221 | drivers/char/ftape/kernel-interface.c | TRACEi(5, "called for minor", MINOR(ino->i_rdev)); |
i_rdev | 228 | drivers/char/ftape/kernel-interface.c | if ((MINOR(ino->i_rdev) & ~FTAPE_NO_REWIND) > 3) { |
i_rdev | 234 | drivers/char/ftape/kernel-interface.c | if (ftape_unit == -1 || FTAPE_UNIT != (MINOR(ino->i_rdev) & 3)) { |
i_rdev | 239 | drivers/char/ftape/kernel-interface.c | ftape_unit = MINOR(ino->i_rdev); |
i_rdev | 269 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit) { |
i_rdev | 296 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
i_rdev | 320 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
i_rdev | 343 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
i_rdev | 4188 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 4238 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 4449 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 300 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 320 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 378 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 395 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 332 | drivers/char/mem.c | switch (MINOR(inode->i_rdev)) { |
i_rdev | 86 | drivers/char/misc.c | int minor = MINOR(inode->i_rdev); |
i_rdev | 773 | drivers/char/n_tty.c | if (file->f_inode->i_rdev != CONSOLE_DEV && |
i_rdev | 932 | drivers/char/n_tty.c | if (L_TOSTOP(tty) && file->f_inode->i_rdev != CONSOLE_DEV) { |
i_rdev | 3100 | drivers/char/stallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 1922 | drivers/char/tpqic02.c | kdev_t dev = inode->i_rdev; |
i_rdev | 2097 | drivers/char/tpqic02.c | kdev_t dev = inode->i_rdev; |
i_rdev | 2248 | drivers/char/tpqic02.c | kdev_t dev = inode->i_rdev; |
i_rdev | 2434 | drivers/char/tpqic02.c | kdev_t dev = inode->i_rdev; |
i_rdev | 2559 | drivers/char/tpqic02.c | int dev_maj = MAJOR(inode->i_rdev); |
i_rdev | 384 | drivers/char/tty_io.c | && filp->f_inode->i_rdev == CONSOLE_DEV) |
i_rdev | 724 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_read")) |
i_rdev | 734 | drivers/char/tty_io.c | if ((inode->i_rdev != CONSOLE_DEV) && /* don't stop on /dev/console */ |
i_rdev | 760 | drivers/char/tty_io.c | is_console = (inode->i_rdev == CONSOLE_DEV); |
i_rdev | 766 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_write")) |
i_rdev | 982 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, filp->f_inode->i_rdev, "release_dev")) |
i_rdev | 1174 | drivers/char/tty_io.c | device = inode->i_rdev; |
i_rdev | 1250 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_select")) |
i_rdev | 1304 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_fasync")) |
i_rdev | 1373 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_ioctl")) |
i_rdev | 34 | drivers/char/vc_screen.c | if (MINOR(inode->i_rdev) & 128) |
i_rdev | 66 | drivers/char/vc_screen.c | unsigned int cons = MINOR(inode->i_rdev); |
i_rdev | 124 | drivers/char/vc_screen.c | unsigned int cons = MINOR(inode->i_rdev); |
i_rdev | 188 | drivers/char/vc_screen.c | unsigned int cons = (MINOR(inode->i_rdev) & 127); |
i_rdev | 134 | drivers/char/wdt.c | switch(MINOR(inode->i_rdev)) |
i_rdev | 158 | drivers/char/wdt.c | switch(MINOR(inode->i_rdev)) |
i_rdev | 188 | drivers/char/wdt.c | if(MINOR(inode->i_rdev)==WATCHDOG_MINOR) |
i_rdev | 725 | drivers/isdn/isdn_common.c | uint minor = MINOR(inode->i_rdev); |
i_rdev | 791 | drivers/isdn/isdn_common.c | uint minor = MINOR(inode->i_rdev); |
i_rdev | 834 | drivers/isdn/isdn_common.c | uint minor = MINOR(inode->i_rdev); |
i_rdev | 999 | drivers/isdn/isdn_common.c | uint minor = MINOR(inode->i_rdev); |
i_rdev | 1363 | drivers/isdn/isdn_common.c | uint minor = MINOR(ino->i_rdev); |
i_rdev | 1422 | drivers/isdn/isdn_common.c | uint minor = MINOR(ino->i_rdev); |
i_rdev | 97 | drivers/scsi/sd.c | target = DEVICE_NR(inode->i_rdev); |
i_rdev | 111 | drivers/scsi/sd.c | check_disk_change(inode->i_rdev); |
i_rdev | 137 | drivers/scsi/sd.c | if(sd_sizes[MINOR(inode->i_rdev)] == 0) |
i_rdev | 150 | drivers/scsi/sd.c | sync_dev(inode->i_rdev); |
i_rdev | 152 | drivers/scsi/sd.c | target = DEVICE_NR(inode->i_rdev); |
i_rdev | 913 | drivers/scsi/sd.c | inode.i_rdev = full_dev; /* This is all we really need here */ |
i_rdev | 26 | drivers/scsi/sd_ioctl.c | kdev_t dev = inode->i_rdev; |
i_rdev | 61 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].start_sect, &loc->start); |
i_rdev | 68 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].nr_sects, |
i_rdev | 75 | drivers/scsi/sd_ioctl.c | if(!(inode->i_rdev)) return -EINVAL; |
i_rdev | 77 | drivers/scsi/sd_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 86 | drivers/scsi/sd_ioctl.c | put_user(read_ahead[MAJOR(inode->i_rdev)], (int *) arg); |
i_rdev | 91 | drivers/scsi/sd_ioctl.c | if(!(inode->i_rdev)) return -EINVAL; |
i_rdev | 92 | drivers/scsi/sd_ioctl.c | fsync_dev(inode->i_rdev); |
i_rdev | 93 | drivers/scsi/sd_ioctl.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 70 | drivers/scsi/sg.c | int dev = MINOR(inode->i_rdev); |
i_rdev | 90 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
i_rdev | 152 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
i_rdev | 201 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
i_rdev | 299 | drivers/scsi/sg.c | kdev_t devt = inode->i_rdev; |
i_rdev | 461 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
i_rdev | 71 | drivers/scsi/sr.c | sync_dev(inode->i_rdev); |
i_rdev | 72 | drivers/scsi/sr.c | if(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
i_rdev | 75 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].auto_eject) |
i_rdev | 78 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count) |
i_rdev | 79 | drivers/scsi/sr.c | (*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)--; |
i_rdev | 122 | drivers/scsi/sr.c | inode.i_rdev = full_dev; /* This is all we really need here */ |
i_rdev | 328 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].xa_flags & 0x02) { |
i_rdev | 342 | drivers/scsi/sr.c | if (1 == scsi_CDs[MINOR(inode->i_rdev)].device->access_count) { |
i_rdev | 343 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = 0; |
i_rdev | 344 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags &= ~0x01; |
i_rdev | 354 | drivers/scsi/sr.c | switch(scsi_CDs[MINOR(inode->i_rdev)].device->manufacturer) { |
i_rdev | 366 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 402 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 410 | drivers/scsi/sr.c | if (!kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 438 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 463 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 470 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size = 1; |
i_rdev | 485 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 513 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector; |
i_rdev | 515 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags |= 0x01; |
i_rdev | 517 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags &= ~0x01; |
i_rdev | 519 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags |= 0x02; |
i_rdev | 525 | drivers/scsi/sr.c | if(MINOR(inode->i_rdev) >= sr_template.nr_dev || |
i_rdev | 526 | drivers/scsi/sr.c | !scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO; /* No such device */ |
i_rdev | 531 | drivers/scsi/sr.c | check_disk_change(inode->i_rdev); |
i_rdev | 533 | drivers/scsi/sr.c | if(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++) |
i_rdev | 535 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count) |
i_rdev | 536 | drivers/scsi/sr.c | (*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)++; |
i_rdev | 546 | drivers/scsi/sr.c | if(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size) |
i_rdev | 547 | drivers/scsi/sr.c | get_sectorsize(MINOR(inode->i_rdev)); |
i_rdev | 95 | drivers/scsi/sr_ioctl.c | kdev_t dev = inode->i_rdev; |
i_rdev | 309 | drivers/scsi/sr_ioctl.c | check_disk_change (inode->i_rdev); |
i_rdev | 313 | drivers/scsi/sr_ioctl.c | if (scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size) |
i_rdev | 314 | drivers/scsi/sr_ioctl.c | get_sectorsize (MINOR(inode->i_rdev)); |
i_rdev | 559 | drivers/scsi/sr_ioctl.c | if(!(inode->i_rdev)) return -EINVAL; |
i_rdev | 561 | drivers/scsi/sr_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 408 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 467 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 468 | drivers/scsi/st.c | int mode = TAPE_MODE(inode->i_rdev); |
i_rdev | 479 | drivers/scsi/st.c | STp->rew_at_close = (MINOR(inode->i_rdev) & 0x80) == 0; |
i_rdev | 729 | drivers/scsi/st.c | kdev_t devt = inode->i_rdev; |
i_rdev | 816 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1107 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1369 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1590 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1985 | drivers/scsi/st.c | STp->rew_at_close = (MINOR(inode->i_rdev) & 0x80) == 0; |
i_rdev | 2062 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 40 | fs/block_dev.c | dev = inode->i_rdev; |
i_rdev | 41 | fs/block_dev.c | if ( is_read_only( inode->i_rdev )) |
i_rdev | 179 | fs/block_dev.c | dev = inode->i_rdev; |
i_rdev | 318 | fs/block_dev.c | return fsync_dev (inode->i_rdev); |
i_rdev | 214 | fs/devices.c | filp->f_op = get_blkfops(MAJOR(inode->i_rdev)); |
i_rdev | 225 | fs/devices.c | struct file_operations *fops = get_blkfops(MAJOR(inode->i_rdev)); |
i_rdev | 274 | fs/devices.c | filp->f_op = get_chrfops(MAJOR(inode->i_rdev)); |
i_rdev | 1041 | fs/dquot.c | dev = ino->i_rdev; |
i_rdev | 378 | fs/ext/inode.c | inode->i_rdev = to_kdev_t(raw_inode->i_zone[0]); |
i_rdev | 415 | fs/ext/inode.c | raw_inode->i_zone[0] = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 379 | fs/ext/namei.c | inode->i_rdev = to_kdev_t(rdev); |
i_rdev | 554 | fs/ext2/inode.c | inode->i_rdev = to_kdev_t(raw_inode->i_block[0]); |
i_rdev | 636 | fs/ext2/inode.c | raw_inode->i_block[0] = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 448 | fs/ext2/namei.c | inode->i_rdev = to_kdev_t(rdev); |
i_rdev | 425 | fs/inode.c | kdevname(inode->i_rdev), inode->i_ino, inode->i_mode); |
i_rdev | 175 | fs/isofs/inode.c | inode_fake.i_rdev=dev; |
i_rdev | 313 | fs/isofs/rock.c | inode->i_rdev = MKDEV(low >> 8, low & 0xff); |
i_rdev | 315 | fs/isofs/rock.c | inode->i_rdev = MKDEV(high, low); |
i_rdev | 379 | fs/isofs/rock.c | inode->i_rdev = reloc->i_rdev; |
i_rdev | 667 | fs/minix/inode.c | inode->i_rdev = to_kdev_t(raw_inode->i_zone[0]); |
i_rdev | 723 | fs/minix/inode.c | inode->i_rdev = to_kdev_t(raw_inode->i_zone[0]); |
i_rdev | 785 | fs/minix/inode.c | raw_inode->i_zone[0] = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 828 | fs/minix/inode.c | raw_inode->i_zone[0] = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 285 | fs/minix/namei.c | inode->i_rdev = to_kdev_t(rdev); |
i_rdev | 95 | fs/ncpfs/inode.c | inode->i_rdev = 0; |
i_rdev | 676 | fs/nfs/dir.c | inode->i_rdev = to_kdev_t(fattr->rdev); |
i_rdev | 678 | fs/nfs/dir.c | inode->i_rdev = 0; |
i_rdev | 101 | fs/smbfs/inode.c | inode->i_rdev = 0; |
i_rdev | 35 | fs/stat.c | tmp.st_rdev = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 59 | fs/stat.c | tmp.st_rdev = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 565 | fs/super.c | dev = inode->i_rdev; |
i_rdev | 578 | fs/super.c | dummy_inode.i_rdev = dev; |
i_rdev | 789 | fs/super.c | dev = inode->i_rdev; |
i_rdev | 892 | fs/super.c | d_inode.i_rdev = ROOT_DEV; |
i_rdev | 845 | fs/sysv/inode.c | inode->i_rdev = to_kdev_t(raw_inode->i_a.i_rdev); |
i_rdev | 930 | fs/sysv/inode.c | raw_inode->i_a.i_rdev = kdev_t_to_nr(inode->i_rdev); /* write 2 or 3 bytes ?? */ |
i_rdev | 278 | fs/sysv/namei.c | inode->i_rdev = to_kdev_t(rdev); |
i_rdev | 345 | fs/umsdos/dir.c | inode->i_rdev = to_kdev_t(entry->rdev); |
i_rdev | 406 | fs/xiafs/inode.c | inode->i_rdev = to_kdev_t(raw_inode->i_zone[0]); |
i_rdev | 467 | fs/xiafs/inode.c | raw_inode->i_zone[0] = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 317 | fs/xiafs/namei.c | inode->i_rdev = to_kdev_t(rdev); |
i_rdev | 271 | include/linux/fs.h | kdev_t i_rdev; |
i_rdev | 235 | include/linux/sysv_fs.h | dev_t i_rdev; |
i_rdev | 22 | include/linux/wrapper.h | #define inode_get_rdev(i) i->i_rdev |
i_rdev | 335 | mm/swapfile.c | && (p->swap_device == inode->i_rdev)) |
i_rdev | 439 | mm/swapfile.c | p->swap_device = swap_inode->i_rdev; |
i_rdev | 72 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 86 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 120 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 137 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 146 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |