mbr.c | 838 int xheads = pm->dlhead; local in function:guess_biosgeom_from_parts 841 if (xcylinders > MAXCYL || xheads > MAXHEAD || xsectors > MAXSECTOR) { 843 xheads = MAXHEAD; 849 *head = xheads; 2476 int xcylinders, xheads, i, j; local in function:mbr_guess_geom 2482 xheads = -1; 2496 xheads = (int)(num / denom); 2497 xsectors = a1 / (c1 * xheads + h1); 2501 if (xheads != -1) 2505 if (xheads == -1 [all...] |