Home
last modified time | relevance | path

Searched refs:cylinder_count (Results 1 – 25 of 35) sorted by relevance

12

/haiku/src/tools/fs_shell/
H A Dunistd.cpp159 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 Dmmc_disk.h45 * geometry.cylinder_count * geometry.head_count; in DeviceSize()
H A Dmmc_disk.cpp171 geometry->cylinder_count = 1 << (csd.c_size_mult() + 2); in mmc_block_get_geometry()
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp71 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 Dmkvirtualdrive.cpp127 info.geometry.cylinder_count = blocks / heads; in install_file()
200 * info.geometry.cylinder_count in info_for_device()
H A Dvirtualdrive.cpp208 * 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 Datari.h42 uint16 cylinder_count; member
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dmkdos.cpp141 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 DDeviceOpener.cpp129 *_size = 1ULL * geometry.head_count * geometry.cylinder_count in GetSize()
/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDevice.cpp398 * fDeviceData.geometry.cylinder_count in _InitPartitionData()
413 fDeviceData.geometry.cylinder_count = 0; in _ResetGeometry()
H A DKFileDiskDevice.cpp170 geometry->cylinder_count = blocks / heads; in GetGeometry()
/haiku/src/bin/
H A Ddriveinfo.c64 printf("cylinder_count:\t%" B_PRIu32 "\n", geom.cylinder_count); in dump_geom()
/haiku/headers/os/drivers/
H A DDrivers.h127 uint32 cylinder_count; /* # cylinders */ member
/haiku/headers/private/fs_shell/
H A Dfssh_drivers.h148 uint32_t cylinder_count; /* # cylinders */ member
/haiku/src/add-ons/kernel/drivers/disk/norflash/
H A Dnorflash.cpp123 deviceGeometry->cylinder_count = 1; in nor_ioctl()
/haiku/src/system/kernel/device_manager/
H A DFileDevice.cpp330 geometry.cylinder_count = blocks / heads; in Control()
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A Dremote_disk.cpp97 geometry->cylinder_count = remoteDisk->Size() / REMOTE_DISK_BLOCK_SIZE; in GetGeometry()
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp579 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 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()
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 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.cpp117 geometry->sectors_per_track, geometry->cylinder_count, in get_geometry()
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice.c612 size = (off_t)geometry.cylinder_count * geometry.sectors_per_track in ntfs_device_size_get()
/haiku/src/bin/bfs_tools/lib/
H A DDisk.cpp148 fSize = (off_t)geometry.cylinder_count * geometry.sectors_per_track in Disk()
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd.c595 geometry.cylinder_count = cookie->dev->size / BLKSIZE; in nbd_control()

12