tag | line | file | source code |
gdev | 1082 | drivers/block/hd.c | struct gendisk * gdev; |
gdev | 1089 | drivers/block/hd.c | gdev = &GENDISK_STRUCT; |
gdev | 1100 | drivers/block/hd.c | max_p = gdev->max_p; |
gdev | 1101 | drivers/block/hd.c | start = target << gdev->minor_shift; |
gdev | 1108 | drivers/block/hd.c | gdev->part[start+i].start_sect = 0; |
gdev | 1109 | drivers/block/hd.c | gdev->part[start+i].nr_sects = 0; |
gdev | 1116 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
gdev | 1117 | drivers/block/hd.c | resetup_one_dev(gdev, target); |
gdev | 1293 | drivers/scsi/sd.c | struct gendisk * gdev; |
gdev | 1300 | drivers/scsi/sd.c | gdev = &GENDISK_STRUCT; |
gdev | 1312 | drivers/scsi/sd.c | max_p = gdev->max_p; |
gdev | 1313 | drivers/scsi/sd.c | start = target << gdev->minor_shift; |
gdev | 1320 | drivers/scsi/sd.c | gdev->part[start+i].start_sect = 0; |
gdev | 1321 | drivers/scsi/sd.c | gdev->part[start+i].nr_sects = 0; |
gdev | 1333 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
gdev | 1334 | drivers/scsi/sd.c | resetup_one_dev(gdev, target); |