Searched refs:g_heads (Results 1 – 1 of 1) sorted by relevance
86 static long g_cylinders, g_heads, g_sectors, g_sect_size; variable104 if (dos_flag && (start / (g_sectors * g_heads) > 1023)) in set_hsc()105 start = g_heads * g_sectors * ONE_K - 1; in set_hsc()108 p->head = start % g_heads; in set_hsc()109 start /= g_heads; in set_hsc()113 if (dos_flag && (end / (g_sectors * g_heads) > 1023)) in set_hsc()114 end = g_heads * g_sectors * ONE_K - 1; in set_hsc()117 p->end_head = end % g_heads; in set_hsc()118 end /= g_heads; in set_hsc()125 if (g_heads && g_sectors && g_cylinders) in chs_warn()[all …]