Lines Matching full:heads
179 geo->heads = fd_str.head; in get_geometry()
194 /* Didn't work either... assign a geometry of 64 heads, 32 sectors; this is in get_geometry()
198 geo->heads = opt.heads ? : 64; in get_geometry()
200 geo->cylinders = totalbytes / (geo->heads * geo->sectors << SECTOR_SHIFT); in get_geometry()
203 if (!opt.sectors && !opt.heads) { in get_geometry()
205 "Warning: unable to obtain device geometry (defaulting to %d heads, %d sectors)\n" in get_geometry()
207 geo->heads, geo->sectors); in get_geometry()
285 if (opt.heads) in patch_file_and_bootblock()
286 geo.heads = opt.heads; in patch_file_and_bootblock()
293 dprintf("heads = %u, sect = %u\n", geo.heads, geo.sectors); in patch_file_and_bootblock()
307 set_16(&sbs->bsHeads, geo.heads); in patch_file_and_bootblock()