tag | line | file | source code |
xd_gendisk | 74 | drivers/block/xd.c | static struct gendisk xd_gendisk = { MAJOR_NR,"xd",6,1 << 6,XD_MAXDRIVES,xd_geninit,xd,xd_sizes,0,(void *) xd_info,NULL }; |
xd_gendisk | 93 | drivers/block/xd.c | xd_gendisk.next = gendisk_head; |
xd_gendisk | 94 | drivers/block/xd.c | gendisk_head = &xd_gendisk; |
xd_gendisk | 151 | drivers/block/xd.c | xd_gendisk.nr_real = xd_drives; |
xd_gendisk | 254 | drivers/block/xd.c | int target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition; |
xd_gendisk | 260 | drivers/block/xd.c | for (partition = xd_gendisk.max_p - 1; partition >= 0; partition--) { |
xd_gendisk | 264 | drivers/block/xd.c | xd_gendisk.part[start + partition].start_sect = 0; |
xd_gendisk | 265 | drivers/block/xd.c | xd_gendisk.part[start + partition].nr_sects = 0; |
xd_gendisk | 268 | drivers/block/xd.c | xd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors; |
xd_gendisk | 269 | drivers/block/xd.c | resetup_one_dev(&xd_gendisk,target); |