Searched refs:geo (Results 1 – 2 of 2) sorted by relevance
83 static int nfhd_getgeo(struct block_device *bdev, struct hd_geometry *geo) in nfhd_getgeo() argument87 geo->cylinders = dev->blocks >> (6 - dev->bshift); in nfhd_getgeo()88 geo->heads = 4; in nfhd_getgeo()89 geo->sectors = 16; in nfhd_getgeo()
93 static int ubd_getgeo(struct block_device *bdev, struct hd_geometry *geo);1331 static int ubd_getgeo(struct block_device *bdev, struct hd_geometry *geo) in ubd_getgeo() argument1335 geo->heads = 128; in ubd_getgeo()1336 geo->sectors = 32; in ubd_getgeo()1337 geo->cylinders = ubd_dev->size / (128 * 32 * 512); in ubd_getgeo()