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

/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dbootsector.c153 PedCHSGeometry* bios_geom = &fs->geom->dev->bios_geom; local
172 bios_geom->cylinders, bios_geom->heads,
173 bios_geom->sectors)) {
176 fs_info->sectors_per_track = bios_geom->sectors;
177 fs_info->heads = bios_geom->heads;
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Ddevice.h91 PedCHSGeometry bios_geom; member in struct:_PedDevice
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Ddisk.c376 PedCHSGeometry* bios_geom = &dev->bios_geom; local
377 PED_ASSERT (bios_geom->sectors != 0, return NULL);
378 PED_ASSERT (bios_geom->heads != 0, return NULL);
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dsun.c194 const PedCHSGeometry* bios_geom = &dev->bios_geom; local
195 PedSector cyl_size = bios_geom->sectors * bios_geom->heads;
207 PED_ASSERT (bios_geom->cylinders == (PedSector) (dev->length / cyl_size),
218 label->pcylcount = PED_CPU_TO_BE16 (bios_geom->cylinders);
222 label->ntrks = PED_CPU_TO_BE16 (bios_geom->heads);
223 label->nsect = PED_CPU_TO_BE16 (bios_geom->sectors);
319 dev->bios_geom = dev->hw_geom;
326 if (PED_BE16_TO_CPU(label->nsect) != dev->bios_geom
[all...]
H A Ddos.c342 chs_to_sector (const PedDevice* dev, const PedCHSGeometry *bios_geom, argument
349 PED_ASSERT (bios_geom != NULL, return 0);
360 return (c * bios_geom->heads + h) * bios_geom->sectors + s;
364 sector_to_chs (const PedDevice* dev, const PedCHSGeometry* bios_geom, argument
372 if (!bios_geom)
373 bios_geom = &dev->bios_geom;
375 real_c = sector / (bios_geom->heads * bios_geom
391 legacy_start(const PedDisk* disk, const PedCHSGeometry* bios_geom, const DosRawPartition* raw_part) argument
401 legacy_end(const PedDisk* disk, const PedCHSGeometry* bios_geom, const DosRawPartition* raw_part) argument
433 partition_check_bios_geometry(PedPartition* part, PedCHSGeometry* bios_geom) argument
459 disk_check_bios_geometry(const PedDisk* disk, PedCHSGeometry* bios_geom) argument
476 probe_filesystem_for_geom(const PedPartition* part, PedCHSGeometry* bios_geom) argument
566 probe_partition_for_geom(const PedPartition* part, PedCHSGeometry* bios_geom) argument
701 partition_probe_bios_geometry(const PedPartition* part, PedCHSGeometry* bios_geom) argument
727 disk_probe_bios_geometry(const PedDisk* disk, PedCHSGeometry* bios_geom) argument
1003 PedCHSGeometry bios_geom = disk->dev->bios_geom; local
1027 PedCHSGeometry bios_geom; local
1058 fill_ext_raw_part_geom(DosRawPartition* raw_part, const PedCHSGeometry* bios_geom, const PedGeometry* geom, PedSector offset) argument
1106 PedCHSGeometry bios_geom; local
1152 PedCHSGeometry bios_geom; local
1576 _best_solution(const PedPartition* part, const PedCHSGeometry* bios_geom, PedGeometry* a, PedGeometry* b) argument
1628 _primary_constraint(const PedDisk* disk, const PedCHSGeometry* bios_geom, PedGeometry* min_geom) argument
1677 _primary_start_constraint(const PedDisk* disk, const PedPartition *part, const PedCHSGeometry* bios_geom, const PedGeometry* min_geom) argument
1730 _logical_constraint(const PedDisk* disk, const PedCHSGeometry* bios_geom, PedSector start_offset, int is_start_part) argument
1776 _get_min_extended_part_geom(const PedPartition* ext_part, const PedCHSGeometry* bios_geom) argument
1811 _align_primary(PedPartition* part, const PedCHSGeometry* bios_geom, const PedConstraint* constraint) argument
1845 _logical_min_start_head(const PedPartition* part, const PedCHSGeometry* bios_geom, const PedPartition* ext_part, int is_start_ext_part) argument
1920 _align_logical(PedPartition* part, const PedCHSGeometry* bios_geom, const PedConstraint* constraint) argument
1972 _align(PedPartition* part, const PedCHSGeometry* bios_geom, const PedConstraint* constraint) argument
2066 PedCHSGeometry bios_geom; local
2143 PedCHSGeometry bios_geom; local
2296 PedCHSGeometry bios_geom; local
[all...]

Completed in 27 milliseconds