tag | line | file | source code |
current_minor | 20 | kernel/blk_drv/genhd.c | static int current_minor = 0; |
current_minor | 47 | kernel/blk_drv/genhd.c | if ((current_minor & mask) >= (4 + hd->max_p)) |
current_minor | 64 | kernel/blk_drv/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
current_minor | 66 | kernel/blk_drv/genhd.c | hd->part[current_minor].start_sect = this_sector + p->start_sect; |
current_minor | 68 | kernel/blk_drv/genhd.c | 'a'+(current_minor >> hd->minor_shift), |
current_minor | 69 | kernel/blk_drv/genhd.c | mask & current_minor); |
current_minor | 70 | kernel/blk_drv/genhd.c | current_minor++; |
current_minor | 80 | kernel/blk_drv/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
current_minor | 82 | kernel/blk_drv/genhd.c | hd->part[current_minor].start_sect = first_sector + p->start_sect; |
current_minor | 84 | kernel/blk_drv/genhd.c | dev = ((hd->major) << 8) | current_minor; |
current_minor | 96 | kernel/blk_drv/genhd.c | int i, minor = current_minor; |
current_minor | 111 | kernel/blk_drv/genhd.c | current_minor += 4; /* first "extra" minor */ |
current_minor | 119 | kernel/blk_drv/genhd.c | if ((current_minor & 0x3f) >= 60) |
current_minor | 132 | kernel/blk_drv/genhd.c | for (i = 4 ; i < 16 ; i++, current_minor++) { |
current_minor | 134 | kernel/blk_drv/genhd.c | if ((current_minor & mask) >= mask-2) |
current_minor | 138 | kernel/blk_drv/genhd.c | hd->part[current_minor].start_sect = p->start_sect; |
current_minor | 139 | kernel/blk_drv/genhd.c | hd->part[current_minor].nr_sects = p->nr_sects; |
current_minor | 141 | kernel/blk_drv/genhd.c | 'a'+(current_minor >> hd->minor_shift), |
current_minor | 142 | kernel/blk_drv/genhd.c | current_minor & mask); |
current_minor | 167 | kernel/blk_drv/genhd.c | current_minor = 1+(drive<<dev->minor_shift); |
current_minor | 188 | kernel/blk_drv/genhd.c | current_minor = 1+(drive<<dev->minor_shift); |