/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | bios.c | 50 else if READ is BIOSDISK_WRITE, then write it. If an geometry error 54 biosdisk (int read, int drive, struct geometry *geometry, 60 if (geometry->flags & BIOSDISK_FLAG_LBA_EXTENSION) 71 /* XXX: Don't check the geometry by default, because some buggy 75 if (sector >= geometry->total_sectors) 100 if (geometry->flags & BIOSDISK_FLAG_CDROM) 103 geometry->flags &= ~BIOSDISK_FLAG_LBA_EXTENSION; 104 geometry->total_sectors = ((unsigned long long)geometry 52 biosdisk(int read, int drive, struct geometry *geometry, unsigned long long sector, int nsec, int segment) argument 134 get_cdinfo(int drive, struct geometry *geometry) argument 211 get_diskinfo(int drive, struct geometry *geometry) argument [all...] |
H A D | shared.h | 629 extern struct geometry *disks; 692 /* The information for a disk geometry. The CHS information is only for 695 struct geometry struct 719 extern struct geometry buf_geom; 890 int get_diskinfo (int drive, struct geometry *geometry); 891 int biosdisk (int subfunc, int drive, struct geometry *geometry,
|
H A D | common.c | 281 struct geometry geom; 285 /* Get the geometry. This ensures that the drive is present. */ 346 struct geometry geom; 348 /* Get the geometry. */
|
H A D | disk_io.c | 141 struct geometry buf_geom; 175 * wrong disk, then reset the disk geometry. 1535 struct geometry geom;
|
H A D | boot.c | 956 struct geometry geom; 961 break the geometry information. That is a drawback of BSD
|
H A D | builtins.c | 1820 /* geometry */ 1824 struct geometry geom; 1836 /* Check for the geometry. */ 1905 "geometry", 1908 "geometry DRIVE [CYLINDER HEAD SECTOR [TOTAL_SECTOR]]", 1910 " set the geometry of the drive arbitrarily. The number of the cylinders," 2252 struct geometry dest_geom, src_geom;
|
/illumos-gate/usr/src/grub/grub-0.97/lib/ |
H A D | device.h | 36 extern void get_drive_geometry (struct geometry *geom, char **map, int drive);
|
H A D | device.c | 47 # define HDIO_GETGEO 0x0301 /* get device geometry */ 138 /* Get the geometry of a drive DRIVE. */ 140 get_drive_geometry (struct geometry *geom, char **map, int drive) 167 /* Got the geometry, so save it. */
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | media.c | 373 struct dk_geom geometry; local 417 if (ioctl(fd, DKIOCG_PHYGEOM, &geometry) >= 0) { 420 if (ioctl(fd, DKIOCGGEOM, &geometry) >= 0) { 428 geometry.dkg_ncyl * geometry.dkg_nhead * geometry.dkg_nsect) 432 if (nvlist_add_uint32(attrs, DM_NCYLINDERS, geometry.dkg_ncyl) 437 geometry.dkg_pcyl) != 0) { 441 geometry.dkg_acyl) != 0) { 445 geometry [all...] |
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | capacity.notes.txt | 33 I had to come up with some sort of synthetic device geometry in the 34 case that a drive supports LBA access and therefore the BIOS's geometry 68 implement this algorithm in deriving the capacity and geometry 107 the capacity that the current CHS geometry can address and [57:58] must be 124 - Yes, you know that current CHS geometry of the drive, you are done. 125 If you don't like this geometry then issue an Init Drv Params with 146 drive capacity. Issue an Init Drv Params to set the default geometry 161 All we did here was find a CHS geometry and a drive capacity that should 162 work. If the drive has a Master Boot Record then this geometry may not
|
/illumos-gate/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 87 struct geometry *disks = 0; 760 descriptor, not the actual geometry. */ 762 get_diskinfo (int drive, struct geometry *geometry) argument 827 *geometry = disks[drive]; 933 biosdisk (int subfunc, int drive, struct geometry *geometry, argument 937 int fd = geometry->flags; 939 /* Get the file pointer from the geometry, and make sure it matches. */
|
/illumos-gate/usr/src/grub/grub-0.97/util/ |
H A D | mkbimage | 387 geometry $device $cylinders $heads $sectors 390 geometry $geo_option -w $type_option $device $cylinders $heads $sectors
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis_handlers.h | 1055 * These tuples describe the device geometry of memory partitions. 1113 cistpl_geometry_t geometry; member in union:cisparse_t
|