Lines Matching defs:cyls
840 int cyls, heads, secs, translation;
851 "cyls", "heads", "secs", "trans",
863 cyls = heads = secs = 0;
939 if (get_param_value(buf, sizeof(buf), "cyls", str)) {
940 cyls = strtol(buf, NULL, 0);
951 if (cyls || heads || secs) {
952 if (cyls < 1 || cyls > 16383) {
953 fprintf(stderr, "qemu: '%s' invalid physical cyls number\n", str);
967 if (!cyls) {
969 "qemu: '%s' trans must be used with cyls,heads and secs\n",
989 if (cyls || secs || heads) {
1142 if (cyls != 0) {
1143 bdrv_set_geometry_hint(bdrv, cyls, heads, secs);
2072 int cyls, heads, secs, translation;
2114 cyls = heads = secs = 0;
2219 if (cyls == 0)
2223 ",cyls=%d,heads=%d,secs=%d%s",
2224 0, cyls, heads, secs,
2254 cyls = strtol(p, (char **)&p, 0);
2255 if (cyls < 1 || cyls > 16383)
2287 HD_ALIAS ",cyls=%d,heads=%d,secs=%d%s",
2288 0, cyls, heads, secs,