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

/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Dmbr.c1752 int xcylinders, xheads, i, j; local
1765 xcylinders = dlcyl;
1768 if (xcylinders > MAXCYL || xheads > MAXHEAD || xsectors > MAXSECTOR) {
1771 xcylinders = dlsize / (MAXSECTOR * MAXHEAD);
1772 if (xcylinders > MAXCYL)
1773 xcylinders = MAXCYL;
1775 *cyl = xcylinders;
1809 xcylinders = dlsize / xheads / xsectors;
1810 if (dlsize != xcylinders * xheads * xsectors)
1811 xcylinders
[all...]
/netbsd-6-1-5-RELEASE/sbin/fdisk/
H A Dfdisk.c1576 uint32_t xcylinders; local
1643 xcylinders = disklabel.d_secperunit / xheads / xsectors;
1644 if (disklabel.d_secperunit > xcylinders * xheads * xsectors)
1645 xcylinders++;
1666 if (xcylinders > MAXCYL)
1669 dos_cylinders = xcylinders;

Completed in 64 milliseconds