Searched refs:heads (Results 26 - 47 of 47) sorted by relevance

12

/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Data.c191 dev->heads = info16[3];
219 / dev->heads);
220 head = ((grub_uint32_t) sector / dev->sectors_per_track) % dev->heads;
224 || head > dev->heads)
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Drdb.c195 /* block list heads */
205 uint32_t rdb_Heads; /* Number of heads of the drive */
275 uint32_t de_Surfaces; /* Number of heads (surfaces) */
355 cyl_size = dev->hw_geom.sectors * dev->hw_geom.heads;
388 rdb->rdb_Heads = PED_CPU_TO_BE32 (dev->hw_geom.heads);
493 disk->dev->hw_geom.heads = PED_BE32_TO_CPU (rdb->rdb_Heads);
786 cyl = (PedSector) (dev->hw_geom.sectors * dev->hw_geom.heads);
811 partition->de_Surfaces = PED_CPU_TO_BE32(dev->hw_geom.heads);
1014 disk->dev->hw_geom.sectors * disk->dev->hw_geom.heads;
1025 PedSector cyl_size = dev->hw_geom.sectors * dev->hw_geom.heads;
[all...]
H A Dbsd.c220 label->d_ntracks = PED_CPU_TO_LE32 (dev->bios_geom.heads);
223 * dev->bios_geom.heads);
226 * dev->bios_geom.heads
H A Ddvh.c482 vh.vh_dp.dp_trks0 = PED_CPU_TO_BE16 ((short)disk->dev->bios_geom.heads);
/osnet-11/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c1166 uint32_t heads = epp->disk_geom.virt_heads; local
1169 if (lba >= heads * sectors * MAX_CYL) {
1178 cy = lba / sectors / heads;
1179 hd = lba / sectors % heads;
1192 if (lba >= heads * sectors * MAX_CYL) {
1197 cy = lba / sectors / heads;
1198 hd = lba / sectors % heads;
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2.h67 struct ext2_buffer_head *heads; member in struct:ext2_buffer_cache
/osnet-11/usr/src/grub/grub2/grub-core/boot/i386/pc/
H A Dboot.S69 heads: label
243 /* save number of heads */
282 divl 4(%si) /* divide by number of heads */
/osnet-11/usr/src/grub/grub-0.97/stage1/
H A Dstage1.S73 heads: label
255 /* save number of heads */
292 divl 4(%si) /* divide by number of heads */
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dcommon.c306 info->drive_heads = geom.heads;
H A Dboot.c964 + (((geom.heads - 1) & 0xff) << 8)
H A Dshared.h697 /* The number of heads */
698 unsigned long heads; member in struct:geometry
H A Dbuiltins.c1993 disks[current_drive].heads = num_head;
2020 geom.cylinders, geom.heads, geom.sectors,
2035 " the one of the heads, the one of the sectors and the one of the total"
3806 head = (lba / buf_geom.sectors) % buf_geom.heads;
3807 cylinder = lba / (buf_geom.sectors * buf_geom.heads);
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dmkntfs.c186 long heads; /* -H, number of heads on device */ member in struct:mkntfs_options
227 " -H, --heads NUM Specify the number of heads\n"
330 opts2->heads = -1;
350 { "heads", required_argument, NULL, 'H' },
407 if (!mkntfs_parse_long(optarg, "heads", &opts2->heads))
3263 /* If user didn't specify the number of heads, determine it now. */
3264 if (opts.heads <
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dfat.c293 fs_info->heads = geom->dev->bios_geom.heads;
H A Dresize.c679 new_fs_info->heads = fs_info->heads;
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ntfs/
H A Dntfs.c218 geom->dev->hw_geom.heads,
/osnet-11/usr/src/lib/libparted/common/libparted/arch/
H A Dsolaris.c218 dev->bios_geom.heads = 255;
223 dev->hw_geom.heads = dk_geom.dkg_nhead;
/osnet-11/usr/src/grub/grub2/util/
H A Ddeviceiter.c58 unsigned char heads; member in struct:hd_geometry
/osnet-11/usr/src/cmd/parted/
H A Dparted.c1518 chs->heads * chs->sectors,
1523 chs->cylinders, chs->heads, chs->sectors, cyl_size);
1527 chs->cylinders, chs->heads, chs->sectors, cyl_size);
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Dlayout.h60 /*0x0f*/le16 heads; /* Required to boot Windows. */ member in struct:__anon2041
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Ddisk.c172 * \warning May modify \p dev->cylinders, \p dev->heads and \p dev->sectors
378 PED_ASSERT (bios_geom->heads != 0, return NULL);
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dhostdisk.c66 unsigned char heads; member in struct:hd_geometry

Completed in 123 milliseconds

12