Lines Matching defs:heads
840 int cyls, heads, secs, translation;
851 "cyls", "heads", "secs", "trans",
863 cyls = heads = secs = 0;
943 if (get_param_value(buf, sizeof(buf), "heads", str)) {
944 heads = strtol(buf, NULL, 0);
951 if (cyls || heads || secs) {
956 if (heads < 1 || heads > 16) {
957 fprintf(stderr, "qemu: '%s' invalid physical heads number\n", str);
969 "qemu: '%s' trans must be used with cyls,heads and secs\n",
989 if (cyls || secs || heads) {
1143 bdrv_set_geometry_hint(bdrv, cyls, heads, secs);
2072 int cyls, heads, secs, translation;
2114 cyls = heads = secs = 0;
2223 ",cyls=%d,heads=%d,secs=%d%s",
2224 0, cyls, heads, secs,
2260 heads = strtol(p, (char **)&p, 0);
2261 if (heads < 1 || heads > 16)
2287 HD_ALIAS ",cyls=%d,heads=%d,secs=%d%s",
2288 0, cyls, heads, secs,