Lines Matching refs:heads
1037 int cyls, heads, secs, translation;
1048 "cyls", "heads", "secs", "trans",
1060 cyls = heads = secs = 0;
1140 if (get_param_value(buf, sizeof(buf), "heads", str)) {
1141 heads = strtol(buf, NULL, 0);
1148 if (cyls || heads || secs) {
1153 if (heads < 1 || heads > 16) {
1154 fprintf(stderr, "qemu: '%s' invalid physical heads number\n", str);
1166 "qemu: '%s' trans must be used with cyls,heads and secs\n",
1186 if (cyls || secs || heads) {
1340 bdrv_set_geometry_hint(bdrv, cyls, heads, secs);
2539 int cyls, heads, secs, translation;
2593 cyls = heads = secs = 0;
2716 ",cyls=%d,heads=%d,secs=%d%s",
2717 0, cyls, heads, secs,
2756 heads = strtol(p, (char **)&p, 0);
2757 if (heads < 1 || heads > 16)
2783 snprintf(num, sizeof(num), "%d", heads);
2784 qemu_opt_set(hda_opts, "heads", num);