Home
last modified time | relevance | path

Searched refs:g_sectors (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/pending/
Dfdisk.c86 static long g_cylinders, g_heads, g_sectors, g_sect_size; variable
104 if (dos_flag && (start / (g_sectors * g_heads) > 1023)) in set_hsc()
105 start = g_heads * g_sectors * ONE_K - 1; in set_hsc()
106 p->sector = (start % g_sectors) + 1; in set_hsc()
107 start /= g_sectors; 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()
115 p->end_sector = (end % g_sectors) + 1; in set_hsc()
116 end /= g_sectors; in set_hsc()
125 if (g_heads && g_sectors && g_cylinders) in chs_warn()
[all …]