HomeSort by: relevance | last modified time | path
    Searched refs:xsectors (Results 1 - 2 of 2) sorted by relevancy

  /src/sbin/fdisk/
fdisk.c 1628 int xheads = -1, xsectors = -1, i, j; local
1675 xsectors = a1 / (c1 * xheads + h1);
1690 if (xsectors == -1) {
1696 xcylinders = disklabel.d_secperunit / xheads / xsectors;
1697 if (disklabel.d_secperunit > xcylinders * xheads * xsectors)
1710 if (xsectors * (c1 * xheads + h1) + s1 != a1)
1724 dos_sectors = xsectors;
  /src/usr.sbin/sysinst/
mbr.c 839 daddr_t xsectors = pm->dlsec; local
841 if (xcylinders > MAXCYL || xheads > MAXHEAD || xsectors > MAXSECTOR) {
842 xsectors = MAXSECTOR;
850 *sec = xsectors;
2477 daddr_t xsectors, xsize; local
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...]

Completed in 28 milliseconds