tag | line | file | source code |
current_minor | 20 | drivers/block/genhd.c | static int current_minor = 0; |
current_minor | 47 | drivers/block/genhd.c | if ((current_minor & mask) >= (4 + hd->max_p)) |
current_minor | 65 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
current_minor | 67 | drivers/block/genhd.c | hd->part[current_minor].start_sect = this_sector + p->start_sect; |
current_minor | 69 | drivers/block/genhd.c | 'a'+(current_minor >> hd->minor_shift), |
current_minor | 70 | drivers/block/genhd.c | mask & current_minor); |
current_minor | 71 | drivers/block/genhd.c | current_minor++; |
current_minor | 81 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
current_minor | 83 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + p->start_sect; |
current_minor | 85 | drivers/block/genhd.c | dev = ((hd->major) << 8) | current_minor; |
current_minor | 97 | drivers/block/genhd.c | int i, minor = current_minor; |
current_minor | 112 | drivers/block/genhd.c | current_minor += 4; /* first "extra" minor */ |
current_minor | 120 | drivers/block/genhd.c | if ((current_minor & 0x3f) >= 60) |
current_minor | 133 | drivers/block/genhd.c | for (i = 4 ; i < 16 ; i++, current_minor++) { |
current_minor | 135 | drivers/block/genhd.c | if ((current_minor & mask) >= mask-2) |
current_minor | 139 | drivers/block/genhd.c | hd->part[current_minor].start_sect = p->start_sect; |
current_minor | 140 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = p->nr_sects; |
current_minor | 142 | drivers/block/genhd.c | 'a'+(current_minor >> hd->minor_shift), |
current_minor | 143 | drivers/block/genhd.c | current_minor & mask); |
current_minor | 168 | drivers/block/genhd.c | current_minor = 1+(drive<<dev->minor_shift); |
current_minor | 189 | drivers/block/genhd.c | current_minor = 1+(drive<<dev->minor_shift); |