tag | line | file | source code |
current_minor | 30 | drivers/block/genhd.c | static int current_minor = 0; |
current_minor | 104 | drivers/block/genhd.c | if ((current_minor & mask) == 0) |
current_minor | 148 | drivers/block/genhd.c | add_partition(hd, current_minor, this_sector+p->start_sect, p->nr_sects); |
current_minor | 149 | drivers/block/genhd.c | current_minor++; |
current_minor | 150 | drivers/block/genhd.c | if ((current_minor & mask) == 0) |
current_minor | 170 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = p->nr_sects; |
current_minor | 171 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + p->start_sect; |
current_minor | 173 | drivers/block/genhd.c | dev = MKDEV(hd->major, current_minor); |
current_minor | 182 | drivers/block/genhd.c | int i, minor = current_minor; |
current_minor | 265 | drivers/block/genhd.c | current_minor += 4; /* first "extra" minor (for extended partitions) */ |
current_minor | 293 | drivers/block/genhd.c | for (i = 4 ; i < 16 ; i++, current_minor++) { |
current_minor | 295 | drivers/block/genhd.c | if ((current_minor & mask) == 0) |
current_minor | 299 | drivers/block/genhd.c | add_partition(hd, current_minor, p->start_sect, p->nr_sects); |
current_minor | 367 | drivers/block/genhd.c | if ((current_minor & mask) == 0) |
current_minor | 370 | drivers/block/genhd.c | add_partition(hd, current_minor, |
current_minor | 373 | drivers/block/genhd.c | current_minor++; |
current_minor | 430 | drivers/block/genhd.c | current_minor = 1 + first_minor; |
current_minor | 457 | drivers/block/genhd.c | current_minor = 1 + first_minor; |