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

12

/external/grub/stage2/
H A Dbios.c34 unsigned long *heads,
39 unsigned long *heads,
96 * geometry->heads
112 head_offset = head % geometry->heads;
113 cylinder_offset = head / geometry->heads;
144 unsigned char heads;
159 geometry->heads = 1;
171 geometry->heads = cdrp.heads;
175 * geometry->heads
142 unsigned char heads; member in struct:iso_spec_packet
213 unsigned long heads; member in struct:drive_parameters
[all...]
H A Dfat.h49 __u16 heads; /* number of heads */ member in struct:fat_bpb
H A Dcommon.c284 info->drive_heads = geom.heads;
/external/grub/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...]
/external/qemu/block/
H A Dvpc.c65 uint8_t heads; member in struct:vhd_footer
179 be16_to_cpu(footer->cyls) * footer->heads * footer->secs_per_cyl;
444 * Calculates the number of cylinders, heads and sectors per cylinder
454 uint8_t* heads, uint8_t* secs_per_cyl)
463 *heads = 16;
468 *heads = (cyls_times_heads + 1023) / 1024;
470 if (*heads < 4)
471 *heads = 4;
473 if (cyls_times_heads >= (*heads * 1024) || *heads > 1
453 calculate_geometry(int64_t total_sectors, uint16_t* cyls, uint8_t* heads, uint8_t* secs_per_cyl) argument
499 uint8_t heads = 0; local
[all...]
H A Dparallels.c40 uint32_t heads; member in struct:parallels_header
/external/kernel-headers/original/linux/mtd/
H A Dnftl.h27 unsigned char heads; member in struct:NFTLrecord
/external/grub/lib/
H A Ddevice.c52 unsigned char heads; member in struct:hd_geometry
165 geom->heads = hdg.heads;
194 geom->heads = tmp;
196 geom->heads = 1;
198 geom->heads = 16;
200 geom->heads = 255;
203 / geom->heads
218 geom->heads = hdg.d_ntracks;
240 geom->heads
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Ddosio.h50 unsigned short heads; member in struct:__anon5155
H A Ddosio.c95 chs->cyl = abss / (part->sects * part->heads);
96 chs->head = (abss / part->sects) % part->heads;
293 part->heads = sec[3] + 1;
331 (part->heads * part->sects) - 1;
/external/e2fsprogs/misc/
H A Dpartinfo.c71 loc.heads, (int)loc.sectors, loc.cylinders,
/external/qemu/
H A Dblockdev.c144 int cyls, heads, secs, translation; local
177 heads = qemu_opt_get_number(opts, "heads", 0);
221 if (cyls || heads || secs) {
226 if (heads < 1 || (type == IF_IDE && heads > 16)) {
227 fprintf(stderr, "qemu: '%s' invalid physical heads number\n", buf);
239 "qemu: '%s' trans must be used with cyls,heads and secs\n",
259 if (cyls || secs || heads) {
434 bdrv_set_geometry_hint(dinfo->bdrv, cyls, heads, sec
[all...]
H A Dblock.c1173 int ret, i, heads, sectors, cylinders; local
1192 heads = p->end_head + 1;
1196 cylinders = nb_sectors / (heads * sectors);
1199 *pheads = heads;
1204 cylinders, heads, sectors);
1215 int cylinders, heads, secs; local
1220 bdrv_get_geometry_hint(bs, &cylinders, &heads, &secs);
1224 *pheads = heads;
1227 if (guess_disk_lchs(bs, &cylinders, &heads, &secs) == 0) {
1228 if (heads > 1
1271 bdrv_set_geometry_hint(BlockDriverState *bs, int cyls, int heads, int secs) argument
[all...]
H A Dvl-android.c1037 int cyls, heads, secs, translation; local
1048 "cyls", "heads", "secs", "trans",
1060 cyls = heads = secs = 0;
1140 if (get_param_value(buf, sizeof(buf), "heads", str)) {
1141 heads = strtol(buf, NULL, 0);
1148 if (cyls || heads || secs) {
1153 if (heads < 1 || heads > 16) {
1154 fprintf(stderr, "qemu: '%s' invalid physical heads number\n", str);
1166 "qemu: '%s' trans must be used with cyls,heads an
2537 int cyls, heads, secs, translation; local
[all...]
H A Dvl.c840 int cyls, heads, secs, translation; local
851 "cyls", "heads", "secs", "trans",
863 cyls = heads = secs = 0;
943 if (get_param_value(buf, sizeof(buf), "heads", str)) {
944 heads = strtol(buf, NULL, 0);
951 if (cyls || heads || secs) {
956 if (heads < 1 || heads > 16) {
957 fprintf(stderr, "qemu: '%s' invalid physical heads number\n", str);
969 "qemu: '%s' trans must be used with cyls,heads an
2072 int cyls, heads, secs, translation; local
[all...]
H A Dblock_int.h193 int cyls, heads, secs, translation; member in struct:BlockDriverState
/external/linux-tools-perf/util/
H A Devlist.h23 struct hlist_head heads[PERF_EVLIST__HLIST_SIZE]; member in struct:perf_evlist
H A Devlist.c37 INIT_HLIST_HEAD(&evlist->heads[i]);
126 hlist_add_head(&sid->node, &evlist->heads[hash]);
167 head = &evlist->heads[hash];
/external/chromium/net/disk_cache/
H A Ddisk_format.h73 CacheAddr heads[5]; member in struct:disk_cache::LruData
/external/qemu/hw/
H A Dpc.c207 int cylinders, heads, sectors; local
208 bdrv_get_geometry_hint(hd, &cylinders, &heads, &sectors);
212 rtc_set_memory(s, info_ofs + 2, heads);
215 rtc_set_memory(s, info_ofs + 5, 0xc0 | ((heads > 8) << 3));
370 int cylinders, heads, sectors, translation; local
373 <= heads <= 16, 1 <= cylinders <= 16383. The BIOS
377 bdrv_get_geometry_hint(hd_table[i], &cylinders, &heads, &sectors);
378 if (cylinders <= 1024 && heads <= 16 && sectors <= 63) {
H A Dscsi-disk.c626 int cylinders, heads, secs; local
632 bdrv_get_geometry_hint(s->bdrv, &cylinders, &heads, &secs);
636 p[5] = heads & 0xff;
657 int cylinders, heads, secs; local
666 bdrv_get_geometry_hint(s->bdrv, &cylinders, &heads, &secs);
667 p[4] = heads & 0xff;
/external/blktrace/btt/
H A Ddevs.c79 __destroy_heads(dip->heads);
134 dip->heads = dip_rb_mkhds();
/external/kernel-headers/original/linux/
H A Dhdreg.h376 unsigned char heads; member in struct:hd_geometry
451 unsigned short heads; /* Obsolete, "physical" heads */ member in struct:hd_driveid
487 unsigned short cur_heads; /* Obsolete, l heads */
/external/grub/stage1/
H A Dstage1.S73 heads: label
255 /* save number of heads */
292 divl 4(%si) /* divide by number of heads */
/external/strace/
H A Dblock.c227 tprintf(", {heads=%hhu, sectors=%hhu, "
229 geo.heads, geo.sectors,

Completed in 417 milliseconds

12