Lines Matching defs:cylinder
153 * The BIOS calls originally used an 8bit register for cylinder, head and
155 * cylinder number. The BIOS will translate this faked geometry either to
161 * disk partitions to cylinder boundaries (certainly traditional!).
171 * cylinder boundaries makes this happen all the time.
881 printf("%*s beg: cylinder %4d, head %3d, sector %2d\n",
885 printf("%*s end: cylinder %4d, head %3d, sector %2d\n",
1235 /* Default to using 'traditional' cylinder alignment */
1726 * table as a list of eight mapping between (cylinder, head, sector)
1732 get_mapping(int i, unsigned int *cylinder, unsigned int *head, unsigned int *sector,
1740 *cylinder = MBR_PCYL(part->mbrp_scyl, part->mbrp_ssect);
1745 *cylinder = MBR_PCYL(part->mbrp_ecyl, part->mbrp_esect);
1752 if ((*cylinder == 0) && (*sector == 0) && (*head == 0))
1757 if ((((*cylinder * MAXHEAD) + *head) * MAXSECTOR + *sector) < *absolute)
2315 tcylinder = decimal("beginning cylinder",
2328 tcylinder = decimal("ending cylinder",
2369 "(%d sectors/cylinder)\ntotal sectors: %"PRIdaddr", "
2374 "(%d sectors/cylinder)\ntotal sectors: %"PRIdaddr"\n\n",
2470 int cylinder, head;
2472 cylinder = sector / dos_cylindersectors;
2473 sector -= cylinder * dos_cylindersectors;
2477 cylinder > 1023)
2478 cylinder = 1023;
2480 *cylinderp = DOSCYL(cylinder);
2482 *sectorp = DOSSECT(sector + 1, cylinder);
2884 /* adjustments for cylinder boundary */