tag | line | file | source code |
part | 69 | drivers/block/genhd.c | unsigned int part; |
part | 90 | drivers/block/genhd.c | part = minor & ((1 << hd->minor_shift) - 1); |
part | 91 | drivers/block/genhd.c | if (part) |
part | 92 | drivers/block/genhd.c | sprintf(buf, "%s%c%d", maj, unit, part); |
part | 101 | drivers/block/genhd.c | hd->part[minor].start_sect = start; |
part | 102 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
part | 132 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
part | 133 | drivers/block/genhd.c | first_size = hd->part[MINOR(dev)].nr_sects; |
part | 152 | drivers/block/genhd.c | this_size = hd->part[MINOR(dev)].nr_sects; |
part | 201 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = NR_SECTS(p); |
part | 202 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + START_SECT(p); |
part | 323 | drivers/block/genhd.c | hd->sizes[minor] = hd->part[minor].nr_sects |
part | 329 | drivers/block/genhd.c | if (hd->part[minor].nr_sects > 2) |
part | 330 | drivers/block/genhd.c | hd->part[minor].nr_sects = 2; |
part | 506 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
part | 513 | drivers/block/genhd.c | hd->part[MINOR(dev)].start_sect = 0; |
part | 558 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
part | 570 | drivers/block/genhd.c | dev->part[i].start_sect = 0; |
part | 571 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
part | 581 | 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 | 1840 | 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 | 1327 | drivers/block/ide.c | if ((blockend < block) || (blockend > drive->part[minor&PARTN_MASK].nr_sects)) { |
part | 1332 | drivers/block/ide.c | block += drive->part[minor&PARTN_MASK].start_sect + drive->sect0; |
part | 1811 | drivers/block/ide.c | if (drive->part[p].nr_sects > 0) { |
part | 1817 | drivers/block/ide.c | drive->part[p].start_sect = 0; |
part | 1818 | drivers/block/ide.c | drive->part[p].nr_sects = 0; |
part | 1821 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 1864 | drivers/block/ide.c | put_user((unsigned)drive->part[MINOR(inode->i_rdev)&PARTN_MASK].start_sect, |
part | 1884 | drivers/block/ide.c | return write_fs_long(arg, drive->part[MINOR(inode->i_rdev)&PARTN_MASK].nr_sects); |
part | 2821 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 3153 | drivers/block/ide.c | kfree(gd->part); |
part | 335 | 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 */ |