/external/qemu/ |
H A D | blockdev.c | 144 int cyls, heads, secs, translation; local 176 cyls = qemu_opt_get_number(opts, "cyls", 0); 221 if (cyls || heads || secs) { 222 if (cyls < 1 || (type == IF_IDE && cyls > 16383)) { 223 fprintf(stderr, "qemu: '%s' invalid physical cyls number\n", buf); 237 if (!cyls) { 239 "qemu: '%s' trans must be used with cyls,heads and secs\n", 259 if (cyls || sec [all...] |
H A D | vl-android.c | 1037 int cyls, heads, secs, translation; local 1048 "cyls", "heads", "secs", "trans", 1060 cyls = heads = secs = 0; 1136 if (get_param_value(buf, sizeof(buf), "cyls", str)) { 1137 cyls = strtol(buf, NULL, 0); 1148 if (cyls || heads || secs) { 1149 if (cyls < 1 || cyls > 16383) { 1150 fprintf(stderr, "qemu: '%s' invalid physical cyls number\n", str); 1164 if (!cyls) { 2539 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; 939 if (get_param_value(buf, sizeof(buf), "cyls", str)) { 940 cyls = strtol(buf, NULL, 0); 951 if (cyls || heads || secs) { 952 if (cyls < 1 || cyls > 16383) { 953 fprintf(stderr, "qemu: '%s' invalid physical cyls number\n", str); 967 if (!cyls) { 2072 int cyls, heads, secs, translation; local [all...] |
H A D | block_int.h | 193 int cyls, heads, secs, translation; member in struct:BlockDriverState
|
H A D | block.h | 163 int cyls, int heads, int secs);
|
H A D | block.c | 1272 int cyls, int heads, int secs) 1274 bs->cyls = cyls; 1294 *pcyls = bs->cyls; 1271 bdrv_set_geometry_hint(BlockDriverState *bs, int cyls, int heads, int secs) argument
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | dosio.h | 49 unsigned short cyls; member in struct:__anon17764
|
H A D | dosio.c | 292 part->cyls = (unsigned short)(((sec[0] >> 6) << 8) + sec[1] + 1);
|
/external/qemu/block/ |
H A D | vpc.c | 64 uint16_t cyls; member in struct:vhd_footer 179 be16_to_cpu(footer->cyls) * footer->heads * footer->secs_per_cyl; 453 static int calculate_geometry(int64_t total_sectors, uint16_t* cyls, argument 486 *cyls = cyls_times_heads / *heads; 498 uint16_t cyls = 0; local 519 for (i = 0; total_sectors > (int64_t)cyls * heads * secs_per_cyl; i++) { 521 &cyls, &heads, &secs_per_cyl)) { 525 total_sectors = (int64_t) cyls * heads * secs_per_cyl; 547 footer->cyls = be16_to_cpu(cyls); [all...] |
H A D | vvfat.c | 363 if(spos >= bs->cyls){ 1018 bs->cyls=1024; bs->heads=16; bs->secs=63; 1038 bs->cyls = 80; bs->heads = 2; bs->secs = 36; 1041 s->sector_count=bs->cyls*bs->heads*bs->secs; 1067 bs->total_sectors=bs->cyls*bs->heads*bs->secs; 1079 bs->heads = bs->cyls = bs->secs = 0;
|
/external/kernel-headers/original/linux/ |
H A D | hdreg.h | 449 unsigned short cyls; /* Obsolete, "physical" cyls */ member in struct:hd_driveid
|