Home | History | Annotate | Download | only in qemu

Lines Matching refs:cylinders

769     int ret, i, heads, sectors, cylinders;
792 cylinders = nb_sectors / (heads * sectors);
793 if (cylinders < 1 || cylinders > 16383)
797 *pcylinders = cylinders;
800 cylinders, heads, sectors);
811 int cylinders, heads, secs;
816 bdrv_get_geometry_hint(bs, &cylinders, &heads, &secs);
818 if (cylinders != 0) {
819 *pcyls = cylinders;
823 if (guess_disk_lchs(bs, &cylinders, &heads, &secs) == 0) {
831 *pcyls = cylinders;
844 cylinders = nb_sectors / (16 * 63);
846 if (cylinders > 16383)
847 cylinders = 16383;
848 else if (cylinders < 2)
849 cylinders = 2;
850 *pcyls = cylinders;