/external/grub/stage2/ |
H A D | bios.c | 34 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 D | fat.h | 49 __u16 heads; /* number of heads */ member in struct:fat_bpb
|
H A D | common.c | 284 info->drive_heads = geom.heads;
|
/external/grub/util/ |
H A D | mkbimage | 41 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 D | vpc.c | 65 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 D | parallels.c | 40 uint32_t heads; member in struct:parallels_header
|
/external/kernel-headers/original/linux/mtd/ |
H A D | nftl.h | 27 unsigned char heads; member in struct:NFTLrecord
|
/external/grub/lib/ |
H A D | device.c | 52 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 D | dosio.h | 46 unsigned short heads; member in struct:__anon4124
|
H A D | dosio.c | 92 chs->cyl = abss / (part->sects * part->heads); 93 chs->head = (abss / part->sects) % part->heads; 290 part->heads = sec[3] + 1; 328 (part->heads * part->sects) - 1;
|
/external/e2fsprogs/misc/ |
H A D | partinfo.c | 71 loc.heads, (int)loc.sectors, loc.cylinders,
|
/external/qemu/ |
H A D | blockdev.c | 144 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 D | block.c | 1173 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 D | vl-android.c | 1033 int cyls, heads, secs, translation; local 1044 "cyls", "heads", "secs", "trans", 1056 cyls = heads = secs = 0; 1136 if (get_param_value(buf, sizeof(buf), "heads", str)) { 1137 heads = strtol(buf, NULL, 0); 1144 if (cyls || heads || secs) { 1149 if (heads < 1 || heads > 16) { 1150 fprintf(stderr, "qemu: '%s' invalid physical heads number\n", str); 1162 "qemu: '%s' trans must be used with cyls,heads an 2524 int cyls, heads, secs, translation; local [all...] |
H A D | vl.c | 840 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 D | block_int.h | 193 int cyls, heads, secs, translation; member in struct:BlockDriverState
|
/external/chromium/net/disk_cache/ |
H A D | disk_format.h | 73 CacheAddr heads[5]; member in struct:disk_cache::LruData
|
/external/qemu/hw/ |
H A D | pc.c | 207 int cylinders, heads, sectors; local 208 bdrv_get_geometry_hint(hd, &cylinders, &heads, §ors); 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, §ors); 378 if (cylinders <= 1024 && heads <= 16 && sectors <= 63) {
|
H A D | scsi-disk.c | 626 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 D | devs.c | 79 __destroy_heads(dip->heads); 134 dip->heads = dip_rb_mkhds();
|
H A D | globals.h | 132 void *heads; member in struct:d_info
|
/external/kernel-headers/original/linux/ |
H A D | hdreg.h | 376 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 D | stage1.S | 73 heads: label 255 /* save number of heads */ 292 divl 4(%si) /* divide by number of heads */
|
/external/qemu-pc-bios/bochs/bios/ |
H A D | rombios.c | 629 Bit16u heads; // # heads member in struct:__anon8824 758 Bit32u heads; member in struct:__anon8832 2401 write_word(ebda_seg,&EbdaData->ata.devices[device].lchs.heads,0); 2404 write_word(ebda_seg,&EbdaData->ata.devices[device].pchs.heads,0); 2572 Bit16u cylinders, heads, spt, blksize; local 2587 heads = read_word(get_SS(),buffer+(3*2)); // word 3 2602 write_word(ebda_seg,&EbdaData->ata.devices[device].pchs.heads, heads); 2607 BX_INFO("ata%d-%d: PCHS=%u/%d/%d translation=", channel, slave,cylinders, heads, sp 5809 Bit16u cylinders, heads, spt, blksize; local 8806 ;; 1d heads 2 local 8809 ;; 20 retries/bad map/heads>8 8 local 8910 mov (0x003d + 0x02), cl ;; number of physical heads local 8952 ;; 0x26 heads 2 local 8955 ;; 0x29 heads>8 8 local 9054 mov (0x004d + 0x02), cl ;; number of physical heads local [all...] |
/external/blktrace/ |
H A D | blktrace.c | 107 struct tracer_devpath_head *heads; member in struct:devpath 1136 for (cpu = 0, hd = dpp->heads; cpu < ncpus; cpu++, hd++) { 1142 free(dpp->heads); 1158 dpp->heads = calloc(ncpus, sizeof(struct tracer_devpath_head)); 1159 for (cpu = 0, hd = dpp->heads; cpu < ncpus; cpu++, hd++) { 1173 struct tracer_devpath_head *hd = &dpp->heads[cpu]; 1246 if (dpp->heads) 1396 struct tracer_devpath_head *hd = dpp->heads;
|