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 | 88 | arch/sparc/kernel/sys_sunos.c | if(MAJOR(file->f_inode->i_rdev) == MEM_MAJOR && |
i_rdev | 89 | arch/sparc/kernel/sys_sunos.c | MINOR(file->f_inode->i_rdev) == 5) { |
i_rdev | 3184 | drivers/block/floppy.c | device = inode->i_rdev; |
i_rdev | 3363 | drivers/block/floppy.c | int drive = DRIVE(inode->i_rdev); |
i_rdev | 3365 | drivers/block/floppy.c | check_disk_change(inode->i_rdev); |
i_rdev | 3376 | drivers/block/floppy.c | int drive = DRIVE(inode->i_rdev); |
i_rdev | 3380 | drivers/block/floppy.c | check_disk_change(inode->i_rdev); |
i_rdev | 3395 | drivers/block/floppy.c | drive = DRIVE(inode->i_rdev); |
i_rdev | 3430 | drivers/block/floppy.c | drive = DRIVE(inode->i_rdev); |
i_rdev | 3436 | drivers/block/floppy.c | if (TYPE(inode->i_rdev) >= NUMBER(floppy_type)) |
i_rdev | 3439 | drivers/block/floppy.c | if (UDRS->fd_ref && old_dev != MINOR(inode->i_rdev)) |
i_rdev | 3486 | drivers/block/floppy.c | UDRS->fd_device = MINOR(inode->i_rdev); |
i_rdev | 3487 | drivers/block/floppy.c | if (old_dev != -1 && old_dev != MINOR(inode->i_rdev)) { |
i_rdev | 3506 | 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 | 2649 | drivers/block/ide-cd.c | invalidate_buffers (inode->i_rdev); |
i_rdev | 4083 | drivers/block/ide-tape.c | unsigned int minor=MINOR (inode->i_rdev),allocation_length; |
i_rdev | 4144 | drivers/block/ide-tape.c | unsigned int minor=MINOR (inode->i_rdev); |
i_rdev | 1591 | drivers/block/ide.c | static ide_drive_t *get_info_ptr (kdev_t i_rdev) |
i_rdev | 1593 | drivers/block/ide.c | int major = MAJOR(i_rdev); |
i_rdev | 1599 | drivers/block/ide.c | unsigned unit = DEVICE_NR(i_rdev); |
i_rdev | 1709 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) == NULL) |
i_rdev | 1728 | drivers/block/ide.c | check_disk_change(inode->i_rdev); |
i_rdev | 1749 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) != NULL) { |
i_rdev | 1750 | drivers/block/ide.c | sync_dev(inode->i_rdev); |
i_rdev | 1767 | drivers/block/ide.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 1783 | drivers/block/ide.c | static int revalidate_disk(kdev_t i_rdev) |
i_rdev | 1789 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL) |
i_rdev | 1792 | drivers/block/ide.c | major = MAJOR(i_rdev); |
i_rdev | 1845 | drivers/block/ide.c | if (!inode || !(inode->i_rdev)) |
i_rdev | 1847 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) == NULL) |
i_rdev | 1857 | drivers/block/ide.c | put_user((unsigned)drive->part[MINOR(inode->i_rdev)&PARTN_MASK].start_sect, |
i_rdev | 1863 | drivers/block/ide.c | fsync_dev(inode->i_rdev); |
i_rdev | 1864 | drivers/block/ide.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 1870 | drivers/block/ide.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 1874 | drivers/block/ide.c | return write_fs_long(arg, read_ahead[MAJOR(inode->i_rdev)]); |
i_rdev | 1877 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
i_rdev | 1879 | drivers/block/ide.c | return revalidate_disk(inode->i_rdev); |
i_rdev | 1897 | drivers/block/ide.c | if (!arg || (MINOR(inode->i_rdev) & PARTN_MASK)) |
i_rdev | 1924 | drivers/block/ide.c | if ((MINOR(inode->i_rdev) & PARTN_MASK)) |
i_rdev | 1965 | drivers/block/ide.c | if (MINOR(inode->i_rdev) & PARTN_MASK) |
i_rdev | 2003 | drivers/block/ide.c | if (MINOR(inode->i_rdev) & PARTN_MASK) |
i_rdev | 2014 | drivers/block/ide.c | RO_IOCTLS(inode->i_rdev, arg); |
i_rdev | 2029 | drivers/block/ide.c | static int ide_check_media_change (kdev_t i_rdev) |
i_rdev | 2033 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL) |
i_rdev | 2762 | drivers/block/ide.c | int ide_xlate_1024 (kdev_t i_rdev, int xparm, const char *msg) |
i_rdev | 2769 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL || drive->forced_geom) |
i_rdev | 139 | drivers/block/rd.c | if (!inode || !inode->i_rdev) |
i_rdev | 145 | drivers/block/rd.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 153 | drivers/block/rd.c | put_user(rd_length[MINOR(inode->i_rdev)] / 512, |
i_rdev | 166 | drivers/block/rd.c | if (DEVICE_NR(inode->i_rdev) >= NUM_RAMDISKS) |
i_rdev | 380 | drivers/block/rd.c | inode.i_rdev = device; |
i_rdev | 386 | 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 | 1136 | drivers/cdrom/mcd.c | sync_dev(inode->i_rdev); |
i_rdev | 1137 | drivers/cdrom/mcd.c | invalidate_buffers(inode -> i_rdev); |
i_rdev | 270 | drivers/cdrom/mcdx.c | struct s_drive_stuff *stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
i_rdev | 616 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
i_rdev | 763 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
i_rdev | 766 | drivers/cdrom/mcdx.c | sync_dev(ip->i_rdev); /* needed for r/o device? */ |
i_rdev | 769 | drivers/cdrom/mcdx.c | invalidate_buffers(ip->i_rdev); |
i_rdev | 1880 | drivers/cdrom/optcd.c | ip, ip -> i_rdev, fp)); |
i_rdev | 1884 | drivers/cdrom/optcd.c | sync_dev(ip -> i_rdev); |
i_rdev | 1885 | 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 | 4163 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 4213 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 4261 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 299 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 319 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 377 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 394 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 328 | drivers/char/mem.c | switch (MINOR(inode->i_rdev)) { |
i_rdev | 46 | drivers/char/mouse.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 | 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 | 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 | 24 | drivers/scsi/sd_ioctl.c | kdev_t dev = inode->i_rdev; |
i_rdev | 47 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].start_sect, &loc->start); |
i_rdev | 54 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].nr_sects, |
i_rdev | 59 | drivers/scsi/sd_ioctl.c | if(!(inode->i_rdev)) return -EINVAL; |
i_rdev | 61 | drivers/scsi/sd_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 65 | drivers/scsi/sd_ioctl.c | if(!(inode->i_rdev)) return -EINVAL; |
i_rdev | 66 | drivers/scsi/sd_ioctl.c | fsync_dev(inode->i_rdev); |
i_rdev | 67 | 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 | 70 | drivers/scsi/sr.c | sync_dev(inode->i_rdev); |
i_rdev | 71 | drivers/scsi/sr.c | if(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
i_rdev | 74 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].auto_eject) |
i_rdev | 77 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count) |
i_rdev | 78 | drivers/scsi/sr.c | (*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)--; |
i_rdev | 121 | drivers/scsi/sr.c | inode.i_rdev = full_dev; /* This is all we really need here */ |
i_rdev | 326 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].xa_flags & 0x02) { |
i_rdev | 340 | drivers/scsi/sr.c | if (1 == scsi_CDs[MINOR(inode->i_rdev)].device->access_count) { |
i_rdev | 341 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = 0; |
i_rdev | 342 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags &= ~0x01; |
i_rdev | 352 | drivers/scsi/sr.c | switch(scsi_CDs[MINOR(inode->i_rdev)].device->manufacturer) { |
i_rdev | 364 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 399 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 406 | drivers/scsi/sr.c | if (kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 436 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 461 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 467 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size = 1; |
i_rdev | 482 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
i_rdev | 509 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector; |
i_rdev | 511 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags |= 0x01; |
i_rdev | 513 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags &= ~0x01; |
i_rdev | 515 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags |= 0x02; |
i_rdev | 521 | drivers/scsi/sr.c | if(MINOR(inode->i_rdev) >= sr_template.nr_dev || |
i_rdev | 522 | drivers/scsi/sr.c | !scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO; /* No such device */ |
i_rdev | 527 | drivers/scsi/sr.c | check_disk_change(inode->i_rdev); |
i_rdev | 529 | drivers/scsi/sr.c | if(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++) |
i_rdev | 531 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count) |
i_rdev | 532 | drivers/scsi/sr.c | (*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)++; |
i_rdev | 542 | drivers/scsi/sr.c | if(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size) |
i_rdev | 543 | drivers/scsi/sr.c | get_sectorsize(MINOR(inode->i_rdev)); |
i_rdev | 91 | drivers/scsi/sr_ioctl.c | kdev_t dev = inode->i_rdev; |
i_rdev | 462 | drivers/scsi/sr_ioctl.c | if(!(inode->i_rdev)) return -EINVAL; |
i_rdev | 464 | drivers/scsi/sr_ioctl.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 402 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 460 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 471 | drivers/scsi/st.c | STp->rew_at_close = (MINOR(inode->i_rdev) & 0x80) == 0; |
i_rdev | 665 | drivers/scsi/st.c | kdev_t devt = inode->i_rdev; |
i_rdev | 753 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1005 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1244 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1296 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1683 | drivers/scsi/st.c | STp->rew_at_close = (MINOR(inode->i_rdev) & 0x80) == 0; |
i_rdev | 1760 | 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 | 402 | fs/inode.c | kdevname(inode->i_rdev), inode->i_ino, inode->i_mode); |
i_rdev | 173 | 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 | 116 | fs/ncpfs/inode.c | inode->i_rdev = 0; |
i_rdev | 623 | fs/nfs/dir.c | inode->i_rdev = to_kdev_t(fattr->rdev); |
i_rdev | 625 | 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 | 564 | fs/super.c | dev = inode->i_rdev; |
i_rdev | 577 | fs/super.c | dummy_inode.i_rdev = dev; |
i_rdev | 774 | fs/super.c | dev = inode->i_rdev; |
i_rdev | 866 | fs/super.c | d_inode.i_rdev = ROOT_DEV; |
i_rdev | 844 | fs/sysv/inode.c | inode->i_rdev = to_kdev_t(raw_inode->i_a.i_rdev); |
i_rdev | 929 | 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 | 270 | 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 | 334 | mm/swapfile.c | && (p->swap_device == inode->i_rdev)) |
i_rdev | 438 | 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); |