Searched refs:hw_geom (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dpc98.c160 if (raw_part->ipl_sect >= dev->hw_geom.sectors
161 || raw_part->sector >= dev->hw_geom.sectors
162 || raw_part->end_sector >= dev->hw_geom.sectors
163 || raw_part->ipl_head >= dev->hw_geom.heads
164 || raw_part->head >= dev->hw_geom.heads
165 || raw_part->end_head >= dev->hw_geom.heads
166 || PED_LE16_TO_CPU(raw_part->ipl_cyl) >= dev->hw_geom.cylinders
167 || PED_LE16_TO_CPU(raw_part->cyl) >= dev->hw_geom.cylinders
168 || PED_LE16_TO_CPU(raw_part->end_cyl) >= dev->hw_geom.cylinders
257 return (c * dev->hw_geom
[all...]
H A Drdb.c355 cyl_size = dev->hw_geom.sectors * dev->hw_geom.heads;
386 rdb->rdb_Cylinders = PED_CPU_TO_BE32 (dev->hw_geom.cylinders);
387 rdb->rdb_Sectors = PED_CPU_TO_BE32 (dev->hw_geom.sectors);
388 rdb->rdb_Heads = PED_CPU_TO_BE32 (dev->hw_geom.heads);
390 rdb->rdb_Park = PED_CPU_TO_BE32 (dev->hw_geom.cylinders);
391 rdb->rdb_WritePreComp = PED_CPU_TO_BE32 (dev->hw_geom.cylinders);
392 rdb->rdb_ReducedWrite = PED_CPU_TO_BE32 (dev->hw_geom.cylinders);
402 rdb->rdb_HiCylinder = PED_CPU_TO_BE32 (dev->hw_geom.cylinders -1);
492 disk->dev->hw_geom
[all...]
H A Dsun.c317 if (PED_BE16_TO_CPU(label->nsect) == dev->hw_geom.sectors &&
318 PED_BE16_TO_CPU(label->ntrks) == dev->hw_geom.heads)
319 dev->bios_geom = dev->hw_geom;
766 disk->dev->hw_geom.sectors * disk->dev->hw_geom.heads;
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Ddevice.h90 PedCHSGeometry hw_geom; member in struct:_PedDevice
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ntfs/
H A Dntfs.c217 geom->dev->hw_geom.sectors,
218 geom->dev->hw_geom.heads,
/osnet-11/usr/src/lib/libparted/common/libparted/arch/
H A Dsolaris.c222 dev->hw_geom.sectors = dk_geom.dkg_nsect;
223 dev->hw_geom.heads = dk_geom.dkg_nhead;
224 dev->hw_geom.cylinders = dk_geom.dkg_pcyl;
227 dev->hw_geom = dev->bios_geom;

Completed in 62 milliseconds