taglinefilesource code
gdev1082drivers/block/hd.cstruct gendisk * gdev;
gdev1089drivers/block/hd.cgdev = &GENDISK_STRUCT;
gdev1100drivers/block/hd.cmax_p = gdev->max_p;
gdev1101drivers/block/hd.cstart = target << gdev->minor_shift;
gdev1108drivers/block/hd.cgdev->part[start+i].start_sect = 0;
gdev1109drivers/block/hd.cgdev->part[start+i].nr_sects = 0;
gdev1116drivers/block/hd.cgdev->part[start].nr_sects = CAPACITY;
gdev1117drivers/block/hd.cresetup_one_dev(gdev, target);
gdev1293drivers/scsi/sd.cstruct gendisk * gdev;
gdev1300drivers/scsi/sd.cgdev = &GENDISK_STRUCT;
gdev1312drivers/scsi/sd.cmax_p = gdev->max_p;
gdev1313drivers/scsi/sd.cstart = target << gdev->minor_shift;
gdev1320drivers/scsi/sd.cgdev->part[start+i].start_sect = 0;
gdev1321drivers/scsi/sd.cgdev->part[start+i].nr_sects = 0;
gdev1333drivers/scsi/sd.cgdev->part[start].nr_sects = CAPACITY;
gdev1334drivers/scsi/sd.cresetup_one_dev(gdev, target);