Searched refs:head_count (Results 1 - 25 of 38) sorted by relevance

12

/haiku/src/tools/fs_shell/
H A Dunistd.cpp159 geometry->head_count = systemGeometry.head_count;
182 geometry->head_count = heads;
195 geometry->head_count = hdGeometry.heads;
245 geometry->head_count = disklabel.d_ntracks;
281 geometry->head_count = 4;
283 geometry->cylinder_count = mediaSize / geometry->head_count
287 && geometry->head_count < 256) {
288 geometry->head_count *= 2;
292 if (geometry->head_count
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/atari/
H A Datari.h43 uint8 head_count; member in struct:atari_root_block
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp72 device->geometry.head_count = heads;
80 partition->size = 1LL * device->geometry.head_count
107 data->geometry.head_count, 1LL * data->geometry.head_count
/haiku/src/bin/mkdos/
H A Dmkdos.cpp182 biosGeometry.head_count,
192 deviceGeometry.head_count,
247 size = uint64(deviceGeometry.bytes_per_sector) * deviceGeometry.sectors_per_track * deviceGeometry.cylinder_count * deviceGeometry.head_count;
249 size = uint64(biosGeometry.bytes_per_sector) * biosGeometry.sectors_per_track * biosGeometry.cylinder_count * biosGeometry.head_count;
408 temp16 = hasBiosGeometry ? biosGeometry.head_count : 255;
445 temp16 = hasBiosGeometry ? biosGeometry.head_count : 255;
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dmkdos.cpp162 biosGeometry.head_count,
172 deviceGeometry.head_count,
224 size = uint64(deviceGeometry.bytes_per_sector) * deviceGeometry.sectors_per_track * deviceGeometry.cylinder_count * deviceGeometry.head_count;
226 size = uint64(biosGeometry.bytes_per_sector) * biosGeometry.sectors_per_track * biosGeometry.cylinder_count * biosGeometry.head_count;
389 temp16 = hasBiosGeometry ? biosGeometry.head_count : 255;
426 temp16 = hasBiosGeometry ? biosGeometry.head_count : 255;
H A Ddosfs.c319 * (off_t)geo->head_count) == 196192) {
405 * geo->head_count) {
535 geo.head_count = 1;
/haiku/headers/build/os/drivers/
H A DDrivers.h142 uint32 head_count; /* # heads */ member in struct:__anon26
/haiku/headers/os/drivers/
H A DDrivers.h128 uint32 head_count; /* # heads */ member in struct:__anon3
/haiku/headers/private/fs_shell/
H A Dfssh_drivers.h149 uint32_t head_count; /* # heads */ member in struct:__anon21
/haiku/src/bin/
H A Ddriveinfo.c65 printf("head_count:\t%" B_PRIu32 "\n", geom.head_count);
/haiku/src/tests/kits/storage/virtualdrive/
H A Dvirtualdrive.cpp209 * info.geometry.head_count;
232 info.geometry.head_count = heads;
240 * info.geometry.head_count;
646 dg->head_count = 1;
H A Dmkvirtualdrive.cpp128 info.geometry.head_count = heads;
201 * info.geometry.head_count;
/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDevice.cpp398 * fDeviceData.geometry.head_count;
413 fDeviceData.geometry.head_count = 0;
H A DKFileDiskDevice.cpp171 geometry->head_count = heads;
/haiku/src/add-ons/kernel/drivers/disk/floppy/pc_floppy/
H A Dfloppy_ctrl.c355 flp->bgeom.head_count = 0;
461 flp->bgeom.head_count = geom->g.head_count;
645 cmd->cylinder = lba / (flp->bgeom.sectors_per_track * flp->bgeom.head_count);
646 cmd->head = (lba / flp->bgeom.sectors_per_track) % flp->bgeom.head_count;
712 flp->master->buffer_index = (lba % (flp->bgeom.sectors_per_track/* * flp->bgeom.head_count*/)) * flp->bgeom.bytes_per_sector;
815 flp->master->buffer_index = 0;//(lba % (flp->bgeom.sectors_per_track * flp->bgeom.head_count)) * flp->bgeom.bytes_per_sector;
855 flp->master->track = cmd.cylinder*flp->bgeom.head_count + cmd.head;
872 if ((lba / (flp->bgeom.sectors_per_track)) >= (flp->bgeom.head_count * flp->bgeom.cylinder_count))
H A Dfloppy.c402 cylsize = sectsize * geom->sectors_per_track/* * geom->head_count*/;
405 * (geom->head_count)
513 * (flp->bgeom.head_count)
524 geom->head_count = flp->bgeom.head_count;
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A Dremote_disk.cpp98 geometry->head_count = 1;
/haiku/src/add-ons/kernel/drivers/disk/norflash/
H A Dnorflash.cpp124 deviceGeometry->head_count = 1;
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp578 TRACE(("\thead_count: %ld\n", geometry.head_count));
581 * geometry.cylinder_count * geometry.head_count;
/haiku/src/add-ons/kernel/file_systems/exfat/
H A DVolume.cpp200 *_size = 1ULL * geometry.head_count * geometry.cylinder_count
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DVolume.cpp106 * geometry.cylinder_count * geometry.head_count;
/haiku/src/system/kernel/device_manager/
H A DFileDevice.cpp331 geometry.head_count = heads;
/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp357 * geometry.cylinder_count * geometry.head_count;
1111 // sectors_per_track and head_count.
1112 geometry.head_count = 1;
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice.c613 * geometry.head_count * geometry.bytes_per_sector;
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp149 * geometry.head_count * geometry.bytes_per_sector;

Completed in 166 milliseconds

12