Home
last modified time | relevance | path

Searched refs:sectors_per_track (Results 1 – 25 of 38) sorted by relevance

12

/haiku/src/tools/fs_shell/
H A Dunistd.cpp157 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 Datari.h50 uint8 sectors_per_track; member
88 uint16 sectors_per_track; /* LE */ member
/haiku/src/system/boot/platform/atari_m68k/
H A Ddevices.cpp49 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 Dmmc_disk.h44 return (off_t)geometry.bytes_per_sector * geometry.sectors_per_track in DeviceSize()
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dmkdos.cpp142 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 DPartitioningSystemsTest.cpp70 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 Ddevices.cpp64 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 Dmkvirtualdrive.cpp126 info.geometry.sectors_per_track = 1; in install_file()
199 * info.geometry.sectors_per_track in info_for_device()
H A Dvirtualdrive.cpp207 * 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 DDeviceOpener.cpp130 * geometry.sectors_per_track * geometry.bytes_per_sector; in GetSize()
/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDevice.cpp397 * fDeviceData.geometry.sectors_per_track in _InitPartitionData()
412 fDeviceData.geometry.sectors_per_track = 0; in _ResetGeometry()
H A DKFileDiskDevice.cpp169 geometry->sectors_per_track = 1; in GetGeometry()
/haiku/src/bin/
H A Ddriveinfo.c63 printf("sectors_per_track:\t%" B_PRIu32 "\n", geom.sectors_per_track); in dump_geom()
/haiku/headers/os/drivers/
H A DDrivers.h126 uint32 sectors_per_track; /* # sectors per track */ member
/haiku/headers/private/fs_shell/
H A Dfssh_drivers.h147 uint32_t sectors_per_track; /* # sectors per track */ member
/haiku/src/add-ons/kernel/drivers/disk/norflash/
H A Dnorflash.cpp122 deviceGeometry->sectors_per_track = info->totalsize / info->blocksize; in nor_ioctl()
/haiku/src/system/kernel/device_manager/
H A DFileDevice.cpp329 geometry.sectors_per_track = 1; in Control()
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A Dremote_disk.cpp96 geometry->sectors_per_track = 1; in GetGeometry()
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c218 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 Dkernel_interface.cpp578 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 DVolume.cpp105 size = (off_t)geometry.bytes_per_sector * geometry.sectors_per_track in Init()
/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp356 * 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 Dvirtio_block.cpp154 ", %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 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()

12