Searched defs:geometry (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dmedia.c373 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/grub/grub-0.97/stage2/
H A Dbios.c50 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 Dshared.h629 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,
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c87 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/uts/common/pcmcia/sys/
H A Dcis_handlers.h1055 * These tuples describe the device geometry of memory partitions.
1113 cistpl_geometry_t geometry; member in union:cisparse_t

Completed in 70 milliseconds