Searched refs:disp_unit_cyl (Results 1 – 1 of 1) sorted by relevance
85 static int num_parts, disp_unit_cyl, dos_flag, dev_fd = 3; variable490 disp_unit_cyl == 0? start_sec: start_cyl, in list_partitions()491 disp_unit_cyl == 0? end_sec: end_cyl, in list_partitions()508 if (!disp_unit_cyl) { in print_mbr()521 disp_unit_cyl = dos_flag = 1; in init_members()749 if (!disp_unit_cyl) val *= g_heads * g_sectors; in ask_value()770 unsigned long unit = (disp_unit_cyl && (g_heads * g_sectors))? g_heads * g_sectors : 1; in ask_value()820 if (disp_unit_cyl) limit = (sector_t)g_sectors * g_heads * g_cylinders - 1; in ask_start_sector()823 if (disp_unit_cyl) //make the begin of every partition to cylnder boundary in ask_start_sector()847 sprintf(mesg, "First %s (%lld - %lld, default %lld): ", disp_unit_cyl? "cylinder" : "sector", in ask_start_sector()[all …]