tag | line | file | source code |
part | 65 | drivers/block/genhd.c | unsigned int part; |
part | 86 | drivers/block/genhd.c | part = minor & ((1 << hd->minor_shift) - 1); |
part | 87 | drivers/block/genhd.c | if (part) |
part | 88 | drivers/block/genhd.c | sprintf(buf, "%s%c%d", maj, unit, part); |
part | 97 | drivers/block/genhd.c | hd->part[minor].start_sect = start; |
part | 98 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
part | 128 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
part | 129 | drivers/block/genhd.c | first_size = hd->part[MINOR(dev)].nr_sects; |
part | 148 | drivers/block/genhd.c | this_size = hd->part[MINOR(dev)].nr_sects; |
part | 197 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = NR_SECTS(p); |
part | 198 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + START_SECT(p); |
part | 319 | drivers/block/genhd.c | hd->sizes[minor] = hd->part[minor].nr_sects |
part | 325 | drivers/block/genhd.c | if (hd->part[minor].nr_sects > 2) |
part | 326 | drivers/block/genhd.c | hd->part[minor].nr_sects = 2; |
part | 502 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
part | 509 | drivers/block/genhd.c | hd->part[MINOR(dev)].start_sect = 0; |
part | 554 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
part | 566 | drivers/block/genhd.c | dev->part[i].start_sect = 0; |
part | 567 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
part | 577 | 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 | 512 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 514 | drivers/block/ide.c | drive->part[0].start_sect = -1; /* skip partition check */ |
part | 539 | drivers/block/ide.c | gd->part = kmalloc (minors * sizeof(struct hd_struct), GFP_KERNEL); |
part | 548 | drivers/block/ide.c | hwif->drives[unit].part = &gd->part[unit << PARTN_BITS]; |
part | 1328 | drivers/block/ide.c | if ((blockend < block) || (blockend > drive->part[minor&PARTN_MASK].nr_sects)) { |
part | 1333 | drivers/block/ide.c | block += drive->part[minor&PARTN_MASK].start_sect + drive->sect0; |
part | 1812 | drivers/block/ide.c | if (drive->part[p].nr_sects > 0) { |
part | 1818 | drivers/block/ide.c | drive->part[p].start_sect = 0; |
part | 1819 | drivers/block/ide.c | drive->part[p].nr_sects = 0; |
part | 1822 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 1865 | drivers/block/ide.c | put_user((unsigned)drive->part[MINOR(inode->i_rdev)&PARTN_MASK].start_sect, |
part | 1885 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
part | 2822 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 3153 | drivers/block/ide.c | kfree(gd->part); |
part | 333 | drivers/block/ide.h | struct hd_struct *part; /* drive partition table */ |
part | 585 | 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 */ |