taglinefilesource code
minor96drivers/block/genhd.cint i, minor = current_minor;
minor110drivers/block/genhd.cprintk("  %s%c:", hd->major_name, 'a'+(minor >> hd->minor_shift));
minor114drivers/block/genhd.cfor (i=1 ; i<=4 ; minor++,i++,p++) {
minor115drivers/block/genhd.cif (!(hd->part[minor].nr_sects = p->nr_sects))
minor117drivers/block/genhd.chd->part[minor].start_sect = first_sector + p->start_sect;
minor118drivers/block/genhd.cprintk(" %s%c%d", hd->major_name,'a'+(minor >> hd->minor_shift), i);
minor123drivers/block/genhd.cextended_partition(hd, (hd->major << 8) | minor);
minor123drivers/block/ll_rw_blk.cint minor,major;
minor126drivers/block/ll_rw_blk.cminor = MINOR(dev);
minor128drivers/block/ll_rw_blk.creturn ro_bits[major][minor >> 5] & (1 << (minor & 31));
minor133drivers/block/ll_rw_blk.cint minor,major;
minor136drivers/block/ll_rw_blk.cminor = MINOR(dev);
minor138drivers/block/ll_rw_blk.cif (flag) ro_bits[major][minor >> 5] |= 1 << (minor & 31);
minor139drivers/block/ll_rw_blk.celse ro_bits[major][minor >> 5] &= ~(1 << (minor & 31));
minor27drivers/char/lp.cstatic int lp_reset(int minor)
minor35drivers/char/lp.coutb_p(0, LP_C(minor));
minor38drivers/char/lp.coutb_p(command, LP_C(minor));
minor39drivers/char/lp.creturn LP_S(minor);
minor46drivers/char/lp.cstatic int lp_char_polled(char lpchar, int minor)
minor52drivers/char/lp.cstatus = LP_S(minor);
minor56drivers/char/lp.c} while(!(status & LP_PBUSY) && count < LP_CHAR(minor));
minor58drivers/char/lp.cif (count == LP_CHAR(minor)) {
minor68drivers/char/lp.coutb_p(lpchar, LP_B(minor));
minor71drivers/char/lp.cwhile(wait != LP_WAIT(minor)) wait++;
minor73drivers/char/lp.coutb_p(( LP_PSELECP | LP_PINITP | LP_PSTROBE ), ( LP_C( minor )));
minor76drivers/char/lp.coutb_p(( LP_PSELECP | LP_PINITP ), ( LP_C( minor )));
minor81drivers/char/lp.cstatic int lp_char_interrupt(char lpchar, int minor)
minor87drivers/char/lp.cif (!((status = LP_S(minor)) & LP_PACK) || (status & LP_PBUSY)
minor88drivers/char/lp.c|| !((status = LP_S(minor)) & LP_PACK) || (status & LP_PBUSY)
minor89drivers/char/lp.c|| !((status = LP_S(minor)) & LP_PACK) || (status & LP_PBUSY)) {
minor91drivers/char/lp.coutb_p(lpchar, LP_B(minor));
minor94drivers/char/lp.cwhile(wait != LP_WAIT(minor)) wait++;
minor96drivers/char/lp.coutb_p(( LP_PSELECP | LP_PINITP | LP_PSTROBE ), ( LP_C( minor )));
minor99drivers/char/lp.coutb_p(( LP_PSELECP | LP_PINITP ), ( LP_C( minor )));
minor126drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor130drivers/char/lp.cstruct lp_struct *lp = &lp_table[minor];
minor139drivers/char/lp.cif (lp_char_interrupt(lp->lp_buffer[bytes_written], minor)) {
minor143drivers/char/lp.cif (!((status = LP_S(minor)) & LP_PERRORP)) {
minor147drivers/char/lp.cprintk("lp%d out of paper\n", minor);
minor151drivers/char/lp.cprintk("lp%d off-line\n", minor);
minor155drivers/char/lp.cprintk("lp%d printer error\n", minor);
minor159drivers/char/lp.cif(LP_F(minor) & LP_ABORT)
minor163drivers/char/lp.coutb_p((LP_PSELECP|LP_PINITP|LP_PINTEN), (LP_C(minor)));
minor164drivers/char/lp.cstatus = LP_S(minor);
minor166drivers/char/lp.coutb_p((LP_PSELECP|LP_PINITP), (LP_C(minor)));
minor172drivers/char/lp.coutb_p((LP_PSELECP|LP_PINITP), (LP_C(minor)));
minor195drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor199drivers/char/lp.cif (jiffies-lp_last_call > LP_TIME(minor)) {
minor209drivers/char/lp.cretval = lp_char_polled(c, minor);
minor217drivers/char/lp.cint status = LP_S(minor);
minor220drivers/char/lp.cprintk("lp%d out of paper\n", minor);
minor221drivers/char/lp.cif(LP_F(minor) & LP_ABORT)
minor228drivers/char/lp.cprintk("lp%d off-line\n", minor);
minor229drivers/char/lp.cif(LP_F(minor) & LP_ABORT)
minor237drivers/char/lp.cprintk("lp%d on fire\n", minor);
minor238drivers/char/lp.cif(LP_F(minor) & LP_ABORT)
minor254drivers/char/lp.clp_total_chars, LP_TIME(minor));
minor258drivers/char/lp.ccurrent->timeout = jiffies + LP_TIME(minor);
minor281drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor286drivers/char/lp.cif (minor >= LP_NO)
minor288drivers/char/lp.cif ((LP_F(minor) & LP_EXIST) == 0)
minor290drivers/char/lp.cif (LP_F(minor) & LP_BUSY)
minor293drivers/char/lp.cif ((irq = LP_IRQ(minor))) {
minor294drivers/char/lp.clp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL);
minor295drivers/char/lp.cif (!lp_table[minor].lp_buffer)
minor304drivers/char/lp.ckfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE);
minor305drivers/char/lp.clp_table[minor].lp_buffer = NULL;
minor306drivers/char/lp.cprintk("lp%d unable to use interrupt %d, error %d\n", minor, irq, ret);
minor311drivers/char/lp.cLP_F(minor) |= LP_BUSY;
minor318drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor321drivers/char/lp.cif ((irq = LP_IRQ(minor))) {
minor323drivers/char/lp.ckfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE);
minor324drivers/char/lp.clp_table[minor].lp_buffer = NULL;
minor327drivers/char/lp.cLP_F(minor) &= ~LP_BUSY;
minor334drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor338drivers/char/lp.cprintk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
minor340drivers/char/lp.cif (minor >= LP_NO)
minor342drivers/char/lp.cif ((LP_F(minor) & LP_EXIST) == 0)
minor346drivers/char/lp.cLP_TIME(minor) = arg;
minor349drivers/char/lp.cLP_CHAR(minor) = arg;
minor353drivers/char/lp.cLP_F(minor) |= LP_ABORT;
minor355drivers/char/lp.cLP_F(minor) &= ~LP_ABORT;
minor358drivers/char/lp.cLP_WAIT(minor) = arg;
minor363drivers/char/lp.cstruct lp_struct *lp = &lp_table[minor];
minor369drivers/char/lp.coldirq = LP_IRQ(minor);
minor404drivers/char/lp.cLP_IRQ(minor) = newirq;
minor405drivers/char/lp.clp_reset(minor);
minor409drivers/char/lp.cretval = LP_IRQ(minor);
minor40drivers/char/mouse.cint minor = MINOR(inode->i_rdev);
minor42drivers/char/mouse.cswitch (minor) {
minor1290drivers/char/tty_io.cint major, minor;
minor1293drivers/char/tty_io.cminor = MINOR(inode->i_rdev);
minor1297drivers/char/tty_io.cif (!minor) {
minor1299drivers/char/tty_io.cminor = current->tty;
minor1303drivers/char/tty_io.cif (!minor) {
minor1304drivers/char/tty_io.cminor = fg_console + 1;
minor1311drivers/char/tty_io.cif (minor <= 0)
minor1313drivers/char/tty_io.cif (IS_A_PTY_MASTER(minor))
minor1315drivers/char/tty_io.cfilp->f_rdev = (major << 8) | minor;
minor1316drivers/char/tty_io.cretval = init_dev(minor);
minor1319drivers/char/tty_io.ctty = tty_table[minor];
minor1340drivers/char/tty_io.crelease_dev(minor, filp);
minor1347drivers/char/tty_io.ccurrent->tty = minor;
minor1351drivers/char/tty_io.cfilp->f_rdev = 0x0400 | minor; /* Set it to something normal */
minor52drivers/sound/sb_dsp.cstatic int  major=1, minor=0;  /* DSP version */
minor648drivers/sound/sb_dsp.cmajor = minor = 0;
minor659drivers/sound/sb_dsp.cminor = INB (DSP_READ);
minor680drivers/sound/sb_dsp.cif (major > 3 || (major == 3 && minor > 0))  /* SB Pro2 or later */
minor689drivers/sound/sb_dsp.csprintf (sb_dsp_operations.name, "SoundBlaster Pro %d.%d", major, minor);
minor695drivers/sound/sb_dsp.csprintf (sb_dsp_operations.name, "SoundBlaster %d.%d", major, minor);
minor45include/linux/ddi.hshort  int  minor;      /* driver minor dev number  */
minor70include/linux/lp.h#define LP_B(minor)  lp_table[(minor)].base    /* IO address */
minor71include/linux/lp.h#define LP_F(minor)  lp_table[(minor)].flags    /* flags for busy, etc. */
minor72include/linux/lp.h#define LP_S(minor)  inb_p(LP_B((minor)) + 1)  /* status port */
minor73include/linux/lp.h#define LP_C(minor)  (lp_table[(minor)].base + 2)  /* control port */
minor74include/linux/lp.h#define LP_CHAR(minor)  lp_table[(minor)].chars    /* busy timeout */
minor75include/linux/lp.h#define LP_TIME(minor)  lp_table[(minor)].time    /* wait time */
minor76include/linux/lp.h#define LP_WAIT(minor)  lp_table[(minor)].wait    /* strobe wait */
minor77include/linux/lp.h#define LP_IRQ(minor)  lp_table[(minor)].irq    /* interrupt # */
minor1698net/inet/sock.cint minor, ret;
minor1701net/inet/sock.cminor = MINOR(inode->i_rdev);
minor1702net/inet/sock.cif (minor != 0) return(-ENODEV);
minor1705net/inet/sock.cswitch(minor) {
minor795net/unix/sock.cint minor;
minor798net/unix/sock.cminor = MINOR(inode->i_rdev);
minor799net/unix/sock.cif (minor != 0) return(-ENODEV);
minor816net/unix/sock.cint minor, ret;
minor820net/unix/sock.cminor = MINOR(inode->i_rdev);
minor821net/unix/sock.cif (minor != 0) return(-ENODEV);
minor103tools/build.cminor_root = minor(sb.st_dev);
minor110tools/build.cminor_root = minor(sb.st_rdev);