/haiku/src/tools/fs_shell/ |
H A D | unistd.cpp | 157 geometry->sectors_per_track in fssh_ioctl() 158 = systemGeometry.sectors_per_track; in fssh_ioctl() 185 geometry->sectors_per_track = 1; in fssh_ioctl() 198 geometry->sectors_per_track = hdGeometry.sectors; in fssh_ioctl() 248 geometry->sectors_per_track = disklabel.d_nsectors; in fssh_ioctl() 283 geometry->sectors_per_track = 63; in fssh_ioctl() 285 / geometry->sectors_per_track; in fssh_ioctl() 297 / geometry->sectors_per_track; in fssh_ioctl()
|
/haiku/src/add-ons/kernel/partitioning_systems/atari/ |
H A D | atari.h | 50 uint8 sectors_per_track; member 88 uint16 sectors_per_track; /* LE */ member
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 49 uint32 sectors_per_track; member 227 parameters->sectors_per_track = regs.ecx & 0x3f; in get_drive_parameters() 229 * parameters->sectors_per_track; in get_drive_parameters() 710 fParameters.sectors_per_track = 18; in FloppyDrive() 731 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, in FloppyDrive() 745 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, in FloppyDrive() 827 int sectorsPerTrack = fParameters.sectors_per_track; in ReadBlocks() 902 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, in BIOSDrive() 916 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, in BIOSDrive() 1044 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, in XHDIDrive() [all …]
|
/haiku/src/add-ons/kernel/drivers/disk/mmc/ |
H A D | mmc_disk.h | 44 return (off_t)geometry.bytes_per_sector * geometry.sectors_per_track in DeviceSize()
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | mkdos.cpp | 142 biosGeometry.sectors_per_track, in _dosfs_initialize() 152 deviceGeometry.sectors_per_track, 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() 406 temp16 = hasBiosGeometry ? biosGeometry.sectors_per_track : 63; in _dosfs_initialize() 443 temp16 = hasBiosGeometry ? biosGeometry.sectors_per_track : 63; in _dosfs_initialize()
|
/haiku/src/tests/add-ons/kernel/partitioning_systems/ |
H A D | PartitioningSystemsTest.cpp | 70 device->geometry.sectors_per_track = 1; in create_disk_device() 81 * device->geometry.cylinder_count * device->geometry.sectors_per_track in create_disk_device() 104 printf(" sectors per track %lu\n", data->geometry.sectors_per_track); in print_disk_device() 108 * data->geometry.cylinder_count * data->geometry.sectors_per_track in print_disk_device()
|
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | devices.cpp | 64 uint32 sectors_per_track; member 260 parameters->sectors_per_track = regs.ecx & 0x3f; in get_drive_parameters() 262 * parameters->sectors_per_track; in get_drive_parameters() 588 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, in BIOSDrive() 602 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, in BIOSDrive() 671 uint32 sector = pos % fParameters.sectors_per_track + 1; in ReadAt() 673 uint32 head = pos / fParameters.sectors_per_track; in ReadAt()
|
/haiku/src/tests/kits/storage/virtualdrive/ |
H A D | mkvirtualdrive.cpp | 126 info.geometry.sectors_per_track = 1; in install_file() 199 * info.geometry.sectors_per_track in info_for_device()
|
H A D | virtualdrive.cpp | 207 * info.geometry.sectors_per_track in init_device_info() 230 info.geometry.sectors_per_track = 1; in init_device_info() 238 * info.geometry.sectors_per_track in init_device_info() 644 dg->sectors_per_track = info.size / (512 * 1024); in virtualdrive_control()
|
/haiku/src/add-ons/kernel/file_systems/shared/ |
H A D | DeviceOpener.cpp | 130 * geometry.sectors_per_track * geometry.bytes_per_sector; in GetSize()
|
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KDiskDevice.cpp | 397 * fDeviceData.geometry.sectors_per_track in _InitPartitionData() 412 fDeviceData.geometry.sectors_per_track = 0; in _ResetGeometry()
|
H A D | KFileDiskDevice.cpp | 169 geometry->sectors_per_track = 1; in GetGeometry()
|
/haiku/src/bin/ |
H A D | driveinfo.c | 63 printf("sectors_per_track:\t%" B_PRIu32 "\n", geom.sectors_per_track); in dump_geom()
|
/haiku/headers/os/drivers/ |
H A D | Drivers.h | 126 uint32 sectors_per_track; /* # sectors per track */ member
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_drivers.h | 147 uint32_t sectors_per_track; /* # sectors per track */ member
|
/haiku/src/add-ons/kernel/drivers/disk/norflash/ |
H A D | norflash.cpp | 122 deviceGeometry->sectors_per_track = info->totalsize / info->blocksize; in nor_ioctl()
|
/haiku/src/system/kernel/device_manager/ |
H A D | FileDevice.cpp | 329 geometry.sectors_per_track = 1; in Control()
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/ |
H A D | remote_disk.cpp | 96 geometry->sectors_per_track = 1; in GetGeometry()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | mkntfs.c | 218 long sectors_per_track; /* -S, number of sectors per track on device */ member 466 opts2->sectors_per_track = -1; in mkntfs_init_options() 3340 if (opts.sectors_per_track < 0) { in mkntfs_override_vol_params() 3341 opts.sectors_per_track = ntfs_device_sectors_per_track_get( in mkntfs_override_vol_params() 3343 if (opts.sectors_per_track < 0) { in mkntfs_override_vol_params() 3348 opts.sectors_per_track = 0; in mkntfs_override_vol_params() 3350 } else if (opts.sectors_per_track > 65535) { in mkntfs_override_vol_params() 3355 opts.sectors_per_track = 0; in mkntfs_override_vol_params() 3358 } else if (opts.sectors_per_track > 65535) { in mkntfs_override_vol_params() 4337 bs->bpb.sectors_per_track = cpu_to_le16(opts.sectors_per_track); in mkntfs_create_root_structures() [all …]
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | kernel_interface.cpp | 578 TRACE(("\tsectors_per_track: %ld\n", geometry.sectors_per_track)); in udf_mount() 582 numBlock = (off_t)geometry.sectors_per_track in udf_mount()
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | Volume.cpp | 105 size = (off_t)geometry.bytes_per_sector * geometry.sectors_per_track in Init()
|
/haiku/src/tests/system/kernel/file_corruption/driver/ |
H A D | checksum_device.cpp | 356 * geometry.sectors_per_track in Init() 1108 geometry.sectors_per_track = 1; in checksum_raw_device_control()
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/virtio_block/ |
H A D | virtio_block.cpp | 154 ", %d, %d, %d, %d\n", geometry->bytes_per_sector, geometry->sectors_per_track, 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()
|