tag | line | file | source code |
part | 36 | drivers/block/genhd.c | unsigned int part = minor & ((1 << hd->minor_shift) - 1); |
part | 53 | drivers/block/genhd.c | if (part) |
part | 54 | drivers/block/genhd.c | printk("%d", part); |
part | 61 | drivers/block/genhd.c | hd->part[minor].start_sect = start; |
part | 62 | drivers/block/genhd.c | hd->part[minor].nr_sects = size; |
part | 86 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
part | 107 | drivers/block/genhd.c | this_size = hd->part[MINOR(dev)].nr_sects; |
part | 150 | drivers/block/genhd.c | hd->part[current_minor].nr_sects = p->nr_sects; |
part | 151 | drivers/block/genhd.c | hd->part[current_minor].start_sect = first_sector + p->start_sect; |
part | 243 | drivers/block/genhd.c | hd->sizes[minor] = hd->part[minor].nr_sects |
part | 249 | drivers/block/genhd.c | hd->part[minor].nr_sects = 0; |
part | 351 | drivers/block/genhd.c | first_sector = hd->part[MINOR(dev)].start_sect; |
part | 358 | drivers/block/genhd.c | hd->part[MINOR(dev)].start_sect = 0; |
part | 401 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
part | 414 | drivers/block/genhd.c | dev->part[i].start_sect = 0; |
part | 415 | drivers/block/genhd.c | dev->part[i].nr_sects = 0; |
part | 425 | drivers/block/genhd.c | dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); |
part | 1108 | drivers/block/hd.c | gdev->part[start+i].start_sect = 0; |
part | 1109 | drivers/block/hd.c | gdev->part[start+i].nr_sects = 0; |
part | 1116 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
part | 458 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 460 | drivers/block/ide.c | drive->part[0].start_sect = -1; /* skip partition check */ |
part | 519 | drivers/block/ide.c | gd->part = ide_alloc (minors * sizeof(struct hd_struct), 0); |
part | 528 | drivers/block/ide.c | hwif->drives[unit].part = &gd->part[unit << PARTN_BITS]; |
part | 1336 | drivers/block/ide.c | if ((blockend < block) || (blockend > drive->part[minor&PARTN_MASK].nr_sects)) { |
part | 1341 | drivers/block/ide.c | block += drive->part[minor&PARTN_MASK].start_sect + drive->sect0; |
part | 1725 | drivers/block/ide.c | if (drive->part[p].nr_sects > 0) { |
part | 1730 | drivers/block/ide.c | drive->part[p].start_sect = 0; |
part | 1731 | drivers/block/ide.c | drive->part[p].nr_sects = 0; |
part | 1734 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 1775 | drivers/block/ide.c | put_user((unsigned)drive->part[inode->i_rdev&PARTN_MASK].start_sect, |
part | 1795 | drivers/block/ide.c | return write_fs_long(arg, drive->part[inode->i_rdev&PARTN_MASK].nr_sects); |
part | 2672 | drivers/block/ide.c | drive->part[0].nr_sects = current_capacity(drive); |
part | 279 | drivers/block/ide.h | struct hd_struct *part; /* drive partition table */ |
part | 310 | drivers/block/xd.c | xd_gendisk.part[start + partition].start_sect = 0; |
part | 311 | drivers/block/xd.c | xd_gendisk.part[start + partition].nr_sects = 0; |
part | 314 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
part | 1204 | drivers/scsi/sd.c | sd_gendisk.part = sd; |
part | 1320 | drivers/scsi/sd.c | gdev->part[start+i].start_sect = 0; |
part | 1321 | drivers/scsi/sd.c | gdev->part[start+i].nr_sects = 0; |
part | 1333 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
part | 1366 | drivers/scsi/sd.c | sd_gendisk.part[start+i].start_sect = 0; |
part | 1367 | drivers/scsi/sd.c | sd_gendisk.part[start+i].nr_sects = 0; |
part | 52 | include/linux/genhd.h | struct hd_struct *part; /* partition table */ |