taglinefilesource code
gdev1102drivers/block/hd.cstruct gendisk * gdev;
gdev1109drivers/block/hd.cgdev = &GENDISK_STRUCT;
gdev1120drivers/block/hd.cmax_p = gdev->max_p;
gdev1121drivers/block/hd.cstart = target << gdev->minor_shift;
gdev1128drivers/block/hd.cgdev->part[start+i].start_sect = 0;
gdev1129drivers/block/hd.cgdev->part[start+i].nr_sects = 0;
gdev1136drivers/block/hd.cgdev->part[start].nr_sects = CAPACITY;
gdev1137drivers/block/hd.cresetup_one_dev(gdev, target);
gdev1110drivers/scsi/sd.cstruct gendisk * gdev;
gdev1116drivers/scsi/sd.cgdev = &GENDISK_STRUCT;
gdev1127drivers/scsi/sd.cmax_p = gdev->max_p;
gdev1128drivers/scsi/sd.cstart = target << gdev->minor_shift;
gdev1135drivers/scsi/sd.cgdev->part[start+i].start_sect = 0;
gdev1136drivers/scsi/sd.cgdev->part[start+i].nr_sects = 0;
gdev1143drivers/scsi/sd.cgdev->part[start].nr_sects = CAPACITY;
gdev1144drivers/scsi/sd.cresetup_one_dev(gdev, target);