Lines Matching refs:heads
769 int ret, i, heads, sectors, cylinders;
788 heads = p->end_head + 1;
792 cylinders = nb_sectors / (heads * sectors);
795 *pheads = heads;
800 cylinders, heads, sectors);
811 int cylinders, heads, secs;
816 bdrv_get_geometry_hint(bs, &cylinders, &heads, &secs);
820 *pheads = heads;
823 if (guess_disk_lchs(bs, &cylinders, &heads, &secs) == 0) {
824 if (heads > 16) {
825 /* if heads > 16, it means that a BIOS LBA
832 *pheads = heads;
868 int cyls, int heads, int secs)
871 bs->heads = heads;
891 *pheads = bs->heads;