Searched refs:cth (Results 1 – 1 of 1) sorted by relevance
734 uint32_t secs, cylinders, heads, spt, cth; in vhd_chs() local743 cth = secs / spt; in vhd_chs()747 cth = secs / spt; in vhd_chs()748 heads = (cth + 1023) / 1024; in vhd_chs()753 if (cth >= (heads * 1024) || heads > 16) { in vhd_chs()755 cth = secs / spt; in vhd_chs()759 if (cth >= heads * 1024) { in vhd_chs()761 cth = secs / spt; in vhd_chs()766 cylinders = cth / heads; in vhd_chs()
Completed in 8 milliseconds