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);
minor128drivers/block/ll_rw_blk.cint minor,major;
minor131drivers/block/ll_rw_blk.cminor = MINOR(dev);
minor133drivers/block/ll_rw_blk.creturn ro_bits[major][minor >> 5] & (1 << (minor & 31));
minor138drivers/block/ll_rw_blk.cint minor,major;
minor141drivers/block/ll_rw_blk.cminor = MINOR(dev);
minor143drivers/block/ll_rw_blk.cif (flag) ro_bits[major][minor >> 5] |= 1 << (minor & 31);
minor144drivers/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)));
minor196drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor200drivers/char/lp.cif (jiffies-lp_last_call > LP_TIME(minor)) {
minor210drivers/char/lp.cretval = lp_char_polled(c, minor);
minor218drivers/char/lp.cint status = LP_S(minor);
minor221drivers/char/lp.cprintk("lp%d out of paper\n", minor);
minor222drivers/char/lp.cif(LP_F(minor) & LP_ABORT)
minor229drivers/char/lp.cprintk("lp%d off-line\n", minor);
minor230drivers/char/lp.cif(LP_F(minor) & LP_ABORT)
minor238drivers/char/lp.cprintk("lp%d on fire\n", minor);
minor239drivers/char/lp.cif(LP_F(minor) & LP_ABORT)
minor255drivers/char/lp.clp_total_chars, LP_TIME(minor));
minor259drivers/char/lp.ccurrent->timeout = jiffies + LP_TIME(minor);
minor282drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor287drivers/char/lp.cif (minor >= LP_NO)
minor289drivers/char/lp.cif ((LP_F(minor) & LP_EXIST) == 0)
minor291drivers/char/lp.cif (LP_F(minor) & LP_BUSY)
minor294drivers/char/lp.cif ((irq = LP_IRQ(minor))) {
minor295drivers/char/lp.clp_table[minor].lp_buffer = (char *) kmalloc(LP_BUFFER_SIZE, GFP_KERNEL);
minor296drivers/char/lp.cif (!lp_table[minor].lp_buffer)
minor305drivers/char/lp.ckfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE);
minor306drivers/char/lp.clp_table[minor].lp_buffer = NULL;
minor307drivers/char/lp.cprintk("lp%d unable to use interrupt %d, error %d\n", minor, irq, ret);
minor312drivers/char/lp.cLP_F(minor) |= LP_BUSY;
minor319drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor322drivers/char/lp.cif ((irq = LP_IRQ(minor))) {
minor324drivers/char/lp.ckfree_s(lp_table[minor].lp_buffer, LP_BUFFER_SIZE);
minor325drivers/char/lp.clp_table[minor].lp_buffer = NULL;
minor328drivers/char/lp.cLP_F(minor) &= ~LP_BUSY;
minor335drivers/char/lp.cunsigned int minor = MINOR(inode->i_rdev);
minor339drivers/char/lp.cprintk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
minor341drivers/char/lp.cif (minor >= LP_NO)
minor343drivers/char/lp.cif ((LP_F(minor) & LP_EXIST) == 0)
minor347drivers/char/lp.cLP_TIME(minor) = arg;
minor350drivers/char/lp.cLP_CHAR(minor) = arg;
minor354drivers/char/lp.cLP_F(minor) |= LP_ABORT;
minor356drivers/char/lp.cLP_F(minor) &= ~LP_ABORT;
minor359drivers/char/lp.cLP_WAIT(minor) = arg;
minor364drivers/char/lp.cstruct lp_struct *lp = &lp_table[minor];
minor370drivers/char/lp.coldirq = LP_IRQ(minor);
minor405drivers/char/lp.cLP_IRQ(minor) = newirq;
minor406drivers/char/lp.clp_reset(minor);
minor410drivers/char/lp.cretval = LP_IRQ(minor);
minor40drivers/char/mouse.cint minor = MINOR(inode->i_rdev);
minor42drivers/char/mouse.cswitch (minor) {
minor1466drivers/char/tty_io.cint major, minor;
minor1470drivers/char/tty_io.cminor = MINOR(inode->i_rdev);
minor1474drivers/char/tty_io.cif (!minor) {
minor1476drivers/char/tty_io.cminor = current->tty;
minor1480drivers/char/tty_io.cif (!minor) {
minor1481drivers/char/tty_io.cminor = fg_console + 1;
minor1488drivers/char/tty_io.cif (minor <= 0)
minor1490drivers/char/tty_io.cif (IS_A_PTY_MASTER(minor))
minor1492drivers/char/tty_io.cfilp->f_rdev = (major << 8) | minor;
minor1493drivers/char/tty_io.cretval = init_dev(minor);
minor1496drivers/char/tty_io.ctty = tty_table[minor];
minor1530drivers/char/tty_io.crelease_dev(minor, filp);
minor1542drivers/char/tty_io.ccurrent->tty = minor;
minor1546drivers/char/tty_io.cfilp->f_rdev = MKDEV(TTY_MAJOR,minor); /* Set it to something normal */
minor494drivers/sound/sb16_dsp.cint             i, major, minor;
minor496drivers/sound/sb16_dsp.cmajor = minor = 0;
minor506drivers/sound/sb16_dsp.cminor = INB (DSP_READ);
minor513drivers/sound/sb16_dsp.csprintf (sb16_dsp_operations.name, "SoundBlaster 16 %d.%d", major, minor);
minor52drivers/sound/sb_dsp.cstatic int  major=1, minor=0;  /* DSP version */
minor654drivers/sound/sb_dsp.cmajor = minor = 0;
minor665drivers/sound/sb_dsp.cminor = INB (DSP_READ);
minor686drivers/sound/sb_dsp.cif (major > 3 || (major == 3 && minor > 0))  /* SB Pro2 or later */
minor695drivers/sound/sb_dsp.csprintf (sb_dsp_operations.name, "SoundBlaster Pro %d.%d", major, minor);
minor701drivers/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 # */
minor1697net/inet/sock.cint minor, ret;
minor1700net/inet/sock.cminor = MINOR(inode->i_rdev);
minor1701net/inet/sock.cif (minor != 0) return(-ENODEV);
minor1704net/inet/sock.cswitch(minor) {
minor837net/unix/sock.cint minor;
minor840net/unix/sock.cminor = MINOR(inode->i_rdev);
minor841net/unix/sock.cif (minor != 0) return(-ENODEV);
minor858net/unix/sock.cint minor, ret;
minor862net/unix/sock.cminor = MINOR(inode->i_rdev);
minor863net/unix/sock.cif (minor != 0) return(-ENODEV);
minor103tools/build.cminor_root = minor(sb.st_dev);
minor110tools/build.cminor_root = minor(sb.st_rdev);