tag | line | file | source code |
MINOR | 86 | arch/sparc/kernel/sys_sunos.c | MINOR(file->f_inode->i_rdev) == 5) { |
MINOR | 200 | drivers/block/floppy.c | return (MINOR(x)>>2) & 0x1f; |
MINOR | 203 | drivers/block/floppy.c | return (MINOR(x)&0x03) | ((MINOR(x)&0x80) >> 5); |
MINOR | 3434 | drivers/block/floppy.c | if (UDRS->fd_ref && old_dev != MINOR(inode->i_rdev)) |
MINOR | 3481 | drivers/block/floppy.c | UDRS->fd_device = MINOR(inode->i_rdev); |
MINOR | 3482 | drivers/block/floppy.c | if (old_dev != -1 && old_dev != MINOR(inode->i_rdev)) { |
MINOR | 3571 | drivers/block/floppy.c | int size = floppy_blocksizes[MINOR(dev)]; |
MINOR | 132 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
MINOR | 133 | drivers/block/genhd.c | first_size = hd->part[MINOR(dev)].nr_sects; |
MINOR | 152 | drivers/block/genhd.c | this_size = hd->part[MINOR(dev)].nr_sects; |
MINOR | 506 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
MINOR | 513 | drivers/block/genhd.c | hd->part[MINOR(dev)].start_sect = 0; |
MINOR | 517 | drivers/block/genhd.c | printk(" %s:", disk_name(hd, MINOR(dev), buf)); |
MINOR | 710 | drivers/block/hd.c | dev = MINOR(CURRENT->rq_dev); |
MINOR | 720 | drivers/block/hd.c | (MINOR(CURRENT->rq_dev)>>6)+'a', block, nsect); |
MINOR | 802 | drivers/block/hd.c | put_user(hd[MINOR(inode->i_rdev)].start_sect, |
MINOR | 822 | drivers/block/hd.c | put_user(hd[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
MINOR | 835 | drivers/block/hd.c | if ((arg > 1) || (MINOR(inode->i_rdev) & 0x3F)) |
MINOR | 858 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
MINOR | 876 | drivers/block/hd.c | if (MINOR(inode->i_rdev) & 0x3F) return -EINVAL; |
MINOR | 1188 | drivers/block/ide-cd.c | int minor = MINOR (rq->rq_dev); |
MINOR | 4092 | drivers/block/ide-tape.c | unsigned int minor=MINOR (inode->i_rdev),allocation_length; |
MINOR | 4153 | drivers/block/ide-tape.c | unsigned int minor=MINOR (inode->i_rdev); |
MINOR | 1361 | drivers/block/ide.c | minor = MINOR(rq->rq_dev); |
MINOR | 1913 | drivers/block/ide.c | put_user((unsigned)drive->part[MINOR(inode->i_rdev)&PARTN_MASK].start_sect, |
MINOR | 1933 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
MINOR | 1954 | drivers/block/ide.c | if (!arg || (MINOR(inode->i_rdev) & PARTN_MASK)) |
MINOR | 1981 | drivers/block/ide.c | if ((MINOR(inode->i_rdev) & PARTN_MASK)) |
MINOR | 2021 | drivers/block/ide.c | if (MINOR(inode->i_rdev) & PARTN_MASK) |
MINOR | 2068 | drivers/block/ide.c | if (MINOR(inode->i_rdev) & PARTN_MASK) |
MINOR | 191 | drivers/block/ll_rw_blk.c | minor = MINOR(dev); |
MINOR | 201 | drivers/block/ll_rw_blk.c | minor = MINOR(dev); |
MINOR | 240 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0070) >> 4; |
MINOR | 246 | drivers/block/ll_rw_blk.c | disk_index = (MINOR(req->rq_dev) & 0x0040) >> 6; |
MINOR | 250 | drivers/block/ll_rw_blk.c | disk_index = ((MINOR(req->rq_dev) & 0x0040) >> 6) + 2; |
MINOR | 293 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
MINOR | 297 | drivers/block/ll_rw_blk.c | rw, (sector + count)>>1, blk_size[major][MINOR(bh->b_dev)]); |
MINOR | 505 | drivers/block/ll_rw_blk.c | i = blksize_size[major][MINOR(bh[0]->b_dev)]; |
MINOR | 32 | drivers/block/loop.c | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 138 | drivers/block/loop.c | [MINOR(lo->lo_device)]) - |
MINOR | 155 | drivers/block/loop.c | if (MINOR(CURRENT->rq_dev) >= MAX_LOOP) |
MINOR | 157 | drivers/block/loop.c | lo = &loop_dev[MINOR(CURRENT->rq_dev)]; |
MINOR | 163 | drivers/block/loop.c | blksize = blksize_size[MAJOR(lo->lo_device)][MINOR(lo->lo_device)]; |
MINOR | 385 | drivers/block/loop.c | dev = MINOR(inode->i_rdev); |
MINOR | 424 | drivers/block/loop.c | dev = MINOR(inode->i_rdev); |
MINOR | 444 | drivers/block/loop.c | dev = MINOR(inode->i_rdev); |
MINOR | 111 | drivers/block/md.c | return disk_name (hd, MINOR(dev), name); /* routine in genhd.c */ |
MINOR | 144 | drivers/block/md.c | if (((minor=MINOR(inode->i_rdev)) & 0x80) && |
MINOR | 183 | drivers/block/md.c | devices[minor][index].size=gen_real->sizes[MINOR(dev)] & ~((PAGE_SIZE >> 10)-1); |
MINOR | 300 | drivers/block/md.c | put_user (md_hd_struct[MINOR(inode->i_rdev)].nr_sects, (long *) arg); |
MINOR | 330 | drivers/block/md.c | put_user (md_hd_struct[MINOR(inode->i_rdev)].start_sect, |
MINOR | 347 | drivers/block/md.c | int minor=MINOR(inode->i_rdev); |
MINOR | 356 | drivers/block/md.c | int minor=MINOR(inode->i_rdev); |
MINOR | 410 | drivers/block/md.c | chunksize=1 << FACTOR_SHIFT(FACTOR(md_dev+MINOR(req->rq_dev))); |
MINOR | 411 | drivers/block/md.c | if (reqsize==chunksize) (md_dev+MINOR(req->rq_dev))->equal_count++; |
MINOR | 412 | drivers/block/md.c | if (reqsize<chunksize) (md_dev+MINOR(req->rq_dev))->smallest_count++; |
MINOR | 413 | drivers/block/md.c | if (reqsize>chunksize) (md_dev+MINOR(req->rq_dev))->biggest_count++; |
MINOR | 419 | drivers/block/md.c | minor = MINOR(req->rq_dev); |
MINOR | 115 | drivers/block/rd.c | minor = MINOR(CURRENT->rq_dev); |
MINOR | 164 | drivers/block/rd.c | put_user(rd_length[MINOR(inode->i_rdev)] / 512, |
MINOR | 400 | drivers/block/rd.c | max_blocks = blk_size[MAJOR(device)][MINOR(device)]; |
MINOR | 221 | drivers/block/xd.c | <= xd[MINOR(CURRENT->rq_dev)].nr_sects) { |
MINOR | 222 | drivers/block/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->rq_dev)].start_sect; |
MINOR | 254 | drivers/block/xd.c | put_user(xd[MINOR(inode->i_rdev)].start_sect,&geometry->start); |
MINOR | 272 | drivers/block/xd.c | put_user(xd[MINOR(inode->i_rdev)].nr_sects,(long *) arg); |
MINOR | 177 | drivers/cdrom/gscd.c | target = MINOR(full_dev); |
MINOR | 267 | drivers/cdrom/gscd.c | dev = MINOR(CURRENT->rq_dev); |
MINOR | 281 | drivers/cdrom/gscd.c | if (MINOR(CURRENT -> rq_dev) != 0) |
MINOR | 217 | drivers/cdrom/mcd.c | target = MINOR(full_dev); |
MINOR | 281 | drivers/cdrom/mcdx.c | struct s_drive_stuff *stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
MINOR | 559 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(CURRENT->rq_dev)]; |
MINOR | 563 | drivers/cdrom/mcdx.c | dev = MINOR(CURRENT->rq_dev); |
MINOR | 629 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
MINOR | 796 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
MINOR | 830 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(full_dev)]; |
MINOR | 3837 | drivers/cdrom/sbpcd.c | MINOR(inode->i_rdev), cmd, arg); |
MINOR | 3839 | drivers/cdrom/sbpcd.c | i=MINOR(inode->i_rdev); |
MINOR | 4429 | drivers/cdrom/sbpcd.c | i = MINOR(CURRENT->rq_dev); |
MINOR | 4885 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
MINOR | 4970 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
MINOR | 5403 | drivers/cdrom/sbpcd.c | msg(DBG_CHK,"media_check (%d) called\n", MINOR(full_dev)); |
MINOR | 5406 | drivers/cdrom/sbpcd.c | i=MINOR(full_dev); |
MINOR | 415 | drivers/cdrom/sjcd.c | if( MINOR( full_dev ) > 0 ){ |
MINOR | 274 | drivers/cdrom/sonycd535.c | if (MINOR(full_dev) != 0) { |
MINOR | 807 | drivers/cdrom/sonycd535.c | dev = MINOR(CURRENT->rq_dev); |
MINOR | 1086 | drivers/cdrom/sonycd535.c | dev = MINOR(inode->i_rdev) >> 6; |
MINOR | 1341 | drivers/char/console.c | console_num = MINOR(tty->device) - (tty->driver.minor_start); |
MINOR | 1356 | drivers/char/console.c | console_num = MINOR(tty->device) - (tty->driver.minor_start); |
MINOR | 2249 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 2600 | drivers/char/cyclades.c | line = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 221 | drivers/char/ftape/kernel-interface.c | TRACEi(5, "called for minor", MINOR(ino->i_rdev)); |
MINOR | 228 | drivers/char/ftape/kernel-interface.c | if ((MINOR(ino->i_rdev) & ~FTAPE_NO_REWIND) > 3) { |
MINOR | 234 | drivers/char/ftape/kernel-interface.c | if (ftape_unit == -1 || FTAPE_UNIT != (MINOR(ino->i_rdev) & 3)) { |
MINOR | 239 | drivers/char/ftape/kernel-interface.c | ftape_unit = MINOR(ino->i_rdev); |
MINOR | 269 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit) { |
MINOR | 296 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
MINOR | 320 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
MINOR | 343 | drivers/char/ftape/kernel-interface.c | if (!busy_flag || MINOR(ino->i_rdev) != ftape_unit || ftape_failure) { |
MINOR | 878 | drivers/char/istallion.c | minordev = MINOR(tty->device); |
MINOR | 4188 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
MINOR | 4238 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
MINOR | 4449 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
MINOR | 300 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 320 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 378 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 395 | drivers/char/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 332 | drivers/char/mem.c | switch (MINOR(inode->i_rdev)) { |
MINOR | 46 | drivers/char/mouse.c | int minor = MINOR(inode->i_rdev); |
MINOR | 191 | drivers/char/pty.c | line = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 1960 | drivers/char/scc.c | chan = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 2590 | drivers/char/scc.c | printk("scc: scc_throttle() called for device %d\n", MINOR(tty->device)); |
MINOR | 2607 | drivers/char/scc.c | printk("scc: scc_unthrottle() called for device %d\n", MINOR(tty->device)); |
MINOR | 2356 | drivers/char/serial.c | line = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 675 | drivers/char/stallion.c | minordev = MINOR(tty->device); |
MINOR | 3100 | drivers/char/stallion.c | brdnr = MINOR(ip->i_rdev); |
MINOR | 1935 | drivers/char/tpqic02.c | MINOR(dev), buf, count, (unsigned long) filp->f_pos, flags); |
MINOR | 2109 | drivers/char/tpqic02.c | MINOR(dev), buf, count, (unsigned long) filp->f_pos, flags); |
MINOR | 2259 | drivers/char/tpqic02.c | if (MINOR(dev)==255) /* special case for resetting */ |
MINOR | 138 | drivers/char/tty_io.c | MINOR(tty->device) - tty->driver.minor_start + |
MINOR | 277 | drivers/char/tty_io.c | minor = MINOR(device); |
MINOR | 809 | drivers/char/tty_io.c | idx = MINOR(device) - driver->minor_start; |
MINOR | 992 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 1185 | drivers/char/tty_io.c | minor = MINOR(device); |
MINOR | 34 | drivers/char/vc_screen.c | if (MINOR(inode->i_rdev) & 128) |
MINOR | 66 | drivers/char/vc_screen.c | unsigned int cons = MINOR(inode->i_rdev); |
MINOR | 124 | drivers/char/vc_screen.c | unsigned int cons = MINOR(inode->i_rdev); |
MINOR | 188 | drivers/char/vc_screen.c | unsigned int cons = (MINOR(inode->i_rdev) & 127); |
MINOR | 126 | drivers/char/vt.c | MINOR(p->tty->device) <= MAX_NR_CONSOLES && MINOR(p->tty->device) ) |
MINOR | 134 | drivers/char/wdt.c | switch(MINOR(inode->i_rdev)) |
MINOR | 158 | drivers/char/wdt.c | switch(MINOR(inode->i_rdev)) |
MINOR | 188 | drivers/char/wdt.c | if(MINOR(inode->i_rdev)==WATCHDOG_MINOR) |
MINOR | 725 | drivers/isdn/isdn_common.c | uint minor = MINOR(inode->i_rdev); |
MINOR | 791 | drivers/isdn/isdn_common.c | uint minor = MINOR(inode->i_rdev); |
MINOR | 834 | drivers/isdn/isdn_common.c | uint minor = MINOR(inode->i_rdev); |
MINOR | 999 | drivers/isdn/isdn_common.c | uint minor = MINOR(inode->i_rdev); |
MINOR | 1363 | drivers/isdn/isdn_common.c | uint minor = MINOR(ino->i_rdev); |
MINOR | 1422 | drivers/isdn/isdn_common.c | uint minor = MINOR(ino->i_rdev); |
MINOR | 218 | drivers/isdn/isdn_tty.c | MAJOR(device), MINOR(device), routine); |
MINOR | 223 | drivers/isdn/isdn_tty.c | MAJOR(device), MINOR(device), routine); |
MINOR | 905 | drivers/isdn/isdn_tty.c | line = MINOR(tty->device) - tty->driver.minor_start; |
MINOR | 3185 | drivers/scsi/53c7,8xx.c | for (dev = MINOR(inode->rdev), host = first_host; |
MINOR | 1927 | drivers/scsi/fdomain.c | drive = MINOR(dev) / 16; |
MINOR | 84 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) != 0) start = starts[(MINOR(SCpnt->request.rq_dev) & 0xf) - 1]; \ |
MINOR | 98 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) > npart) panic ("Bad partition"); \ |
MINOR | 99 | drivers/scsi/scsi_debug.c | if ((MINOR(SCpnt->request.rq_dev) & 0xf) != 0) start = starts[(MINOR(SCpnt->request.rq_dev) & 0xf) - 1]; \ |
MINOR | 251 | drivers/scsi/scsi_debug.c | if(NR_REAL < 0) NR_REAL = (MINOR(SCpnt->request.rq_dev) >> 4) & 0x0f; |
MINOR | 53 | drivers/scsi/scsicam.c | if (!(bh = bread(MKDEV(MAJOR(dev), MINOR(dev)&~0xf), 0, 1024))) |
MINOR | 137 | drivers/scsi/sd.c | if(sd_sizes[MINOR(inode->i_rdev)] == 0) |
MINOR | 222 | drivers/scsi/sd.c | printk("sd%c : rw_intr(%d, %d)\n", 'a' + MINOR(SCpnt->request.rq_dev), |
MINOR | 235 | drivers/scsi/sd.c | printk("sd%c : %d sectors remain.\n", 'a' + MINOR(SCpnt->request.rq_dev), |
MINOR | 283 | drivers/scsi/sd.c | 'a' + MINOR(SCpnt->request.rq_dev)); |
MINOR | 522 | drivers/scsi/sd.c | devm = MINOR(SCpnt->request.rq_dev); |
MINOR | 38 | drivers/scsi/sd_ioctl.c | host = rscsi_disks[MINOR(dev) >> 4].device->host; |
MINOR | 44 | drivers/scsi/sd_ioctl.c | diskinfo[2] = rscsi_disks[MINOR(dev) >> 4].capacity >> 11; |
MINOR | 49 | drivers/scsi/sd_ioctl.c | scsicam_bios_param(&rscsi_disks[MINOR(dev) >> 4], |
MINOR | 53 | drivers/scsi/sd_ioctl.c | host->hostt->bios_param(&rscsi_disks[MINOR(dev) >> 4], |
MINOR | 61 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].start_sect, &loc->start); |
MINOR | 68 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].nr_sects, |
MINOR | 99 | drivers/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
MINOR | 70 | drivers/scsi/sg.c | int dev = MINOR(inode->i_rdev); |
MINOR | 90 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
MINOR | 152 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
MINOR | 201 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
MINOR | 265 | drivers/scsi/sg.c | int dev = MINOR(SCpnt->request.rq_dev); |
MINOR | 300 | drivers/scsi/sg.c | int dev = MINOR(devt); |
MINOR | 461 | drivers/scsi/sg.c | int dev=MINOR(inode->i_rdev); |
MINOR | 71 | drivers/scsi/sr.c | if(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
MINOR | 74 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].auto_eject) |
MINOR | 77 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count) |
MINOR | 78 | drivers/scsi/sr.c | (*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)--; |
MINOR | 114 | drivers/scsi/sr.c | target = MINOR(full_dev); |
MINOR | 326 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].xa_flags & 0x02) { |
MINOR | 340 | drivers/scsi/sr.c | if (1 == scsi_CDs[MINOR(inode->i_rdev)].device->access_count) { |
MINOR | 341 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = 0; |
MINOR | 342 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags &= ~0x01; |
MINOR | 352 | drivers/scsi/sr.c | switch(scsi_CDs[MINOR(inode->i_rdev)].device->manufacturer) { |
MINOR | 364 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
MINOR | 399 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
MINOR | 406 | drivers/scsi/sr.c | if (kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
MINOR | 436 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
MINOR | 461 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
MINOR | 467 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size = 1; |
MINOR | 482 | drivers/scsi/sr.c | rc = kernel_scsi_ioctl(scsi_CDs[MINOR(inode->i_rdev)].device, |
MINOR | 509 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector; |
MINOR | 511 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags |= 0x01; |
MINOR | 513 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags &= ~0x01; |
MINOR | 515 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].xa_flags |= 0x02; |
MINOR | 521 | drivers/scsi/sr.c | if(MINOR(inode->i_rdev) >= sr_template.nr_dev || |
MINOR | 522 | drivers/scsi/sr.c | !scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO; /* No such device */ |
MINOR | 529 | drivers/scsi/sr.c | if(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++) |
MINOR | 531 | drivers/scsi/sr.c | if (scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count) |
MINOR | 532 | drivers/scsi/sr.c | (*scsi_CDs[MINOR(inode->i_rdev)].device->host->hostt->usage_count)++; |
MINOR | 542 | drivers/scsi/sr.c | if(scsi_CDs[MINOR(inode->i_rdev)].needs_sector_size) |
MINOR | 543 | drivers/scsi/sr.c | get_sectorsize(MINOR(inode->i_rdev)); |
MINOR | 654 | drivers/scsi/sr.c | dev = MINOR(SCpnt->request.rq_dev); |
MINOR | 94 | drivers/scsi/sr_ioctl.c | target = MINOR(dev); |
MINOR | 77 | drivers/scsi/st.c | #define TAPE_NR(x) (MINOR(x) & 127) |
MINOR | 471 | drivers/scsi/st.c | STp->rew_at_close = (MINOR(inode->i_rdev) & 0x80) == 0; |
MINOR | 1683 | drivers/scsi/st.c | STp->rew_at_close = (MINOR(inode->i_rdev) & 0x80) == 0; |
MINOR | 73 | drivers/sound/soundcard.c | dev = MINOR (inode_get_rdev (inode)); |
MINOR | 85 | drivers/sound/soundcard.c | dev = MINOR (inode_get_rdev (inode)); |
MINOR | 110 | drivers/sound/soundcard.c | dev = MINOR (inode_get_rdev (inode)); |
MINOR | 144 | drivers/sound/soundcard.c | dev = MINOR (inode_get_rdev (inode)); |
MINOR | 160 | drivers/sound/soundcard.c | dev = MINOR (inode_get_rdev (inode)); |
MINOR | 197 | drivers/sound/soundcard.c | dev = MINOR (inode_get_rdev (inode)); |
MINOR | 240 | drivers/sound/soundcard.c | dev = MINOR (inode_get_rdev (inode)); |
MINOR | 44 | fs/block_dev.c | if (blksize_size[MAJOR(dev)] && blksize_size[MAJOR(dev)][MINOR(dev)]) |
MINOR | 45 | fs/block_dev.c | blocksize = blksize_size[MAJOR(dev)][MINOR(dev)]; |
MINOR | 60 | fs/block_dev.c | size = ((loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS) >> blocksize_bits; |
MINOR | 181 | fs/block_dev.c | if (blksize_size[MAJOR(dev)] && blksize_size[MAJOR(dev)][MINOR(dev)]) |
MINOR | 182 | fs/block_dev.c | blocksize = blksize_size[MAJOR(dev)][MINOR(dev)]; |
MINOR | 192 | fs/block_dev.c | size = (loff_t) blk_size[MAJOR(dev)][MINOR(dev)] << BLOCK_SIZE_BITS; |
MINOR | 517 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == 0 && size == BLOCK_SIZE) { |
MINOR | 518 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
MINOR | 521 | fs/buffer.c | if (blksize_size[MAJOR(dev)][MINOR(dev)] == size) |
MINOR | 524 | fs/buffer.c | blksize_size[MAJOR(dev)][MINOR(dev)] = size; |
MINOR | 328 | fs/devices.c | sprintf(buffer, "%02x:%02x", MAJOR(dev), MINOR(dev)); |
MINOR | 182 | fs/fat/inode.c | blksize = hardsect_size[MAJOR(sb->s_dev)][MINOR(sb->s_dev)]; |
MINOR | 480 | fs/super.c | clear_bit(MINOR(dev), unnamed_dev_in_use)) |
MINOR | 33 | include/linux/blk.h | blksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] ? \ |
MINOR | 34 | include/linux/blk.h | ((blksize_size[MAJOR_NR][MINOR(CURRENT->rq_dev)] >> 9) - 1) : \ |
MINOR | 123 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device) >> PARTN_BITS) |
MINOR | 132 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 144 | include/linux/blk.h | #define DEVICE_NR(device) ( (MINOR(device) & 3) | ((MINOR(device) & 0x80 ) >> 5 )) |
MINOR | 156 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)>>6) |
MINOR | 166 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 4) |
MINOR | 177 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 187 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device) & 0x7f) |
MINOR | 196 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 204 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 6) |
MINOR | 212 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 221 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 230 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 238 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 246 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 254 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 262 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 270 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 279 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 287 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 294 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 302 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 310 | include/linux/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
MINOR | 84 | include/linux/kdev_t.h | return (MAJOR(dev)<<8) | MINOR(dev); |
MINOR | 522 | include/linux/tpqic02.h | #define TP_REWCLOSE(d) ((MINOR(d)&0x01) == 1) /* rewind bit */ |
MINOR | 524 | include/linux/tpqic02.h | #define TP_DENS(dev) ((MINOR(dev) >> 1) & 0x07) /* tape density */ |
MINOR | 525 | include/linux/tpqic02.h | #define TP_UNIT(dev) ((MINOR(dev) >> 4) & 0x07) /* unit number */ |
MINOR | 72 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 86 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 120 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 137 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |
MINOR | 146 | net/netlink.c | unsigned int minor = MINOR(inode->i_rdev); |