/haiku/src/tools/fs_shell/ |
H A D | unistd.cpp | 159 geometry->cylinder_count = systemGeometry.cylinder_count; in fssh_ioctl() 184 geometry->cylinder_count = blocks / heads; in fssh_ioctl() 197 geometry->cylinder_count = partitionSize / bytesPerCylinder; in fssh_ioctl() 247 geometry->cylinder_count = disklabel.d_ncylinders; in fssh_ioctl() 284 geometry->cylinder_count = mediaSize / geometry->head_count in fssh_ioctl() 287 while (geometry->cylinder_count > 1024 in fssh_ioctl() 290 geometry->cylinder_count /= 2; in fssh_ioctl() 295 geometry->cylinder_count = mediaSize in fssh_ioctl()
|
/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 | 171 geometry->cylinder_count = 1 << (csd.c_size_mult() + 2); in mmc_block_get_geometry()
|
/haiku/src/tests/add-ons/kernel/partitioning_systems/ |
H A D | PartitioningSystemsTest.cpp | 71 device->geometry.cylinder_count = blocks / heads; in create_disk_device() 81 * device->geometry.cylinder_count * device->geometry.sectors_per_track in create_disk_device() 105 printf(" cylinder count %lu\n", data->geometry.cylinder_count); in print_disk_device() 108 * data->geometry.cylinder_count * data->geometry.sectors_per_track in print_disk_device()
|
/haiku/src/tests/kits/storage/virtualdrive/ |
H A D | mkvirtualdrive.cpp | 127 info.geometry.cylinder_count = blocks / heads; in install_file() 200 * info.geometry.cylinder_count in info_for_device()
|
H A D | virtualdrive.cpp | 208 * info.geometry.cylinder_count in init_device_info() 231 info.geometry.cylinder_count = blocks / heads; in init_device_info() 239 * info.geometry.cylinder_count in init_device_info() 645 dg->cylinder_count = 1024; in virtualdrive_control()
|
/haiku/src/add-ons/kernel/partitioning_systems/atari/ |
H A D | atari.h | 42 uint16 cylinder_count; member
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | mkdos.cpp | 141 biosGeometry.cylinder_count, in _dosfs_initialize() 151 deviceGeometry.cylinder_count, in _dosfs_initialize() 203 * deviceGeometry.sectors_per_track * deviceGeometry.cylinder_count in _dosfs_initialize() 207 * biosGeometry.sectors_per_track * biosGeometry.cylinder_count in _dosfs_initialize()
|
/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 | 398 * fDeviceData.geometry.cylinder_count in _InitPartitionData() 413 fDeviceData.geometry.cylinder_count = 0; in _ResetGeometry()
|
H A D | KFileDiskDevice.cpp | 170 geometry->cylinder_count = blocks / heads; in GetGeometry()
|
/haiku/src/bin/ |
H A D | driveinfo.c | 64 printf("cylinder_count:\t%" B_PRIu32 "\n", geom.cylinder_count); in dump_geom()
|
/haiku/headers/os/drivers/ |
H A D | Drivers.h | 127 uint32 cylinder_count; /* # cylinders */ member
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_drivers.h | 148 uint32_t cylinder_count; /* # cylinders */ member
|
/haiku/src/add-ons/kernel/drivers/disk/norflash/ |
H A D | norflash.cpp | 123 deviceGeometry->cylinder_count = 1; in nor_ioctl()
|
/haiku/src/system/kernel/device_manager/ |
H A D | FileDevice.cpp | 330 geometry.cylinder_count = blocks / heads; in Control()
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/ |
H A D | remote_disk.cpp | 97 geometry->cylinder_count = remoteDisk->Size() / REMOTE_DISK_BLOCK_SIZE; in GetGeometry()
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | kernel_interface.cpp | 579 TRACE(("\tcylinder_count: %ld\n", geometry.cylinder_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() 1109 geometry.cylinder_count = device->DeviceSize() / B_PAGE_SIZE; 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 | 117 geometry->sectors_per_track, geometry->cylinder_count, in get_geometry()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device.c | 612 size = (off_t)geometry.cylinder_count * geometry.sectors_per_track in ntfs_device_size_get()
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | Disk.cpp | 148 fSize = (off_t)geometry.cylinder_count * geometry.sectors_per_track in Disk()
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/ |
H A D | nbd.c | 595 geometry.cylinder_count = cookie->dev->size / BLKSIZE; in nbd_control()
|