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

12

/osnet-11/usr/src/grub/grub2/include/grub/powerpc/ieee1275/
H A Dbiosdisk.h28 unsigned long heads; member in struct:grub_biosdisk_data
40 unsigned long *heads,
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dbios.c34 unsigned long *heads,
39 unsigned long *heads,
102 * geometry->heads
117 head_offset = head % geometry->heads;
118 cylinder_offset = head / geometry->heads;
149 unsigned char heads;
164 geometry->heads = 1;
176 geometry->heads = cdrp.heads;
180 * geometry->heads
147 unsigned char heads; member in struct:iso_spec_packet
237 unsigned long heads; member in struct:drive_parameters
[all...]
H A Dfat.h49 __u16 heads; /* number of heads */ member in struct:fat_bpb
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Ddevice_io.h44 unsigned char heads; member in struct:hd_geometry
/osnet-11/usr/src/grub/grub2/include/grub/i386/pc/
H A Dbiosdisk.h40 unsigned long heads; member in struct:grub_biosdisk_data
51 grub_uint32_t heads; member in struct:grub_biosdisk_drp
95 grub_uint8_t heads; member in struct:grub_biosdisk_cdrp
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2_buffer.c57 bh = &bc->heads[i];
70 bh = &bc->heads[i];
102 bh = &bc->heads[i];
114 bh = &bc->heads[i];
236 free(fs->bc->heads);
317 if ((bc->heads = (struct ext2_buffer_head *) ped_malloc(size * sizeof(struct ext2_buffer_head))) == NULL)
322 free(bc->heads);
330 free(bc->heads);
335 bc->cache = &bc->heads[0];
342 bc->heads[
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/partmap/
H A Dacorn.c67 unsigned int heads; local
86 heads = (boot.disc_record.heads
88 sectors_per_cylinder = boot.disc_record.secspertrack * heads;
H A Damiga.c62 grub_uint32_t heads; member in struct:grub_amiga_partition
137 * grub_be_to_cpu32 (apart.heads)
141 * grub_be_to_cpu32 (apart.heads)
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dacorn_filecore.h28 grub_uint8_t heads; member in struct:grub_filecore_disc_record
H A Data.h177 grub_uint16_t heads; member in struct:grub_ata
/osnet-11/usr/src/grub/grub-0.97/util/
H A Dmkbimage41 heads=
293 hd) heads=16;
301 heads=2;
306 heads=2;
311 heads=2;
317 heads=2;
322 heads=2;
327 heads=2;
346 sfdisk -C $cylinders -H $heads -S $sectors -D $image<<EOT
387 geometry $device $cylinders $heads
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dbootsector.c150 fs_info->heads = PED_LE16_TO_CPU (bs->heads);
152 || fs_info->heads < 1 || fs_info->heads > 255) {
156 if (fs_info->heads > 0 && fs_info->sectors_per_track > 0)
157 cyl_count = fs->geom->dev->length / fs_info->heads
171 cyl_count, fs_info->heads, fs_info->sectors_per_track,
172 bios_geom->cylinders, bios_geom->heads,
177 fs_info->heads = bios_geom->heads;
[all...]
H A Dbootsector.h81 uint16_t heads; /* 1a: number of heads */ member in struct:_FatBootSector
H A Dfat.h98 int heads; /* BIOS CHS stuff (H) */ member in struct:_FatSpecific
/osnet-11/usr/src/lib/libparted/common/libparted/
H A Dunit.c116 PedSector cyl_size = dev->bios_geom.heads * dev->bios_geom.sectors;
207 sector / chs->sectors / chs->heads,
208 (sector / chs->sectors) % chs->heads,
371 PedSector cyl_size = dev->bios_geom.heads * dev->bios_geom.sectors;
381 &chs.cylinders, &chs.heads, &chs.sectors) != 3) {
389 if (chs.heads >= dev->bios_geom.heads) {
393 dev->bios_geom.heads - 1);
405 + chs.heads * dev->bios_geom.sectors
/osnet-11/usr/src/grub/grub2/grub-core/disk/i386/pc/
H A Dbiosdisk.c177 unsigned long *heads,
199 /* the number of heads is counted from zero */
200 *heads = ((regs.edx >> 8) & 0xff) + 1;
384 total_sectors = drp->cylinders * drp->heads * drp->sectors;
402 &data->heads,
408 data->heads = 255;
411 + data->heads * data->sectors - 1,
412 data->heads * data->sectors, 0);
422 total_sectors = data->cylinders * data->heads * data->sectors;
482 disk->total_sectors = data->cylinders * data->heads * dat
175 grub_biosdisk_get_diskinfo_standard(int drive, unsigned long *cylinders, unsigned long *heads, unsigned long *sectors) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Ddevice.c52 unsigned char heads; member in struct:hd_geometry
169 geom->heads = hdg.heads;
198 geom->heads = tmp;
200 geom->heads = 1;
202 geom->heads = 16;
204 geom->heads = 255;
207 / geom->heads
222 geom->heads = hdg.d_ntracks;
237 geom->heads
[all...]
/osnet-11/usr/src/tools/onbld/Scm/
H A DWorkSpace.py500 current branch, if no heads are determined to be outgoing, it
512 heads = self.repo.heads(start=wctx.parents()[0].node())
513 headctxs = [self.repo.changectx(n) for n in heads]
518 if len(heads) > 1:
524 def _parenttip(self, heads, outgoing):
526 an ancestor of a changeset in heads.
553 ptips = map(lambda x: tipmost_shared(x, nodes), heads)
633 heads = localtip.parents()
635 heads
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Ddos.c360 return (c * bios_geom->heads + h) * bios_geom->sectors + s;
375 real_c = sector / (bios_geom->heads * bios_geom->sectors);
376 real_h = (sector / bios_geom->sectors) % bios_geom->heads;
381 real_h = bios_geom->heads - 1;
483 int heads; local
514 heads = buf[0x1a] + (buf[0x1b] << 8);
518 if (heads > 255 || heads < 1)
522 bios_geom->heads = heads;
575 PedSector cylinders, heads, sectors; local
[all...]
H A Dsun.c195 PedSector cyl_size = bios_geom->sectors * bios_geom->heads;
222 label->ntrks = PED_CPU_TO_BE16 (bios_geom->heads);
318 PED_BE16_TO_CPU(label->ntrks) == dev->hw_geom.heads)
327 PED_BE16_TO_CPU(label->ntrks) != dev->bios_geom.heads) {
337 dev->bios_geom.heads,
346 dev->bios_geom.heads = PED_BE16_TO_CPU(label->ntrks);
349 if (dev->bios_geom.sectors * dev->bios_geom.heads
394 block = disk->dev->bios_geom.sectors * disk->dev->bios_geom.heads;
508 * disk->dev->bios_geom.heads));
517 sanity checked the sectors/heads whe
[all...]
H A Dpc98.c163 || raw_part->ipl_head >= dev->hw_geom.heads
164 || raw_part->head >= dev->hw_geom.heads
165 || raw_part->end_head >= dev->hw_geom.heads
257 return (c * dev->hw_geom.heads + h) * dev->hw_geom.sectors + s;
270 cyl_size = dev->hw_geom.heads * dev->hw_geom.sectors;
296 disk->dev->hw_geom.heads - 1,
467 if (h != part->disk->dev->hw_geom.heads - 1
718 disk->dev->hw_geom.sectors * disk->dev->hw_geom.heads;
732 cylinder_size = dev->hw_geom.sectors * dev->hw_geom.heads;
810 cyl_size = disk->dev->hw_geom.sectors * disk->dev->hw_geom.heads;
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dgptsync.c44 int sectors = 63, heads = 255, cylinders = 1024; local
47 head = (lba / sectors) % heads;
48 cylinder = lba / (sectors * heads);
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Ddevice.h65 int heads; member in struct:_PedCHSGeometry
/osnet-11/usr/src/tools/onbld/hgext/
H A Dcdm.py673 ui.write('Checking for multiple heads (or branches):\n')
675 heads = set(repo.heads())
679 # We care if there's more than one head, and those heads aren't
684 if len(heads) > 1 and heads != parents:
685 ui.write('Workspace has multiple heads (or branches):\n')
686 for head in [repo.changectx(head) for head in heads]:
948 one outgoing head, even if those heads are on the same branch. To
957 changes, applied Mq patches, or has multiple outgoing heads (o
[all...]
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Ddevice.c656 * ntfs_device_heads_get - get number of heads of device
659 * On success, return the number of heads on the device @dev. On error return
677 ntfs_log_debug("HDIO_GETGEO heads = %u (0x%x)\n",
678 (unsigned)geo.heads,
679 (unsigned)geo.heads);
680 return geo.heads;

Completed in 131 milliseconds

12