tag | line | file | source code |
i_rdev | 259 | arch/alpha/kernel/osf_sys.c | dev = inode->i_rdev; |
i_rdev | 288 | arch/alpha/kernel/osf_sys.c | fops = get_blkfops(MAJOR(inode->i_rdev)); |
i_rdev | 311 | arch/alpha/kernel/osf_sys.c | retval = do_mount(inode->i_rdev, tmp.devname, dirname, "ext2", flags, NULL); |
i_rdev | 331 | 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 | 3194 | drivers/block/floppy.c | device = inode->i_rdev; |
i_rdev | 3365 | drivers/block/floppy.c | int drive = DRIVE(inode->i_rdev); |
i_rdev | 3367 | drivers/block/floppy.c | check_disk_change(inode->i_rdev); |
i_rdev | 3378 | drivers/block/floppy.c | int drive = DRIVE(inode->i_rdev); |
i_rdev | 3382 | drivers/block/floppy.c | check_disk_change(inode->i_rdev); |
i_rdev | 3397 | drivers/block/floppy.c | drive = DRIVE(inode->i_rdev); |
i_rdev | 3432 | drivers/block/floppy.c | drive = DRIVE(inode->i_rdev); |
i_rdev | 3438 | drivers/block/floppy.c | if (TYPE(inode->i_rdev) >= NUMBER(floppy_type)) |
i_rdev | 3441 | drivers/block/floppy.c | if (UDRS->fd_ref && old_dev != MINOR(inode->i_rdev)) |
i_rdev | 3487 | drivers/block/floppy.c | UDRS->fd_device = MINOR(inode->i_rdev); |
i_rdev | 3488 | drivers/block/floppy.c | if (old_dev != -1 && old_dev != MINOR(inode->i_rdev)) { |
i_rdev | 3507 | 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 | 2488 | drivers/block/ide-cd.c | invalidate_buffers (inode->i_rdev); |
i_rdev | 3507 | drivers/block/ide-tape.c | minor=MINOR (inode->i_rdev); |
i_rdev | 3555 | drivers/block/ide-tape.c | minor=MINOR (inode->i_rdev); |
i_rdev | 1597 | drivers/block/ide.c | static ide_drive_t *get_info_ptr (kdev_t i_rdev) |
i_rdev | 1599 | drivers/block/ide.c | int major = MAJOR(i_rdev); |
i_rdev | 1605 | drivers/block/ide.c | unsigned unit = DEVICE_NR(i_rdev); |
i_rdev | 1612 | drivers/block/ide.c | 'a' + unit, MINOR(i_rdev) & PARTN_MASK); |
i_rdev | 1712 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) == NULL) |
i_rdev | 1731 | drivers/block/ide.c | check_disk_change(inode->i_rdev); |
i_rdev | 1752 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) != NULL) { |
i_rdev | 1753 | drivers/block/ide.c | sync_dev(inode->i_rdev); |
i_rdev | 1770 | drivers/block/ide.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 1786 | drivers/block/ide.c | static int revalidate_disk(kdev_t i_rdev) |
i_rdev | 1792 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL) |
i_rdev | 1795 | drivers/block/ide.c | major = MAJOR(i_rdev); |
i_rdev | 1848 | drivers/block/ide.c | if (!inode || !(inode->i_rdev)) |
i_rdev | 1850 | drivers/block/ide.c | if ((drive = get_info_ptr(inode->i_rdev)) == NULL) |
i_rdev | 1860 | drivers/block/ide.c | put_user((unsigned)drive->part[MINOR(inode->i_rdev)&PARTN_MASK].start_sect, |
i_rdev | 1866 | drivers/block/ide.c | fsync_dev(inode->i_rdev); |
i_rdev | 1867 | drivers/block/ide.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 1873 | drivers/block/ide.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 1877 | drivers/block/ide.c | return write_fs_long(arg, read_ahead[MAJOR(inode->i_rdev)]); |
i_rdev | 1880 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
i_rdev | 1882 | drivers/block/ide.c | return revalidate_disk(inode->i_rdev); |
i_rdev | 1900 | drivers/block/ide.c | if (!arg || (MINOR(inode->i_rdev) & PARTN_MASK)) |
i_rdev | 1925 | drivers/block/ide.c | if ((MINOR(inode->i_rdev) & PARTN_MASK)) |
i_rdev | 1966 | drivers/block/ide.c | if (MINOR(inode->i_rdev) & PARTN_MASK) |
i_rdev | 2002 | drivers/block/ide.c | RO_IOCTLS(inode->i_rdev, arg); |
i_rdev | 2017 | drivers/block/ide.c | static int ide_check_media_change (kdev_t i_rdev) |
i_rdev | 2021 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL) |
i_rdev | 2769 | drivers/block/ide.c | int ide_xlate_1024 (kdev_t i_rdev, int offset, const char *msg) |
i_rdev | 2776 | drivers/block/ide.c | if ((drive = get_info_ptr(i_rdev)) == NULL) |
i_rdev | 117 | drivers/block/rd.c | if (!inode || !inode->i_rdev) |
i_rdev | 123 | drivers/block/rd.c | invalidate_buffers(inode->i_rdev); |
i_rdev | 131 | drivers/block/rd.c | put_user(rd_length[MINOR(inode->i_rdev)] / 512, |
i_rdev | 145 | drivers/block/rd.c | if (DEVICE_NR(inode->i_rdev) >= NUM_RAMDISKS) |
i_rdev | 316 | drivers/block/rd.c | inode.i_rdev = device; |
i_rdev | 322 | 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 | 2828 | drivers/cdrom/cdu31a.c | check_disk_change(inode->i_rdev); |
i_rdev | 2861 | 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 | 1329 | drivers/cdrom/optcd.c | ip, ip -> i_rdev, fp); |
i_rdev | 1333 | drivers/cdrom/optcd.c | sync_dev(ip -> i_rdev); |
i_rdev | 1334 | drivers/cdrom/optcd.c | invalidate_buffers(ip -> i_rdev); |
i_rdev | 3730 | drivers/cdrom/sbpcd.c | MINOR(inode->i_rdev), cmd, arg); |
i_rdev | 3732 | drivers/cdrom/sbpcd.c | i=MINOR(inode->i_rdev); |
i_rdev | 3735 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "ioctl: bad device: %04X\n", inode->i_rdev); |
i_rdev | 4265 | drivers/cdrom/sbpcd.c | if(!(inode->i_rdev)) return -EINVAL; |
i_rdev | 4267 | drivers/cdrom/sbpcd.c | read_ahead[MAJOR(inode->i_rdev)] = arg; |
i_rdev | 4764 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
i_rdev | 4767 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "open: bad device: %04X\n", ip->i_rdev); |
i_rdev | 4849 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
i_rdev | 4852 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "release: bad device: %04X\n", ip->i_rdev); |
i_rdev | 4858 | drivers/cdrom/sbpcd.c | sync_dev(ip->i_rdev); /* nonsense if read only device? */ |
i_rdev | 4859 | drivers/cdrom/sbpcd.c | invalidate_buffers(ip->i_rdev); |
i_rdev | 1451 | drivers/cdrom/sjcd.c | sync_dev( inode->i_rdev ); |
i_rdev | 1452 | drivers/cdrom/sjcd.c | invalidate_buffers( inode->i_rdev ); |
i_rdev | 1084 | drivers/cdrom/sonycd535.c | dev = MINOR(inode->i_rdev) >> 6; |
i_rdev | 1416 | drivers/cdrom/sonycd535.c | check_disk_change(inode->i_rdev); |
i_rdev | 1447 | drivers/cdrom/sonycd535.c | sync_dev(inode->i_rdev); |
i_rdev | 3843 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 3891 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
i_rdev | 3937 | 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 | 43 | 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 | 1924 | drivers/char/tpqic02.c | kdev_t dev = inode->i_rdev; |
i_rdev | 2099 | drivers/char/tpqic02.c | kdev_t dev = inode->i_rdev; |
i_rdev | 2250 | drivers/char/tpqic02.c | kdev_t dev = inode->i_rdev; |
i_rdev | 2436 | drivers/char/tpqic02.c | kdev_t dev = inode->i_rdev; |
i_rdev | 2561 | drivers/char/tpqic02.c | int dev_maj = MAJOR(inode->i_rdev); |
i_rdev | 369 | drivers/char/tty_io.c | && filp->f_inode->i_rdev == CONSOLE_DEV) |
i_rdev | 709 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_read")) |
i_rdev | 719 | drivers/char/tty_io.c | if ((inode->i_rdev != CONSOLE_DEV) && /* don't stop on /dev/console */ |
i_rdev | 745 | drivers/char/tty_io.c | is_console = (inode->i_rdev == CONSOLE_DEV); |
i_rdev | 751 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_write")) |
i_rdev | 967 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, filp->f_inode->i_rdev, "release_dev")) |
i_rdev | 1159 | drivers/char/tty_io.c | device = inode->i_rdev; |
i_rdev | 1235 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_select")) |
i_rdev | 1289 | drivers/char/tty_io.c | if (tty_paranoia_check(tty, inode->i_rdev, "tty_fasync")) |
i_rdev | 1358 | 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 | 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 | 302 | drivers/scsi/sg.c | kdev_t devt = inode->i_rdev; |
i_rdev | 472 | 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 | 455 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 466 | drivers/scsi/st.c | STp->rew_at_close = (MINOR(inode->i_rdev) & 0x80) == 0; |
i_rdev | 660 | drivers/scsi/st.c | kdev_t devt = inode->i_rdev; |
i_rdev | 748 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1000 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1239 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1291 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 1678 | drivers/scsi/st.c | STp->rew_at_close = (MINOR(inode->i_rdev) & 0x80) == 0; |
i_rdev | 1755 | drivers/scsi/st.c | int dev = TAPE_NR(inode->i_rdev); |
i_rdev | 81 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 93 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 118 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 153 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 169 | drivers/sound/soundcard.c | dev = inode->i_rdev; |
i_rdev | 206 | drivers/sound/soundcard.c | dev = 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 | 175 | fs/devices.c | i = MAJOR(inode->i_rdev); |
i_rdev | 226 | fs/devices.c | i = MAJOR(inode->i_rdev); |
i_rdev | 1024 | 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 | 386 | fs/inode.c | kdevname(inode->i_rdev), inode->i_ino, inode->i_mode); |
i_rdev | 164 | 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 | 438 | fs/minix/inode.c | inode->i_rdev = to_kdev_t(raw_inode->i_zone[0]); |
i_rdev | 486 | 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 | 621 | fs/nfs/dir.c | inode->i_rdev = to_kdev_t(fattr->rdev); |
i_rdev | 623 | fs/nfs/dir.c | inode->i_rdev = 0; |
i_rdev | 101 | fs/smbfs/inode.c | inode->i_rdev = 0; |
i_rdev | 29 | fs/stat.c | tmp.st_rdev = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 51 | fs/stat.c | tmp.st_rdev = kdev_t_to_nr(inode->i_rdev); |
i_rdev | 537 | fs/super.c | dev = inode->i_rdev; |
i_rdev | 550 | fs/super.c | dummy_inode.i_rdev = dev; |
i_rdev | 749 | fs/super.c | dev = inode->i_rdev; |
i_rdev | 841 | 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 | 245 | include/linux/fs.h | kdev_t i_rdev; |
i_rdev | 235 | include/linux/sysv_fs.h | dev_t i_rdev; |
i_rdev | 1071 | mm/swap.c | && (p->swap_device == inode->i_rdev)) |
i_rdev | 1174 | mm/swap.c | p->swap_device = swap_inode->i_rdev; |
i_rdev | 72 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 85 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 119 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 136 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
i_rdev | 145 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |