/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device_io.h | 44 unsigned char heads; member in struct:hd_geometry
|
H A D | device.c | 667 * ntfs_device_heads_get - get number of heads of device 670 * On success, return the number of heads on the device @dev. On error return 688 ntfs_log_debug("HDIO_GETGEO heads = %u (0x%x)\n", 689 (unsigned)geo.heads, 690 (unsigned)geo.heads); 691 return geo.heads;
|
H A D | layout.h | 59 /*0x0f*/u16 heads; /* Required to boot Windows. */ member in struct:__anon2335
|
H A D | win32_io.c | 443 * In Windows NT+: fills size, sectors, and cylinders and sets heads to -1. 444 * In Windows XP+: fills size, sectors, cylinders, and heads. 449 * If fails, sets sectors, cylinders, heads, and size to -1. 1370 argp->heads = fd->geo_heads;
|
/haiku-fatelf/src/system/kernel/disk_device_manager/ |
H A D | KFileDiskDevice.cpp | 171 uint32 heads = (blocks + ULONG_MAX - 1) / ULONG_MAX; local 172 if (heads == 0) 173 heads = 1; 176 geometry->cylinder_count = blocks / heads; 177 geometry->head_count = heads;
|
/haiku-fatelf/src/tools/anyboot/ |
H A D | anyboot.cpp | 66 uint32_t heads = 0; local 77 heads = temp++; 79 sectors = offset - (sectorsPerTrack * heads) + 1; 81 address[0] = heads;
|
/haiku-fatelf/src/tools/fs_shell/ |
H A D | unistd.cpp | 175 uint32_t heads = (blocks + ULONG_MAX - 1) local 177 if (heads == 0) 178 heads = 1; 180 geometry->head_count = heads; 181 geometry->cylinder_count = blocks / heads; 185 if (hdGeometry.heads == 0) { 188 off_t bytesPerCylinder = (off_t)hdGeometry.heads 193 geometry->head_count = hdGeometry.heads;
|
/haiku-fatelf/src/system/kernel/device_manager/ |
H A D | FileDevice.cpp | 260 uint32 heads = (blocks + 0xfffffffe) / 0xffffffff; local 261 if (heads == 0) 262 heads = 1; 267 geometry.cylinder_count = blocks / heads; 268 geometry.head_count = heads;
|
/haiku-fatelf/src/tests/kits/storage/virtualdrive/ |
H A D | mkvirtualdrive.cpp | 122 uint32 heads = (blocks + ULONG_MAX - 1) / ULONG_MAX; local 123 if (heads == 0) 124 heads = 1; 127 info.geometry.cylinder_count = blocks / heads; 128 info.geometry.head_count = heads;
|
H A D | virtualdrive.cpp | 226 uint32 heads = (blocks + ULONG_MAX - 1) / ULONG_MAX; local 227 if (heads == 0) 228 heads = 1; 231 info.geometry.cylinder_count = blocks / heads; 232 info.geometry.head_count = heads;
|
/haiku-fatelf/src/tools/vmdkimage/ |
H A D | vmdkimage.cpp | 284 uint64_t heads; local 289 heads = 16; 290 cylinders = imageSize / (sectors * heads * 512); 293 heads *= 2; 295 off_t actualImageSize = (off_t)cylinders * sectors * heads * 512; 359 "ddb.geometry.heads = \"%llu\"\n" 361 (unsigned long long)sectors, (unsigned long long)heads,
|
/haiku-fatelf/src/tests/add-ons/kernel/partitioning_systems/ |
H A D | PartitioningSystemsTest.cpp | 64 uint32 heads = (blocks + ULONG_MAX - 1) / ULONG_MAX; local 65 if (heads == 0) 66 heads = 1; 69 device->geometry.cylinder_count = blocks / heads; 70 device->geometry.head_count = heads;
|
/haiku-fatelf/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 48 uint32 heads; member in struct:drive_parameters 225 parameters->heads = ((regs.edx >> 8) & 0xff) + 1; 226 // heads and cylinders start counting from 0 228 parameters->sectors = parameters->cylinders * parameters->heads 711 fParameters.heads = 2; 717 parameters->heads = 2; 718 parameters->sectors = parameters->cylinders * parameters->heads 730 TRACE((" cylinders: %lu, heads: %lu, sectors: %lu, bytes_per_sector: %u\n", 731 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, 744 TRACE(("cylinders: %lu, heads 828 int heads = fParameters.heads; local [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/ide/ |
H A D | ide_device_infoblock.h | 57 uint16 heads; // 6 member in struct:tagdevice_infoblock
|
H A D | ata.c | 743 infoblock->current_heads = infoblock->heads;
|
/haiku-fatelf/src/libs/ncurses/progs/ |
H A D | infocmp.c | 805 ENTRY *heads[MAXCOMPARE]; local 838 heads[filecount] = _nc_head; 847 for (qp = heads[0]; qp; qp = qp->next) { 848 for (rp = heads[1]; rp; rp = rp->next) 864 for (qp = heads[0]; qp; qp = qp->next) { 879 for (rp = heads[1]; rp; rp = rp->next) { 895 for (qp = heads[0]; qp; qp = qp->next) 901 for (rp = heads[1]; rp; rp = rp->next) 907 for (qp = heads[0]; qp; qp = qp->next) { 931 for (qp = heads[ [all...] |
/haiku-fatelf/src/system/boot/platform/bios_ia32/ |
H A D | devices.cpp | 64 uint32 heads; member in struct:drive_parameters 259 parameters->heads = ((regs.edx >> 8) & 0xff) + 1; 260 // heads and cylinders start counting from 0 262 parameters->sectors = parameters->cylinders * parameters->heads 558 TRACE((" cylinders: %lu, heads: %lu, sectors: %lu, bytes_per_sector: %u\n", 559 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, 572 TRACE(("cylinders: %lu, heads: %lu, sectors: %lu, bytes_per_sector: %u\n", 573 fParameters.cylinders, fParameters.heads, fParameters.sectors_per_track, 645 uint32 cylinder = head / fParameters.heads; 646 head %= fParameters.heads; [all...] |
H A D | stage1.S | 417 ; compute heads and cylinders
|
/haiku-fatelf/src/add-ons/kernel/partitioning_systems/amiga/ |
H A D | amiga_rdb.h | 21 /* block list heads */ 34 uint32 heads; member in struct:rigid_disk_block
|
/haiku-fatelf/src/bin/ideinfo/ |
H A D | ideinfo.c | 123 capacity = (ide_info.cylinders * ide_info.heads *
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/ |
H A D | sysdep.c | 404 off_t bytesPerCylinder = (off_t)hdGeometry.heads 409 geometry->head_count = hdGeometry.heads;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | mkntfs.c | 200 long heads; /* -H, number of heads on device */ member in struct:mkntfs_options 401 opts2->heads = -1; 3303 /* If user didn't specify the number of heads, determine it now. */ 3304 if (opts.heads < 0) { 3305 opts.heads = ntfs_device_heads_get(vol->dev); 3306 if (opts.heads < 0) { 3307 ntfs_log_warning("The number of heads was not " 3311 opts.heads = 0; 3313 } else if (opts.heads > 6553 [all...] |
/haiku-fatelf/data/etc/bash_completion.d/ |
H A D | git | 315 printf "${1:- (%s)}" "$c${b##refs/heads/}${f:+ $f}$r$p" 516 refs/heads 523 n,refs/heads/*) is_hash=y; echo "${i#refs/heads/}" ;; 568 refs="refs/tags refs/heads refs/remotes" 595 n,refs/heads/*) is_hash=y; echo "${i#refs/heads/}" ;; 617 n,refs/heads/*) 619 echo "$i:refs/remotes/$1/${i#refs/heads/}" 1175 __gitcomp "create list-heads verif [all...] |
/haiku-fatelf/src/bin/makebootable/platform/bios_ia32/ |
H A D | makebootable.cpp | 501 deviceSize = (int64)geometry.heads * geometry.sectors
|