Lines Matching defs:geo
122 static int vdc_getgeo(struct gendisk *disk, struct hd_geometry *geo)
127 geo->heads = 0xff;
128 geo->sectors = 0x3f;
129 sector_div(cylinders, geo->heads * geo->sectors);
130 geo->cylinders = cylinders;
131 if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect)
132 geo->cylinders = 0xffff;