tag | line | file | source code |
gdev | 1102 | drivers/block/hd.c | struct gendisk * gdev; |
gdev | 1109 | drivers/block/hd.c | gdev = &GENDISK_STRUCT; |
gdev | 1120 | drivers/block/hd.c | max_p = gdev->max_p; |
gdev | 1121 | drivers/block/hd.c | start = target << gdev->minor_shift; |
gdev | 1128 | drivers/block/hd.c | gdev->part[start+i].start_sect = 0; |
gdev | 1129 | drivers/block/hd.c | gdev->part[start+i].nr_sects = 0; |
gdev | 1136 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
gdev | 1137 | drivers/block/hd.c | resetup_one_dev(gdev, target); |
gdev | 1110 | drivers/scsi/sd.c | struct gendisk * gdev; |
gdev | 1116 | drivers/scsi/sd.c | gdev = &GENDISK_STRUCT; |
gdev | 1127 | drivers/scsi/sd.c | max_p = gdev->max_p; |
gdev | 1128 | drivers/scsi/sd.c | start = target << gdev->minor_shift; |
gdev | 1135 | drivers/scsi/sd.c | gdev->part[start+i].start_sect = 0; |
gdev | 1136 | drivers/scsi/sd.c | gdev->part[start+i].nr_sects = 0; |
gdev | 1143 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
gdev | 1144 | drivers/scsi/sd.c | resetup_one_dev(gdev, target); |