Lines Matching defs:geo
123 static int vdc_getgeo(struct block_device *bdev, struct hd_geometry *geo)
129 geo->heads = 0xff;
130 geo->sectors = 0x3f;
131 sector_div(cylinders, geo->heads * geo->sectors);
132 geo->cylinders = cylinders;
133 if ((sector_t)(geo->cylinders + 1) * geo->heads * geo->sectors < nsect)
134 geo->cylinders = 0xffff;