Home
last modified time | relevance | path

Searched refs:g_cylinders (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
125 if (g_heads && g_sectors && g_cylinders) in chs_warn()
131 if (!g_cylinders) printf(" cylinders"); in chs_warn()
380 g_cylinders = total_number_sectors/(g_heads * g_sectors * sector_fac); in read_mbr()
382 if (!g_cylinders) g_cylinders = toys.optflags & FLAG_C? TT.cylinders : 0; in read_mbr()
383 if ((g_cylinders > ONE_K) && !(toys.optflags & (FLAG_l | FLAG_S))) in read_mbr()
386 "and could in certain setups cause problems.\n", g_cylinders); in read_mbr()
435 if (g_cylinders <= ONE_K && (physbc != lbc || physbh != lbh || physbs != lbs)) { in consistency_check()
440 if (g_cylinders <= ONE_K && (physec != lec || physeh != leh || physes != les)) { in consistency_check()
507 xprintf("%ld heads, %ld sectors/track, %ld cylinders", g_heads, g_sectors, g_cylinders); in print_mbr()
[all …]