Home
last modified time | relevance | path

Searched refs:cyls (Results 1 – 12 of 12) sorted by relevance

/external/qemu/block/
Dvpc.c64 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()
Dvvfat.c363 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/
Ddosio.h45 unsigned short cyls; member
Ddosio.c289 part->cyls = (unsigned short)(((sec[0] >> 6) << 8) + sec[1] + 1); in dos_open()
/external/qemu/
Dvl.c2241 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 …]
Dvl-android.c2162 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 …]
Dblock_int.h157 int cyls, heads, secs, translation; member
Dblock.h113 int cyls, int heads, int secs);
Dblock.c868 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()
Dqemu-monitor.hx499 "[,cyls=c,heads=h,secs=s[,trans=t]]\n"
Dqemu-options.hx93 " [,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/
Dhdreg.h449 unsigned short cyls; /* Obsolete, "physical" cyls */ member