Searched refs:xsectors (Results 1 - 2 of 2) sorted by relevance

/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Dmbr.c1753 daddr_t xsectors; local
1767 xsectors = dlsec;
1768 if (xcylinders > MAXCYL || xheads > MAXHEAD || xsectors > MAXSECTOR) {
1769 xsectors = MAXSECTOR;
1777 *sec = xsectors;
1794 xsectors = a1 / (c1 * xheads + h1);
1809 xcylinders = dlsize / xheads / xsectors;
1810 if (dlsize != xcylinders * xheads * xsectors)
1824 if (xsectors * (c1 * xheads + h1) + s1 != a1)
1834 *sec = xsectors;
[all...]
/netbsd-6-1-5-RELEASE/sbin/fdisk/
H A Dfdisk.c1577 int xheads = -1, xsectors = -1, i, j; local
1624 xsectors = a1 / (c1 * xheads + h1);
1637 if (xsectors == -1) {
1643 xcylinders = disklabel.d_secperunit / xheads / xsectors;
1644 if (disklabel.d_secperunit > xcylinders * xheads * xsectors)
1657 if (xsectors * (c1 * xheads + h1) + s1 != a1)
1671 dos_sectors = xsectors;

Completed in 72 milliseconds