tag | line | file | source code |
current_minor | 20 | drivers/block/genhd.c | static int current_minor = 0; |
current_minor | 60 | drivers/block/genhd.c | if ((current_minor & mask) >= (4 + hd->max_p)) |
current_minor | 79 | drivers/block/genhd.c | add_partition(hd, current_minor, this_sector+p->start_sect, p->nr_sects); |
current_minor | 80 | drivers/block/genhd.c | current_minor++; |
current_minor | 90 | drivers/block/genhd.c | !(hd->part[current_minor].nr_sects = p->nr_sects)) |
current_minor | 92 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + p->start_sect; |
current_minor | 94 | drivers/block/genhd.c | dev = ((hd->major) << 8) | current_minor; |
current_minor | 106 | drivers/block/genhd.c | int i, minor = current_minor; |
current_minor | 131 | drivers/block/genhd.c | current_minor += 4; /* first "extra" minor (for extended partitions) */ |
current_minor | 138 | drivers/block/genhd.c | if ((current_minor & 0x3f) >= 60) |
current_minor | 151 | drivers/block/genhd.c | for (i = 4 ; i < 16 ; i++, current_minor++) { |
current_minor | 153 | drivers/block/genhd.c | if ((current_minor & mask) >= mask-2) |
current_minor | 157 | drivers/block/genhd.c | add_partition(hd, current_minor, p->start_sect, p->nr_sects); |
current_minor | 182 | drivers/block/genhd.c | current_minor = 1+(drive<<dev->minor_shift); |
current_minor | 203 | drivers/block/genhd.c | current_minor = 1+(drive<<dev->minor_shift); |