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 | 146 | drivers/block/genhd.c | add_partition(hd, current_minor, this_sector+p->start_sect, p->nr_sects); |
current_minor | 147 | drivers/block/genhd.c | current_minor++; |
current_minor | 148 | drivers/block/genhd.c | if ((current_minor & mask) == 0) |
current_minor | 168 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = p->nr_sects; |
current_minor | 169 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + p->start_sect; |
current_minor | 171 | drivers/block/genhd.c | dev = MKDEV(hd->major, current_minor); |
current_minor | 180 | drivers/block/genhd.c | int i, minor = current_minor; |
current_minor | 264 | drivers/block/genhd.c | current_minor += 4; /* first "extra" minor (for extended partitions) */ |
current_minor | 292 | drivers/block/genhd.c | for (i = 4 ; i < 16 ; i++, current_minor++) { |
current_minor | 294 | drivers/block/genhd.c | if ((current_minor & mask) == 0) |
current_minor | 298 | drivers/block/genhd.c | add_partition(hd, current_minor, p->start_sect, p->nr_sects); |
current_minor | 366 | drivers/block/genhd.c | if ((current_minor & mask) == 0) |
current_minor | 369 | drivers/block/genhd.c | add_partition(hd, current_minor, |
current_minor | 372 | drivers/block/genhd.c | current_minor++; |
current_minor | 441 | drivers/block/genhd.c | add_partition(hd, current_minor, st_sector, p->num_sectors); |
current_minor | 442 | drivers/block/genhd.c | current_minor++; |
current_minor | 503 | drivers/block/genhd.c | current_minor = 1 + first_minor; |
current_minor | 530 | drivers/block/genhd.c | current_minor = 1 + first_minor; |