taglinefilesource code
xd_gendisk74drivers/block/xd.cstatic struct gendisk xd_gendisk = { MAJOR_NR,"xd",6,1 << 6,XD_MAXDRIVES,xd_geninit,xd,xd_sizes,0,(void *) xd_info,NULL };
xd_gendisk93drivers/block/xd.cxd_gendisk.next = gendisk_head;
xd_gendisk94drivers/block/xd.cgendisk_head = &xd_gendisk;
xd_gendisk151drivers/block/xd.cxd_gendisk.nr_real = xd_drives;
xd_gendisk254drivers/block/xd.cint target = DEVICE_NR(MINOR(dev)),start = target << xd_gendisk.minor_shift,partition;
xd_gendisk260drivers/block/xd.cfor (partition = xd_gendisk.max_p - 1; partition >= 0; partition--) {
xd_gendisk264drivers/block/xd.cxd_gendisk.part[start + partition].start_sect = 0;
xd_gendisk265drivers/block/xd.cxd_gendisk.part[start + partition].nr_sects = 0;
xd_gendisk268drivers/block/xd.cxd_gendisk.part[start].nr_sects = xd_info[target].heads * xd_info[target].cylinders * xd_info[target].sectors;
xd_gendisk269drivers/block/xd.cresetup_one_dev(&xd_gendisk,target);