Searched refs:cylinder (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dgptsync.c43 int cylinder, head, sector; local
48 cylinder = lba / (sectors * heads);
50 if (cylinder >= cylinders)
56 *cl = sector | ((cylinder & 0x300) >> 2);
57 *ch = cylinder & 0xFF;
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Data.c212 unsigned int cylinder; local
216 /* Calculate the sector, cylinder and head to use. */
218 cylinder = (((grub_uint32_t) sector / dev->sectors_per_track)
223 || cylinder > dev->cylinders
231 parms->taskfile.cyllsb = cylinder & 0xFF;
232 parms->taskfile.cylmsb = cylinder >> 8;
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c1533 /* Embed a Stage 1.5 in the first cylinder after MBR or in the
1980 char *cylinder, *head, *sector, *total_sector;
1983 cylinder = ptr;
1984 head = skip_to (0, cylinder);
1987 if (! safe_parse_maxint (&cylinder, &num_cylinder)
3803 int cylinder, head, sector;
3807 cylinder = lba / (buf_geom.sectors * buf_geom.heads);
3809 if (cylinder >= buf_geom.cylinders)
3810 cylinder = buf_geom.cylinders - 1;
3812 *cl = sector | ((cylinder
1959 char *cylinder, *head, *sector, *total_sector; local
3765 int cylinder, head, sector; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DTrig.pm362 based on a cylinder surface. The radius of the cylinder is B<rho>,
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Ddos.c99 /* This constant contains the maximum cylinder number that can be represented
100 * in (C,H,S) notation. Higher cylinder numbers are reserved for
124 uint8_t cylinder; member in struct:__anon2263
325 return chs->cylinder + ((chs->sector >> 6) << 8);
385 chs->cylinder = real_c % 0x100;
534 * This involves some maths. Let (c,h,s,a) be the starting cylinder,
538 * are the sizes of a single cylinder and a single head, respectively.
1622 * beginning of a cylinder, and end at the end of a cylinder.
1624 * cylinder, becaus
[all...]

Completed in 464 milliseconds