Searched refs:hd_geometry (Results 1 – 13 of 13) sorted by relevance
318 static struct geometry hd_geometry; in get_disk_image_geometry() local327 hd_geometry.sector_shift = 9; /* Assume floppy/HDD at first */ in get_disk_image_geometry()333 sectors = xsectors = (size - offset) >> hd_geometry.sector_shift; in get_disk_image_geometry()335 hd_geometry.hsrc = "guess"; in get_disk_image_geometry()336 hd_geometry.ssrc = "guess"; in get_disk_image_geometry()337 hd_geometry.sectors = sectors; in get_disk_image_geometry()338 hd_geometry.offset = offset; in get_disk_image_geometry()357 hd_geometry.offset += boot_cat->initial_entry.load_block * 2048; in get_disk_image_geometry()360 hd_geometry.boot_lba = boot_cat->initial_entry.load_block * 4; in get_disk_image_geometry()365 hd_geometry.driveno = 0x00; in get_disk_image_geometry()[all …]
34 typedef struct hd_geometry struct_hd_geometry;
35 typedef struct hd_geometry struct_hd_geometry;
13844 * hdio.c: Mpersify struct hd_geometry.
29 struct hd_geometry loc; in main()
187 struct hd_geometry geometry; in GetNumHeads()205 struct hd_geometry geometry; in GetNumSecsPerTrack()
55 struct hd_geometry geom; in stat_bdev()
323 struct hd_geometry { struct
223 static void read_geometry(struct hd_geometry *disk) in read_geometry()225 struct hd_geometry geometry; in read_geometry()347 struct hd_geometry disk; in read_mbr()1407 struct hd_geometry dev_geo; in disk_proper()
120 struct hd_geometry g;166 int get_geometry(int devfd, uint64_t totalbytes, struct hd_geometry *geo) in get_geometry()234 struct hd_geometry geo; in patch_file_and_bootblock()
688 struct hd_geometry geom; in get_device_info()
421 unsigned struct_hd_geometry_sz = sizeof(struct hd_geometry);