tag | line | file | source code |
minor | 36 | include/linux/lp.h | #define LP_B(minor) lp_table[(minor)].base |
minor | 37 | include/linux/lp.h | #define LP_F(minor) lp_table[(minor)].flags |
minor | 38 | include/linux/lp.h | #define LP_S(minor) inb(LP_B((minor)) + 1) |
minor | 95 | kernel/blk_drv/genhd.c | int i, minor = current_minor; |
minor | 106 | kernel/blk_drv/genhd.c | printk("%s%d :\n\r", hd->major_name, minor >> hd->minor_shift); |
minor | 110 | kernel/blk_drv/genhd.c | for (i=1 ; i<=4 ; minor++,i++,p++) { |
minor | 111 | kernel/blk_drv/genhd.c | if (!(hd->part[minor].nr_sects = p->nr_sects)) |
minor | 113 | kernel/blk_drv/genhd.c | hd->part[minor].start_sect = first_sector + p->start_sect; |
minor | 115 | kernel/blk_drv/genhd.c | hd->part[minor].start_sect, hd->part[minor].nr_sects, |
minor | 116 | kernel/blk_drv/genhd.c | hd->part[minor].start_sect + hd->part[minor].nr_sects - 1); |
minor | 120 | kernel/blk_drv/genhd.c | extended_partition(hd, (hd->major << 8) | minor); |
minor | 81 | kernel/blk_drv/ll_rw_blk.c | int minor,major; |
minor | 84 | kernel/blk_drv/ll_rw_blk.c | minor = MINOR(dev); |
minor | 86 | kernel/blk_drv/ll_rw_blk.c | return ro_bits[major][minor >> 5] & (1 << (minor & 31)); |
minor | 91 | kernel/blk_drv/ll_rw_blk.c | int minor,major; |
minor | 94 | kernel/blk_drv/ll_rw_blk.c | minor = MINOR(dev); |
minor | 96 | kernel/blk_drv/ll_rw_blk.c | if (flag) ro_bits[major][minor >> 5] |= 1 << (minor & 31); |
minor | 97 | kernel/blk_drv/ll_rw_blk.c | else ro_bits[major][minor >> 5] &= ~(1 << (minor & 31)); |
minor | 14 | kernel/chr_drv/lp.c | static int lp_reset(int minor) |
minor | 19 | kernel/chr_drv/lp.c | outb(0, LP_B(minor)+2); |
minor | 22 | kernel/chr_drv/lp.c | outb(LP_PSELECP | LP_PINITP, LP_B(minor)+2); |
minor | 23 | kernel/chr_drv/lp.c | return LP_S(minor); |
minor | 26 | kernel/chr_drv/lp.c | static int lp_char(char lpchar, int minor) |
minor | 31 | kernel/chr_drv/lp.c | outb(lpchar, LP_B(minor)); |
minor | 33 | kernel/chr_drv/lp.c | retval = LP_S(minor); |
minor | 38 | kernel/chr_drv/lp.c | printk("lp%d timeout\n\r", minor); |
minor | 42 | kernel/chr_drv/lp.c | outb(( LP_PSELECP | LP_PINITP | LP_PSTROBE ), ( LP_B( minor ) + 2 )); |
minor | 44 | kernel/chr_drv/lp.c | outb(( LP_PSELECP | LP_PINITP ), ( LP_B( minor ) + 2 )); |
minor | 46 | kernel/chr_drv/lp.c | return LP_S(minor); |
minor | 52 | kernel/chr_drv/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
minor | 58 | kernel/chr_drv/lp.c | retval = lp_char(c, minor); |
minor | 61 | kernel/chr_drv/lp.c | LP_F(minor) |= LP_NOPA; |
minor | 64 | kernel/chr_drv/lp.c | LP_F(minor) &= ~LP_NOPA; |
minor | 67 | kernel/chr_drv/lp.c | LP_F(minor) &= ~LP_SELEC; |
minor | 70 | kernel/chr_drv/lp.c | LP_F(minor) &= ~LP_SELEC; |
minor | 74 | kernel/chr_drv/lp.c | LP_F(minor) |= LP_ERR; |
minor | 77 | kernel/chr_drv/lp.c | LP_F(minor) &= ~LP_SELEC; |
minor | 94 | kernel/chr_drv/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
minor | 96 | kernel/chr_drv/lp.c | if (minor >= LP_NO) |
minor | 98 | kernel/chr_drv/lp.c | if ((LP_F(minor) & LP_EXIST) == 0) |
minor | 100 | kernel/chr_drv/lp.c | if (LP_F(minor) & LP_BUSY) |
minor | 102 | kernel/chr_drv/lp.c | LP_F(minor) |= LP_BUSY; |
minor | 108 | kernel/chr_drv/lp.c | unsigned int minor = MINOR(inode->i_rdev); |
minor | 110 | kernel/chr_drv/lp.c | LP_F(minor) &= ~LP_BUSY; |
minor | 47 | mm/mmap.c | int major, minor; |
minor | 50 | mm/mmap.c | minor = MINOR(inode->i_rdev); |
minor | 58 | mm/mmap.c | if (major != 1 || minor != 1) |
minor | 73 | tools/build.c | minor_root = minor(sb.st_rdev); |