taglinefilesource code
gdev764drivers/block/hd.cstruct gendisk * gdev;
gdev770drivers/block/hd.cgdev = &GENDISK_STRUCT;
gdev780drivers/block/hd.cmax_p = gdev->max_p;
gdev781drivers/block/hd.cstart = target << gdev->minor_shift;
gdev788drivers/block/hd.cgdev->part[start+i].start_sect = 0;
gdev789drivers/block/hd.cgdev->part[start+i].nr_sects = 0;
gdev796drivers/block/hd.cgdev->part[start].nr_sects = CAPACITY;
gdev797drivers/block/hd.cresetup_one_dev(gdev, target);
gdev932drivers/scsi/sd.cstruct gendisk * gdev;
gdev938drivers/scsi/sd.cgdev = &GENDISK_STRUCT;
gdev949drivers/scsi/sd.cmax_p = gdev->max_p;
gdev950drivers/scsi/sd.cstart = target << gdev->minor_shift;
gdev957drivers/scsi/sd.cgdev->part[start+i].start_sect = 0;
gdev958drivers/scsi/sd.cgdev->part[start+i].nr_sects = 0;
gdev965drivers/scsi/sd.cgdev->part[start].nr_sects = CAPACITY;
gdev966drivers/scsi/sd.cresetup_one_dev(gdev, target);