Lines Matching refs:secs
1037 int cyls, heads, secs, translation;
1048 "cyls", "heads", "secs", "trans",
1060 cyls = heads = secs = 0;
1144 if (get_param_value(buf, sizeof(buf), "secs", str)) {
1145 secs = strtol(buf, NULL, 0);
1148 if (cyls || heads || secs) {
1157 if (secs < 1 || secs > 63) {
1158 fprintf(stderr, "qemu: '%s' invalid physical secs 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,
2762 secs = strtol(p, (char **)&p, 0);
2763 if (secs < 1 || secs > 63)
2785 snprintf(num, sizeof(num), "%d", secs);
2786 qemu_opt_set(hda_opts, "secs", num);