/external/qemu/block/ |
D | vpc.c | 64 uint16_t cyls; member 183 be16_to_cpu(footer->cyls) * footer->heads * footer->secs_per_cyl; in vpc_open() 440 static int calculate_geometry(int64_t total_sectors, uint16_t* cyls, in calculate_geometry() argument 475 *cyls = (cyls_times_heads + *heads - 1) / *heads; in calculate_geometry() 487 uint16_t cyls; in vpc_create() local 507 if (calculate_geometry(total_sectors, &cyls, &heads, &secs_per_cyl)) in vpc_create() 509 total_sectors = (int64_t) cyls * heads * secs_per_cyl; in vpc_create() 531 footer->cyls = be16_to_cpu(cyls); in vpc_create()
|
D | vvfat.c | 363 if(spos >= bs->cyls){ in sector2CHS() 1017 bs->cyls=1024; bs->heads=16; bs->secs=63; in vvfat_open() 1037 bs->cyls = 80; bs->heads = 2; bs->secs = 36; in vvfat_open() 1040 s->sector_count=bs->cyls*bs->heads*bs->secs; in vvfat_open() 1066 bs->total_sectors=bs->cyls*bs->heads*bs->secs; in vvfat_open() 1078 bs->heads = bs->cyls = bs->secs = 0; in vvfat_open()
|
/external/e2fsprogs/lib/ext2fs/ |
D | dosio.h | 45 unsigned short cyls; member
|
D | dosio.c | 289 part->cyls = (unsigned short)(((sec[0] >> 6) << 8) + sec[1] + 1); in dos_open()
|
/external/qemu/ |
D | vl.c | 2241 int cyls, heads, secs, translation; in drive_init() local 2264 cyls = heads = secs = 0; in drive_init() 2341 cyls = strtol(buf, NULL, 0); in drive_init() 2352 if (cyls || heads || secs) { in drive_init() 2353 if (cyls < 1 || cyls > 16383) { in drive_init() 2368 if (!cyls) { in drive_init() 2390 if (cyls || secs || heads) { in drive_init() 2543 if (cyls != 0) { in drive_init() 2544 bdrv_set_geometry_hint(bdrv, cyls, heads, secs); in drive_init() 4988 int cyls, heads, secs, translation; in main() local [all …]
|
D | vl-android.c | 2162 int cyls, heads, secs, translation; in drive_init() local 2185 cyls = heads = secs = 0; in drive_init() 2262 cyls = strtol(buf, NULL, 0); in drive_init() 2273 if (cyls || heads || secs) { in drive_init() 2274 if (cyls < 1 || cyls > 16383) { in drive_init() 2289 if (!cyls) { in drive_init() 2311 if (cyls || secs || heads) { in drive_init() 2464 if (cyls != 0) { in drive_init() 2465 bdrv_set_geometry_hint(bdrv, cyls, heads, secs); in drive_init() 4924 int cyls, heads, secs, translation; in main() local [all …]
|
D | block_int.h | 157 int cyls, heads, secs, translation; member
|
D | block.h | 113 int cyls, int heads, int secs);
|
D | block.c | 868 int cyls, int heads, int secs) in bdrv_set_geometry_hint() argument 870 bs->cyls = cyls; in bdrv_set_geometry_hint() 890 *pcyls = bs->cyls; in bdrv_get_geometry_hint()
|
D | qemu-monitor.hx | 499 "[,cyls=c,heads=h,secs=s[,trans=t]]\n"
|
D | qemu-options.hx | 93 " [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]\n" 117 @item cyls=@var{c},heads=@var{h},secs=@var{s}[,trans=@var{t}]
|
/external/kernel-headers/original/linux/ |
D | hdreg.h | 449 unsigned short cyls; /* Obsolete, "physical" cyls */ member
|