/haiku/src/tools/fs_shell/ |
H A D | unistd.cpp | 160 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 D | mmc_disk.h | 45 * geometry.cylinder_count * geometry.head_count; in DeviceSize()
|
H A D | mmc_disk.cpp | 172 geometry->head_count = 1; in mmc_block_get_geometry()
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | mkdos.cpp | 140 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 D | PartitioningSystemsTest.cpp | 72 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 D | mkvirtualdrive.cpp | 128 info.geometry.head_count = heads; in install_file() 201 * info.geometry.head_count; in info_for_device()
|
H A D | virtualdrive.cpp | 209 * 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 D | atari.h | 43 uint8 head_count; member
|
/haiku/src/add-ons/kernel/file_systems/shared/ |
H A D | DeviceOpener.cpp | 129 *_size = 1ULL * geometry.head_count * geometry.cylinder_count in GetSize()
|
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KDiskDevice.cpp | 399 * fDeviceData.geometry.head_count; in _InitPartitionData() 414 fDeviceData.geometry.head_count = 0; in _ResetGeometry()
|
H A D | KFileDiskDevice.cpp | 171 geometry->head_count = heads; in GetGeometry()
|
/haiku/src/bin/ |
H A D | driveinfo.c | 65 printf("head_count:\t%" B_PRIu32 "\n", geom.head_count); in dump_geom()
|
/haiku/headers/os/drivers/ |
H A D | Drivers.h | 128 uint32 head_count; /* # heads */ member
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_drivers.h | 149 uint32_t head_count; /* # heads */ member
|
/haiku/src/add-ons/kernel/drivers/disk/norflash/ |
H A D | norflash.cpp | 124 deviceGeometry->head_count = 1; in nor_ioctl()
|
/haiku/src/system/kernel/device_manager/ |
H A D | FileDevice.cpp | 331 geometry.head_count = heads; in Control()
|
H A D | devfs.cpp | 1849 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 D | remote_disk.cpp | 98 geometry->head_count = 1; in GetGeometry()
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | kernel_interface.cpp | 580 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 D | Volume.cpp | 106 * geometry.cylinder_count * geometry.head_count; in Init()
|
/haiku/src/tests/system/kernel/file_corruption/driver/ |
H A D | checksum_device.cpp | 357 * 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 D | virtio_block.cpp | 155 geometry->cylinder_count, geometry->head_count, geometry->device_type, in get_geometry()
|
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/ |
H A D | scsi_disk.cpp | 118 geometry->head_count, geometry->device_type, in get_geometry()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device.c | 613 * geometry.head_count * geometry.bytes_per_sector; in ntfs_device_size_get()
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | Disk.cpp | 149 * geometry.head_count * geometry.bytes_per_sector; in Disk()
|