Home
last modified time | relevance | path

Searched refs:head_count (Results 1 – 25 of 34) sorted by relevance

12

/haiku/src/tools/fs_shell/
H A Dunistd.cpp160 geometry->head_count = systemGeometry.head_count; in fssh_ioctl()
183 geometry->head_count = heads; in fssh_ioctl()
196 geometry->head_count = hdGeometry.heads; in fssh_ioctl()
246 geometry->head_count = disklabel.d_ntracks; in fssh_ioctl()
282 geometry->head_count = 4; in fssh_ioctl()
284 geometry->cylinder_count = mediaSize / geometry->head_count in fssh_ioctl()
288 && geometry->head_count < 256) { in fssh_ioctl()
289 geometry->head_count *= 2; in fssh_ioctl()
293 if (geometry->head_count == 256) { in fssh_ioctl()
294 geometry->head_count = 255; in fssh_ioctl()
[all …]
/haiku/src/add-ons/kernel/drivers/disk/mmc/
H A Dmmc_disk.h45 * geometry.cylinder_count * geometry.head_count; in DeviceSize()
H A Dmmc_disk.cpp172 geometry->head_count = 1; in mmc_block_get_geometry()
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dmkdos.cpp140 biosGeometry.head_count, in _dosfs_initialize()
150 deviceGeometry.head_count, in _dosfs_initialize()
204 * deviceGeometry.head_count; in _dosfs_initialize()
208 * biosGeometry.head_count; in _dosfs_initialize()
408 temp16 = hasBiosGeometry ? biosGeometry.head_count : 255; in _dosfs_initialize()
445 temp16 = hasBiosGeometry ? biosGeometry.head_count : 255; in _dosfs_initialize()
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp72 device->geometry.head_count = heads; in create_disk_device()
80 partition->size = 1LL * device->geometry.head_count in create_disk_device()
107 data->geometry.head_count, 1LL * data->geometry.head_count in print_disk_device()
/haiku/src/tests/kits/storage/virtualdrive/
H A Dmkvirtualdrive.cpp128 info.geometry.head_count = heads; in install_file()
201 * info.geometry.head_count; in info_for_device()
H A Dvirtualdrive.cpp209 * info.geometry.head_count; in init_device_info()
232 info.geometry.head_count = heads; in init_device_info()
240 * info.geometry.head_count; in init_device_info()
646 dg->head_count = 1; in virtualdrive_control()
/haiku/src/add-ons/kernel/partitioning_systems/atari/
H A Datari.h43 uint8 head_count; member
/haiku/src/add-ons/kernel/file_systems/shared/
H A DDeviceOpener.cpp129 *_size = 1ULL * geometry.head_count * geometry.cylinder_count in GetSize()
/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDevice.cpp399 * fDeviceData.geometry.head_count; in _InitPartitionData()
414 fDeviceData.geometry.head_count = 0; in _ResetGeometry()
H A DKFileDiskDevice.cpp171 geometry->head_count = heads; in GetGeometry()
/haiku/src/bin/
H A Ddriveinfo.c65 printf("head_count:\t%" B_PRIu32 "\n", geom.head_count); in dump_geom()
/haiku/headers/os/drivers/
H A DDrivers.h128 uint32 head_count; /* # heads */ member
/haiku/headers/private/fs_shell/
H A Dfssh_drivers.h149 uint32_t head_count; /* # heads */ member
/haiku/src/add-ons/kernel/drivers/disk/norflash/
H A Dnorflash.cpp124 deviceGeometry->head_count = 1; in nor_ioctl()
/haiku/src/system/kernel/device_manager/
H A DFileDevice.cpp331 geometry.head_count = heads; in Control()
H A Ddevfs.cpp1849 stat->st_size = 1LL * geometry.head_count * geometry.cylinder_count in devfs_read_stat()
2240 geometry->head_count = 1; in devfs_compute_geometry_size()
2242 geometry->head_count <<= 1; in devfs_compute_geometry_size()
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A Dremote_disk.cpp98 geometry->head_count = 1; in GetGeometry()
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp580 TRACE(("\thead_count: %ld\n", geometry.head_count)); in udf_mount()
583 * geometry.cylinder_count * geometry.head_count; in udf_mount()
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DVolume.cpp106 * geometry.cylinder_count * geometry.head_count; in Init()
/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp357 * geometry.cylinder_count * geometry.head_count; in Init()
1112 geometry.head_count = 1; in checksum_raw_device_control()
/haiku/src/add-ons/kernel/drivers/disk/virtual/virtio_block/
H A Dvirtio_block.cpp155 geometry->cylinder_count, geometry->head_count, geometry->device_type, in get_geometry()
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/
H A Dscsi_disk.cpp118 geometry->head_count, geometry->device_type, in get_geometry()
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice.c613 * geometry.head_count * geometry.bytes_per_sector; in ntfs_device_size_get()
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp149 * geometry.head_count * geometry.bytes_per_sector; in Disk()

12