tag | line | file | source code |
part | 60 | drivers/block/genhd.c | unsigned int part = minor & ((1 << hd->minor_shift) - 1); |
part | 77 | drivers/block/genhd.c | if (part) |
part | 78 | drivers/block/genhd.c | printk("%d", part); |
part | 85 | drivers/block/genhd.c | hd->part[minor].start_sect = start; |
part | 86 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
part | 116 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
part | 117 | drivers/block/genhd.c | first_size = hd->part[MINOR(dev)].nr_sects; |
part | 136 | drivers/block/genhd.c | this_size = hd->part[MINOR(dev)].nr_sects; |
part | 185 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = NR_SECTS(p); |
part | 186 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + START_SECT(p); |
part | 307 | drivers/block/genhd.c | hd->sizes[minor] = hd->part[minor].nr_sects |
part | 313 | drivers/block/genhd.c | if (hd->part[minor].nr_sects > 2) |
part | 314 | drivers/block/genhd.c | hd->part[minor].nr_sects = 2; |
part | 489 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
part | 496 | drivers/block/genhd.c | hd->part[MINOR(dev)].start_sect = 0; |
part | 542 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
part | 554 | drivers/block/genhd.c | dev->part[i].start_sect = 0; |
part | 555 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
part | 565 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
part | 1110 | drivers/block/hd.c | gdev->part[minor].start_sect = 0; |
part | 1111 | drivers/block/hd.c | gdev->part[minor].nr_sects = 0; |
part | 1118 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
part | 1839 | drivers/block/ide-cd.c | drive->part[0].nr_sects = toc->capacity * SECTORS_PER_FRAME; |
part | 509 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 511 | drivers/block/ide.c | drive->part[0].start_sect = -1; /* skip partition check */ |
part | 543 | drivers/block/ide.c | gd->part = kmalloc (minors * sizeof(struct hd_struct), GFP_KERNEL); |
part | 552 | drivers/block/ide.c | hwif->drives[unit].part = &gd->part[unit << PARTN_BITS]; |
part | 1326 | drivers/block/ide.c | if ((blockend < block) || (blockend > drive->part[minor&PARTN_MASK].nr_sects)) { |
part | 1331 | drivers/block/ide.c | block += drive->part[minor&PARTN_MASK].start_sect + drive->sect0; |
part | 1804 | drivers/block/ide.c | if (drive->part[p].nr_sects > 0) { |
part | 1810 | drivers/block/ide.c | drive->part[p].start_sect = 0; |
part | 1811 | drivers/block/ide.c | drive->part[p].nr_sects = 0; |
part | 1814 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 1857 | drivers/block/ide.c | put_user((unsigned)drive->part[MINOR(inode->i_rdev)&PARTN_MASK].start_sect, |
part | 1877 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
part | 2812 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 331 | drivers/block/ide.h | struct hd_struct *part; /* drive partition table */ |
part | 589 | drivers/block/md.c | md_gendisk.part[i].start_sect=-1; |
part | 320 | drivers/block/xd.c | xd_gendisk.part[minor].start_sect = 0; |
part | 321 | drivers/block/xd.c | xd_gendisk.part[minor].nr_sects = 0; |
part | 324 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
part | 1288 | drivers/scsi/sd.c | sd_gendisk.part = sd; |
part | 1407 | drivers/scsi/sd.c | gdev->part[minor].start_sect = 0; |
part | 1408 | drivers/scsi/sd.c | gdev->part[minor].nr_sects = 0; |
part | 1420 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
part | 1453 | drivers/scsi/sd.c | sd_gendisk.part[minor].start_sect = 0; |
part | 1454 | drivers/scsi/sd.c | sd_gendisk.part[minor].nr_sects = 0; |
part | 59 | include/linux/genhd.h | struct hd_struct *part; /* partition table */ |