taglinefilesource code
hd36drivers/block/genhd.cstatic void extended_partition(struct gendisk *hd, int dev)
hd41drivers/block/genhd.cint mask = (1 << hd->minor_shift) - 1;
hd43drivers/block/genhd.cfirst_sector = hd->part[MINOR(dev)].start_sect;
hd47drivers/block/genhd.cif ((current_minor & mask) >= (4 + hd->max_p))
hd65drivers/block/genhd.c!(hd->part[current_minor].nr_sects = p->nr_sects))
hd67drivers/block/genhd.chd->part[current_minor].start_sect = this_sector + p->start_sect;
hd68drivers/block/genhd.cprintk(" %s%c%d", hd->major_name,
hd69drivers/block/genhd.c'a'+(current_minor >> hd->minor_shift),
hd81drivers/block/genhd.c!(hd->part[current_minor].nr_sects = p->nr_sects))
hd83drivers/block/genhd.chd->part[current_minor].start_sect = first_sector + p->start_sect;
hd85drivers/block/genhd.cdev = ((hd->major) << 8) | current_minor;
hd94drivers/block/genhd.cstatic void check_partition(struct gendisk *hd, unsigned int dev)
hd101drivers/block/genhd.cint mask = (1 << hd->minor_shift) - 1;
hd106drivers/block/genhd.cfirst_sector = hd->part[MINOR(dev)].start_sect;
hd111drivers/block/genhd.cprintk("  %s%c:", hd->major_name, 'a'+(minor >> hd->minor_shift));
hd116drivers/block/genhd.cif (!(hd->part[minor].nr_sects = p->nr_sects))
hd118drivers/block/genhd.chd->part[minor].start_sect = first_sector + p->start_sect;
hd119drivers/block/genhd.cprintk(" %s%c%d", hd->major_name,'a'+(minor >> hd->minor_shift), i);
hd124drivers/block/genhd.cextended_partition(hd, (hd->major << 8) | minor);
hd139drivers/block/genhd.chd->part[current_minor].start_sect = p->start_sect;
hd140drivers/block/genhd.chd->part[current_minor].nr_sects = p->nr_sects;
hd141drivers/block/genhd.cprintk(" %s%c%d", hd->major_name,
hd142drivers/block/genhd.c'a'+(current_minor >> hd->minor_shift),
hd84drivers/block/hd.cstatic struct hd_struct hd[MAX_HD<<6]={{0,0},};
hd460drivers/block/hd.cif (dev >= (NR_HD<<6) || block >= hd[dev].nr_sects) {
hd463drivers/block/hd.cblock, hd[dev].nr_sects);
hd468drivers/block/hd.cblock += hd[dev].start_sect;
hd542drivers/block/hd.cput_fs_long(hd[MINOR(inode->i_rdev)].start_sect,
hd556drivers/block/hd.cput_fs_long(hd[MINOR(inode->i_rdev)].nr_sects,
hd608drivers/block/hd.chd,    /* hd struct */
hd691drivers/block/hd.chd[i<<6].nr_sects = 0;
hd703drivers/block/hd.chd[i<<6].nr_sects = hd_info[i].head*