/src/usr.sbin/sysinst/ |
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...] |
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...] |
/src/sbin/fdisk/ |
fdisk.c | 1625 int xheads = -1, xsectors = -1, i, j; local in function:intuit_translated_geometry 1671 xheads = num / denom; 1672 xsectors = a1 / (c1 * xheads + h1); 1676 if (xheads != -1) 1680 if (xheads == -1) { 1693 xcylinders = disklabel.d_secperunit / xheads / xsectors; 1694 if (disklabel.d_secperunit > xcylinders * xheads * xsectors) 1707 if (xsectors * (c1 * xheads + h1) + s1 != a1) 1720 dos_heads = xheads;
|
fdisk.c | 1625 int xheads = -1, xsectors = -1, i, j; local in function:intuit_translated_geometry 1671 xheads = num / denom; 1672 xsectors = a1 / (c1 * xheads + h1); 1676 if (xheads != -1) 1680 if (xheads == -1) { 1693 xcylinders = disklabel.d_secperunit / xheads / xsectors; 1694 if (disklabel.d_secperunit > xcylinders * xheads * xsectors) 1707 if (xsectors * (c1 * xheads + h1) + s1 != a1) 1720 dos_heads = xheads;
|