tag | line | file | source code |
gdev | 764 | drivers/block/hd.c | struct gendisk * gdev; |
gdev | 770 | drivers/block/hd.c | gdev = &GENDISK_STRUCT; |
gdev | 780 | drivers/block/hd.c | max_p = gdev->max_p; |
gdev | 781 | drivers/block/hd.c | start = target << gdev->minor_shift; |
gdev | 788 | drivers/block/hd.c | gdev->part[start+i].start_sect = 0; |
gdev | 789 | drivers/block/hd.c | gdev->part[start+i].nr_sects = 0; |
gdev | 796 | drivers/block/hd.c | gdev->part[start].nr_sects = CAPACITY; |
gdev | 797 | drivers/block/hd.c | resetup_one_dev(gdev, target); |
gdev | 932 | drivers/scsi/sd.c | struct gendisk * gdev; |
gdev | 938 | drivers/scsi/sd.c | gdev = &GENDISK_STRUCT; |
gdev | 949 | drivers/scsi/sd.c | max_p = gdev->max_p; |
gdev | 950 | drivers/scsi/sd.c | start = target << gdev->minor_shift; |
gdev | 957 | drivers/scsi/sd.c | gdev->part[start+i].start_sect = 0; |
gdev | 958 | drivers/scsi/sd.c | gdev->part[start+i].nr_sects = 0; |
gdev | 965 | drivers/scsi/sd.c | gdev->part[start].nr_sects = CAPACITY; |
gdev | 966 | drivers/scsi/sd.c | resetup_one_dev(gdev, target); |