/src/usr.sbin/sysinst/ |
mbr.c | 839 daddr_t xsectors = pm->dlsec; local in function:guess_biosgeom_from_parts 841 if (xcylinders > MAXCYL || xheads > MAXHEAD || xsectors > MAXSECTOR) { 842 xsectors = MAXSECTOR; 850 *sec = xsectors; 2477 daddr_t xsectors, xsize; local in function:mbr_guess_geom 2497 xsectors = a1 / (c1 * xheads + h1); 2513 xcylinders = xsize / xheads / xsectors; 2514 if (xsize != xcylinders * xheads * xsectors) 2528 if (xsectors * (c1 * xheads + h1) + s1 != a1) 2538 *sec = xsectors; [all...] |
mbr.c | 839 daddr_t xsectors = pm->dlsec; local in function:guess_biosgeom_from_parts 841 if (xcylinders > MAXCYL || xheads > MAXHEAD || xsectors > MAXSECTOR) { 842 xsectors = MAXSECTOR; 850 *sec = xsectors; 2477 daddr_t xsectors, xsize; local in function:mbr_guess_geom 2497 xsectors = a1 / (c1 * xheads + h1); 2513 xcylinders = xsize / xheads / xsectors; 2514 if (xsize != xcylinders * xheads * xsectors) 2528 if (xsectors * (c1 * xheads + h1) + s1 != a1) 2538 *sec = xsectors; [all...] |
mbr.c | 839 daddr_t xsectors = pm->dlsec; local in function:guess_biosgeom_from_parts 841 if (xcylinders > MAXCYL || xheads > MAXHEAD || xsectors > MAXSECTOR) { 842 xsectors = MAXSECTOR; 850 *sec = xsectors; 2477 daddr_t xsectors, xsize; local in function:mbr_guess_geom 2497 xsectors = a1 / (c1 * xheads + h1); 2513 xcylinders = xsize / xheads / xsectors; 2514 if (xsize != xcylinders * xheads * xsectors) 2528 if (xsectors * (c1 * xheads + h1) + s1 != a1) 2538 *sec = xsectors; [all...] |
/src/sbin/fdisk/ |
fdisk.c | 1625 int xheads = -1, xsectors = -1, i, j; local in function:intuit_translated_geometry 1672 xsectors = a1 / (c1 * xheads + h1); 1687 if (xsectors == -1) { 1693 xcylinders = disklabel.d_secperunit / xheads / xsectors; 1694 if (disklabel.d_secperunit > xcylinders * xheads * xsectors) 1707 if (xsectors * (c1 * xheads + h1) + s1 != a1) 1721 dos_sectors = xsectors;
|
fdisk.c | 1625 int xheads = -1, xsectors = -1, i, j; local in function:intuit_translated_geometry 1672 xsectors = a1 / (c1 * xheads + h1); 1687 if (xsectors == -1) { 1693 xcylinders = disklabel.d_secperunit / xheads / xsectors; 1694 if (disklabel.d_secperunit > xcylinders * xheads * xsectors) 1707 if (xsectors * (c1 * xheads + h1) + s1 != a1) 1721 dos_sectors = xsectors;
|
fdisk.c | 1625 int xheads = -1, xsectors = -1, i, j; local in function:intuit_translated_geometry 1672 xsectors = a1 / (c1 * xheads + h1); 1687 if (xsectors == -1) { 1693 xcylinders = disklabel.d_secperunit / xheads / xsectors; 1694 if (disklabel.d_secperunit > xcylinders * xheads * xsectors) 1707 if (xsectors * (c1 * xheads + h1) + s1 != a1) 1721 dos_sectors = xsectors;
|